| Modifier and Type | Method and Description |
|---|---|
Collection<ContentPermission> |
SimpleContentPermissionProvider.getEditPermissions() |
Collection<ContentPermission> |
ContentPermissionProvider.getEditPermissions() |
Collection<ContentPermission> |
SimpleContentPermissionProvider.getViewPermissions() |
Collection<ContentPermission> |
ContentPermissionProvider.getViewPermissions() |
| Modifier and Type | Method and Description |
|---|---|
void |
SimpleContentPermissionProvider.setEditPermissions(Collection<ContentPermission> editPermissions) |
void |
SimpleContentPermissionProvider.setViewPermissions(Collection<ContentPermission> viewPermissions) |
| Modifier and Type | Method and Description |
|---|---|
ContentPermission |
ContentEntityObject.getContentPermission(String permissionType)
Deprecated.
since 2.6 - use getContentPermissionSet
|
| Modifier and Type | Method and Description |
|---|---|
List<ContentPermission> |
DefaultContentPermissionManager.getInheritedContentPermissions(ContentEntityObject contentEntityObject)
Deprecated.
|
List<ContentPermission> |
ContentPermissionManager.getInheritedContentPermissions(ContentEntityObject contentEntityObject)
Deprecated.
|
List<ContentPermission> |
DefaultContentPermissionManager.getInheritedContentUserPermissions(ContentEntityObject contentEntityObject)
Filters the inherited content permission sets of a page for a list of inherited user permissions (of type
VIEW_PERMISSION) |
List<ContentPermission> |
ContentPermissionManager.getInheritedContentUserPermissions(ContentEntityObject contentEntityObject) |
List<ContentPermission> |
ContentEntityObject.getPermissions()
Deprecated.
since 2.6 - use
ContentEntityObject.getContentPermissionSet(String) |
Set<ContentPermission> |
DefaultContentPermissionManager.getViewContentPermissions(Page page)
Deprecated.
|
Set<ContentPermission> |
ContentPermissionManager.getViewContentPermissions(Page page)
Deprecated.
use
ContentPermissionManager.getContentPermissionSets(ContentEntityObject, String) passing permission type VIEW_PERMISSION |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultContentPermissionManager.addContentPermission(ContentPermission permission,
ContentEntityObject content)
Adds a new current content permission to the CEO if it doesn't have it
already.
|
void |
ContentPermissionManager.addContentPermission(ContentPermission permission,
ContentEntityObject content)
Add permissions to the content entity objecct through the manager.
|
void |
ContentEntityObject.addPermission(ContentPermission permission)
Adds a ContentPermission.
|
void |
DefaultContentPermissionManager.removeContentPermission(ContentPermission contentPermission) |
void |
ContentPermissionManager.removeContentPermission(ContentPermission permission) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultContentPermissionManager.setContentPermissions(Collection<ContentPermission> requiredPermissions,
ContentEntityObject content,
String type) |
void |
ContentPermissionManager.setContentPermissions(Collection<ContentPermission> contentPermissions,
ContentEntityObject content,
String type)
Set the Content Permissions on the CEO to be the list of
ContentPermissions passed. |
void |
DefaultContentPermissionManager.setContentPermissions(Map<String,Collection<ContentPermission>> requiredPermissionsMap,
ContentEntityObject content) |
void |
ContentPermissionManager.setContentPermissions(Map<String,Collection<ContentPermission>> requiredPermissionsMap,
ContentEntityObject content)
Set the Content Permissions on the CEO to be the list of
ContentPermissions passed. |
| Modifier and Type | Method and Description |
|---|---|
ContentPermission |
ContentPermissionDao.getById(long id) |
| Modifier and Type | Method and Description |
|---|---|
List<ContentPermission> |
ContentPermissionDao.getGroupPermissions(String groupName) |
List<ContentPermission> |
ContentPermissionDao.getUserPermissions(ConfluenceUser user) |
List<ContentPermission> |
ContentPermissionDao.getUserPermissions(String userName)
Deprecated.
since 5.3. Use
ContentPermissionDao.getUserPermissions(com.atlassian.confluence.user.ConfluenceUser) instead. |
| Modifier and Type | Method and Description |
|---|---|
ContentPermission |
ContentPermissionHibernateDao.getById(long id) |
| Modifier and Type | Method and Description |
|---|---|
List<ContentPermission> |
ContentPermissionHibernateDao.getGroupPermissions(String groupName) |
List<ContentPermission> |
ContentPermissionHibernateDao.getUserPermissions(ConfluenceUser user) |
List<ContentPermission> |
ContentPermissionHibernateDao.getUserPermissions(String userName)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
ContentPermission |
ContentPermissionEvent.getContentPermission() |
| Constructor and Description |
|---|
ContentPermissionEvent(Object src,
ContentEntityObject content,
ContentPermission contentPermission) |
| Modifier and Type | Method and Description |
|---|---|
ContentPermission |
AbstractCreateAndEditPageAction.getCurrentEditPermission() |
ContentPermission |
AbstractCreateAndEditPageAction.getCurrentViewPermission() |
| Modifier and Type | Method and Description |
|---|---|
List<ContentPermission> |
PagePermissionsActionHelper.createPermissions(String contentPermissionType,
String permissionsGroups,
String permissionsUsers)
Returns the view
ContentPermissions of the required type for this helper instance, adding the helper User
if they don't have view permission via the list. |
List<ContentPermission> |
ViewPageAction.getInheritedContentPermissions() |
List<ContentPermission> |
ListPermissionPagesAction.getPermissions(Page page) |
List<ContentPermission> |
ViewPageAction.getThisPagePermissions() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractCreateAndEditPageAction.setPermissions(List<ContentPermission> permissions) |
| Constructor and Description |
|---|
RemoteContentPermission(ContentPermission contentPermission) |
RemotePermission(ContentPermission permission)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static ContentPermission |
ContentPermission.createGroupPermission(String type,
String groupName) |
static ContentPermission |
ContentPermission.createUserPermission(String type,
ConfluenceUser user) |
static ContentPermission |
ContentPermission.createUserPermission(String type,
String userName)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<ContentPermission> |
ContentPermissionSet.getAllExcept(Collection<ContentPermission> exclusions)
Retrieve all the
ContentPermissions in this set that do not exist in the
given collection. |
Iterator<ContentPermission> |
ContentPermissionSet.iterator() |
| Modifier and Type | Method and Description |
|---|---|
void |
ContentPermissionSet.addContentPermission(ContentPermission contentPermission) |
int |
ContentPermission.compareTo(ContentPermission that) |
boolean |
ContentPermissionSet.contains(ContentPermission contentPermission) |
void |
ContentPermissionSet.removeContentPermission(ContentPermission contentPermission)
Remove the given content permission from this set.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<ContentPermission> |
ContentPermissionSet.getAllExcept(Collection<ContentPermission> exclusions)
Retrieve all the
ContentPermissions in this set that do not exist in the
given collection. |
| Constructor and Description |
|---|
ContentPermission(ContentPermission other)
Copy constructor.
|
Copyright © 2003–2015 Atlassian. All rights reserved.