|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.objectplanet.survey.event.Event com.objectplanet.survey.event.events.AdminEvent com.objectplanet.survey.event.events.NewUserPermissionEvent
public class NewUserPermissionEvent
NOT YET USED. Represents an event that is fired when a new permission is added for a user.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.objectplanet.survey.event.Event |
---|
Event.NonVetoable |
Constructor Summary | |
---|---|
NewUserPermissionEvent(IEventListener source)
Constructor |
Method Summary | |
---|---|
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. |
Methods inherited from class com.objectplanet.survey.event.events.AdminEvent |
---|
getLogin, getUserId, setLogin, setUserId |
Methods inherited from class com.objectplanet.survey.event.Event |
---|
getSource, isVetoed, paramString, toString, veto |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NewUserPermissionEvent(IEventListener source)
source
- The event source.Method Detail |
---|
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 type
|
Copyright ? ObjectPlanet Inc. All Rights Reserved. | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |