Tree PREV CLASS NEXT CLASS SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD com.ibm.portal.pcm.ac
Interface PCMPermissionAccess
public interface PCMPermissionAccessInterface that performs access control checks in order to check whether a user is allowed to perform certain operations with respect to dialogs.
- Since:
- 8.0.0
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 idboolean canDeleteDialogDefinition(ObjectID aDialogDefinitionObjectID, ObjectID aUserObjectID)
This method checks whether the given user is allowed to delete the dialog definition with the given object idboolean canEditDialogDefinition(ObjectID aDialogDefinitionObjectID)
This method checks whether the current user is allowed to edit the dialog definition with the given object idboolean canEditDialogDefinition(ObjectID aDialogDefinitionObjectID, ObjectID aUserObjectID)
This method checks whether the given user is allowed to edit the dialog definition with the given object idboolean canViewDialogDefinition(ObjectID aDialogDefinitionObjectID)
This method checks whether the current user is allowed to view the dialog definition with the given object idboolean 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 canCreateDialogDefinition
boolean canCreateDialogDefinition() throws PCMPermissionAccessException
- This method checks whether the current user is allowed to create new dialog definitions.
- Returns:
- true if the current user may create dialog definitions
- Throws:
- PCMPermissionAccessException
canCreateDialogDefinition
boolean canCreateDialogDefinition(ObjectID aUserObjectID) throws PCMPermissionAccessException
- This method checks whether the given user is allowed to create new dialog definitions.
- Parameters:
- aUserObjectID - the objectid of the user to check permissions for
- Returns:
- true if the given user may create dialog definitions
- Throws:
- PCMPermissionAccessException
canEditDialogDefinition
boolean canEditDialogDefinition(ObjectID aDialogDefinitionObjectID) throws PCMPermissionAccessException
- This method checks whether the current user is allowed to edit the dialog definition with the given object id
- Parameters:
- aDialogDefinitionObjectID -
- Returns:
- true if the current user is allowed to edit the dialog with the given object id
- Throws:
- PCMPermissionAccessException
canEditDialogDefinition
boolean canEditDialogDefinition(ObjectID aDialogDefinitionObjectID, ObjectID aUserObjectID) throws PCMPermissionAccessException
- This method checks whether the given user is allowed to edit the dialog definition with the given object id
- Parameters:
- aDialogDefinitionObjectID -
- aUserObjectID - the objectid of the user to check permissions for
- Returns:
- true if the given user is allowed to edit the dialog with the given object id
- Throws:
- PCMPermissionAccessException
canDeleteDialogDefinition
boolean canDeleteDialogDefinition(ObjectID aDialogDefinitionObjectID) throws PCMPermissionAccessException
- This method checks whether the current user is allowed to delete the dialog definition with the given object id
- Parameters:
- aDialogDefinitionObjectID -
- Returns:
- true if the current user is allowed to delete the dialog with the given object id
- Throws:
- PCMPermissionAccessException
canDeleteDialogDefinition
boolean canDeleteDialogDefinition(ObjectID aDialogDefinitionObjectID, ObjectID aUserObjectID) throws PCMPermissionAccessException
- This method checks whether the given user is allowed to delete the dialog definition with the given object id
- Parameters:
- aDialogDefinitionObjectID -
- aUserObjectID - the object id of the user to check permissions for
- Returns:
- true if the given user is allowed to delete the dialog with the given object id
- Throws:
- PCMPermissionAccessException
canViewDialogDefinition
boolean canViewDialogDefinition(ObjectID aDialogDefinitionObjectID) throws PCMPermissionAccessException
- This method checks whether the current user is allowed to view the dialog definition with the given object id
- Parameters:
- aDialogDefinitionObjectID -
- Returns:
- true if the current user is allowed to view the dialog with the given object id
- Throws:
- PCMPermissionAccessException
canViewDialogDefinition
boolean canViewDialogDefinition(ObjectID aDialogDefinitionObjectID, ObjectID aUserObjectID) throws PCMPermissionAccessException
- This method checks whether the given user is allowed to view the dialog definition with the given object id
- Parameters:
- aDialogDefinitionObjectID -
- aUserObjectID - the object id of the user to check permissions for
- Returns:
- true if the current user is allowed to view the dialog with the given object id
- Throws:
- PCMPermissionAccessException
Tree PREV CLASS NEXT CLASS SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD