Class ContentPermission

java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.confluence.core.ConfluenceEntityObject
com.atlassian.confluence.security.ContentPermission
All Implemented Interfaces:
Serializable, Cloneable, Comparable<ContentPermission>
Direct Known Subclasses:
NeverPermittedContentPermission

public class ContentPermission extends ConfluenceEntityObject implements Comparable<ContentPermission>
Allows a user to lock content against editing and/or viewing by other users. This is a DB-level entity (see com/atlassian/confluence/security/ContentPermission.hbm.xml). Directly corresponding equivalent for ServiceLayer would be ContentRestriction

Each Content has as many ContentPermissionSets linked as there are operations restricted for the content. Each ContentPermissionSet has as many ContentPermissions as there are specific users and/or groups to whom corresponding operations are restricted.

See Also: