| java.lang.Object | |||
| ↳ | com.atlassian.core.bean.EntityObject | ||
| ↳ | com.atlassian.confluence.core.ConfluenceEntityObject | ||
| ↳ | com.atlassian.confluence.security.ContentPermission | ||
Allows a user to lock content against editing by other users.
Note: the expiry field is currently unused.| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | EDIT_PERMISSION | ||||||||||
| String | VIEW_PERMISSION | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
This has to be public because the com.atlassian.confluence.importexport.xmlimport.legacy.ReverseDatabinder requires
public default constructors.
| |||||||||||
Copy constructor.
| |||||||||||
| Protected Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
as of version 2.4. Use
getGroupName() instead.
| |||||||||||
When
isUserPermission() is true, returns the username of the user who is explicitly permitted by
this permission. | |||||||||||
Determine if a user is locked out by the permission.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.confluence.core.ConfluenceEntityObject
| |||||||||||
From class
com.atlassian.core.bean.EntityObject
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
| |||||||||||
This has to be public because the com.atlassian.confluence.importexport.xmlimport.legacy.ReverseDatabinder requires public default constructors.
When isUserPermission() is true, returns the username of the user who is explicitly permitted by
this permission.
Determine 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
| user | the user to test against |
|---|