public class NewUserPermissionEvent extends AdminEvent
Event.NonVetoable| Constructor and Description |
|---|
NewUserPermissionEvent(IEventListener source)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAccessType()
Get the access type of the permission just added.
|
long |
getResourceId()
Get the resource id associated with the new permission created.
|
int |
getResourceType()
Get the resource type of the resource associated with the new permission created.
|
void |
setAccessType(int accessType)
Set the access type of the permission just added.
|
void |
setResourceId(long resourceId)
Set the resource id associated with the new permission created.
|
void |
setResourceType(int resourceType)
Get the resource type of the resource id associated with the new permission created.
|
getLogin, getUserId, setLogin, setUserIdpublic NewUserPermissionEvent(IEventListener source)
source - The event source.public long getResourceId()
public void setResourceId(long resourceId)
resourceId - Id of the resourcepublic int getResourceType()
public void setResourceType(int resourceType)
resourceType - The resource typepublic int getAccessType()
public void setAccessType(int accessType)
accessType - The access typeBuilt on July 29 2025