|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PCMPermissionAccess
Interface that performs access control checks in order to check whether a user is allowed to perform certain operations with respect to dialogs.
Method Summary | |
---|---|
boolean |
canCreateDialogDefinition()
This method checks whether the current user is allowed to create new dialog definitions. |
boolean |
canCreateDialogDefinition(ObjectID aUserObjectID)
This method checks whether the given user is allowed to create new dialog definitions. |
boolean |
canDeleteDialogDefinition(ObjectID aDialogDefinitionObjectID)
This method checks whether the current user is allowed to delete the dialog definition with the given object id |
boolean |
canDeleteDialogDefinition(ObjectID aDialogDefinitionObjectID,
ObjectID aUserObjectID)
This method checks whether the given user is allowed to delete the dialog definition with the given object id |
boolean |
canEditDialogDefinition(ObjectID aDialogDefinitionObjectID)
This method checks whether the current user is allowed to edit the dialog definition with the given object id |
boolean |
canEditDialogDefinition(ObjectID aDialogDefinitionObjectID,
ObjectID aUserObjectID)
This method checks whether the given user is allowed to edit the dialog definition with the given object id |
boolean |
canViewDialogDefinition(ObjectID aDialogDefinitionObjectID)
This method checks whether the current user is allowed to view the dialog definition with the given object id |
boolean |
canViewDialogDefinition(ObjectID aDialogDefinitionObjectID,
ObjectID aUserObjectID)
This method checks whether the given user is allowed to view the dialog definition with the given object id |
Method Detail |
---|
boolean canCreateDialogDefinition() throws PCMPermissionAccessException
PCMPermissionAccessException
boolean canCreateDialogDefinition(ObjectID aUserObjectID) throws PCMPermissionAccessException
aUserObjectID
- the objectid of the user to check permissions for
PCMPermissionAccessException
boolean canEditDialogDefinition(ObjectID aDialogDefinitionObjectID) throws PCMPermissionAccessException
aDialogDefinitionObjectID
-
PCMPermissionAccessException
boolean canEditDialogDefinition(ObjectID aDialogDefinitionObjectID, ObjectID aUserObjectID) throws PCMPermissionAccessException
aDialogDefinitionObjectID
- aUserObjectID
- the objectid of the user to check permissions for
PCMPermissionAccessException
boolean canDeleteDialogDefinition(ObjectID aDialogDefinitionObjectID) throws PCMPermissionAccessException
aDialogDefinitionObjectID
-
PCMPermissionAccessException
boolean canDeleteDialogDefinition(ObjectID aDialogDefinitionObjectID, ObjectID aUserObjectID) throws PCMPermissionAccessException
aDialogDefinitionObjectID
- aUserObjectID
- the object id of the user to check permissions for
PCMPermissionAccessException
boolean canViewDialogDefinition(ObjectID aDialogDefinitionObjectID) throws PCMPermissionAccessException
aDialogDefinitionObjectID
-
PCMPermissionAccessException
boolean canViewDialogDefinition(ObjectID aDialogDefinitionObjectID, ObjectID aUserObjectID) throws PCMPermissionAccessException
aDialogDefinitionObjectID
- aUserObjectID
- the object id of the user to check permissions for
PCMPermissionAccessException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |