Class NeverPermittedContentPermission
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.confluence.core.ConfluenceEntityObject
com.atlassian.confluence.security.ContentPermission
com.atlassian.confluence.security.NeverPermittedContentPermission
- All Implemented Interfaces:
 Serializable,Cloneable,Comparable<ContentPermission>
- See Also:
 
- 
Field Summary
Fields inherited from class com.atlassian.confluence.security.ContentPermission
EDIT_PERMISSION, EXPORT_PERMISSION, SHARED_PERMISSION, VIEW_PERMISSION - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleangetType()inthashCode()booleanbooleanisPermitted(com.atlassian.user.User user) Determine if a user is locked out by the permission.booleanMethods inherited from class com.atlassian.confluence.security.ContentPermission
compareTo, createGroupPermission, createUserPermission, createUserPermission, getGroupName, getOwningSet, getUserName, getUserSubject, isValid, setOwningSet, setSubject, toStringMethods inherited from class com.atlassian.confluence.core.ConfluenceEntityObject
getCreator, getCreatorName, getLastModifier, getLastModifierName, getRealClass, isPersistent, setCreator, setCreatorName, setLastModifier, setLastModifierNameMethods inherited from class com.atlassian.core.bean.EntityObject
clone, getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDate 
- 
Constructor Details
- 
NeverPermittedContentPermission
 
 - 
 - 
Method Details
- 
isPermitted
public boolean isPermitted(com.atlassian.user.User user) Description copied from class:ContentPermissionDetermine if a user is locked out by the permission. Note, this does not take into account if the user has a general ability to override a lock (say if they are a global or space-level administrator), lock overrides must be dealt with at a higher level.content level permissions cannot be granted to anonymous users
- Overrides:
 isPermittedin classContentPermission- Parameters:
 user- the user to test against- Returns:
 - true if the lock would prevent the user from editing content, false otherwise.
 
 - 
isGroupPermission
public boolean isGroupPermission()- Overrides:
 isGroupPermissionin classContentPermission
 - 
isUserPermission
public boolean isUserPermission()- Overrides:
 isUserPermissionin classContentPermission
 - 
getType
- Overrides:
 getTypein classContentPermission
 - 
equals
- Overrides:
 equalsin classContentPermission
 - 
hashCode
public int hashCode()- Overrides:
 hashCodein classContentPermission
 
 -