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 |
---|---|
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
ContentPermission s 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) |
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) |
Modifier and Type | Method and Description |
---|---|
@Nullable ContentPermission |
ContentPermissionEvent.getContentPermission() |
Constructor and Description |
---|
ContentPermissionEvent(Object src,
ContentEntityObject content,
@Nullable ContentPermission contentPermission) |
ContentPermissionEvent(Object src,
ContentEntityObject content,
@Nullable ContentPermission contentPermission,
boolean reindexNeeded) |
Modifier and Type | Method and Description |
---|---|
ContentPermission |
AbstractCreateAndEditPageAction.getCurrentEditPermission() |
ContentPermission |
AbstractCreateAndEditPageAction.getCurrentViewPermission() |
Modifier and Type | Method and Description |
---|---|
List<ContentPermission> |
PagePermissionsActionHelper.createPermissions(String contentPermissionType,
List<String> permissionsGroupList,
List<String> permissionsUserList)
Returns the view
ContentPermission s of the required type for this helper instance, adding the helper User
if they don't have view permission via the list. |
List<ContentPermission> |
PagePermissionsActionHelper.createPermissions(String contentPermissionType,
String permissionsGroups,
String permissionsUsers)
Deprecated.
since 7.5.0 Use
PagePermissionsActionHelper.createPermissions(String, List, List) instead |
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 | Class and Description |
---|---|
class |
NeverPermittedContentPermission |
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.contentPermissionsCopy()
Retrieve a copy of the content permissions.
|
Collection<ContentPermission> |
ContentPermissionSet.getAllExcept(Collection<ContentPermission> exclusions)
Retrieve all the
ContentPermission s in this set that do not exist in the given collection. |
com.google.common.collect.ImmutableCollection<ContentPermission> |
ContentPermissionSet.getContentPermissionsCopy()
Deprecated.
since 7.0.1. Use
ContentPermissionSet.contentPermissionsCopy() |
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
ContentPermission s in this set that do not exist in the given collection. |
Constructor and Description |
---|
ContentPermission(ContentPermission other)
Copy constructor.
|
Copyright © 2003–2020 Atlassian. All rights reserved.