Class ExamProfileAccessControl
java.lang.Object
org.deltava.security.command.AccessControl
org.deltava.security.command.ExamProfileAccessControl
- All Implemented Interfaces:
- Serializable
An Access Controller for Examination Profiles.
- Since:
- 1.0
- Version:
- 9.1
- Author:
- Luke
- See Also:
- 
Field SummaryFields inherited from class org.deltava.security.command.AccessControl_ctx
- 
Constructor SummaryConstructorsConstructorDescriptionInitialize the Access Controller.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanReturns if a new Examination Profile can be created.booleanReturns if the profile can be deleted.booleanReturns if the profile can be edited.booleanReturns if the profile can be viewed.voidvalidate()Calculates access control rightsMethods inherited from class org.deltava.security.command.AccessControlvalidateContext
- 
Constructor Details- 
ExamProfileAccessControlInitialize the Access Controller.- Parameters:
- ctx- the Security Context
- ep- the Examination profile bean
 
 
- 
- 
Method Details- 
validatepublic void validate()Description copied from class:AccessControlCalculates access control rights- Specified by:
- validatein class- AccessControl
 
- 
getCanReadpublic boolean getCanRead()Returns if the profile can be viewed.- Returns:
- TRUE if it can be viewed, otherwise FALSE
 
- 
getCanEditpublic boolean getCanEdit()Returns if the profile can be edited.- Returns:
- TRUE if it can be edited, otherwise FALSE
 
- 
getCanCreatepublic boolean getCanCreate()Returns if a new Examination Profile can be created.- Returns:
- TRUE if it can be created, otherwise FALSE
 
- 
getCanDeletepublic boolean getCanDelete()Returns if the profile can be deleted.- Returns:
- TRUE if it can be deleted, otherwise FALSE
 
 
-