Class SimpleContentPermissionProvider
- java.lang.Object
-
- com.atlassian.confluence.content.service.page.SimpleContentPermissionProvider
-
- All Implemented Interfaces:
ContentPermissionProvider
public class SimpleContentPermissionProvider extends Object implements ContentPermissionProvider
A ContentPermissionProvider which simply returns the ContentPermissions that have been set on it.
-
-
Constructor Summary
Constructors Constructor Description SimpleContentPermissionProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<ContentPermission>
getEditPermissions()
Collection<ContentPermission>
getViewPermissions()
void
setEditPermissions(Collection<ContentPermission> editPermissions)
void
setViewPermissions(Collection<ContentPermission> viewPermissions)
-
-
-
Method Detail
-
getViewPermissions
public Collection<ContentPermission> getViewPermissions()
- Specified by:
getViewPermissions
in interfaceContentPermissionProvider
-
setViewPermissions
public void setViewPermissions(Collection<ContentPermission> viewPermissions)
-
getEditPermissions
public Collection<ContentPermission> getEditPermissions()
- Specified by:
getEditPermissions
in interfaceContentPermissionProvider
-
setEditPermissions
public void setEditPermissions(Collection<ContentPermission> editPermissions)
-
-