public interface ContentPermissionSetDao extends ObjectDao
Modifier and Type | Method and Description |
---|---|
ContentPermissionSet |
getById(long id) |
List<Long> |
getContentIdsWithPermissionSet(String spaceKey)
Gets the list of id of content which belongs to the specified space and has the permission set configured.
|
Map<Long,List<ContentPermissionSet>> |
getExplicitPermissionSetsFor(Collection<Long> ids)
Get a map between content id and permission set.
|
List |
getInheritedContentPermissionSets(Page page,
String type) |
Map<Long,Set<ContentPermissionSet>> |
getPermissionSets(String spaceKey,
List<Long> contentIds)
Retrieves the
ContentPermissionSet of contents specified by the contentIds parameter given the space |
findAll, findAllSorted, findAllSorted, findByClassIds, getPersistentClass, refresh, remove, replicate, save, saveRaw
ContentPermissionSet getById(long id)
Map<Long,List<ContentPermissionSet>> getExplicitPermissionSetsFor(Collection<Long> ids)
ids
- id of content to queryList getInheritedContentPermissionSets(Page page, String type)
ContentPermissionSet
s of the ancestors of ceoMap<Long,Set<ContentPermissionSet>> getPermissionSets(String spaceKey, List<Long> contentIds)
ContentPermissionSet
of contents specified by the contentIds parameter given the spacespaceKey
- - key of SpacecontentIds
- - list of content idContentPermissionSet
List<Long> getContentIdsWithPermissionSet(String spaceKey)
spaceKey
- - key of spaceCopyright © 2003–2021 Atlassian. All rights reserved.