Package com.day.cq.dam.commons.util
Class PrivateFolderAndCollectionUtil
- java.lang.Object
-
- com.day.cq.dam.commons.util.PrivateFolderAndCollectionUtil
-
public final class PrivateFolderAndCollectionUtil extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PrivateFolderAndCollectionUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addDenyAllEveryoneAsFirstACE(Session session, java.lang.String path)
static AccessControlEntry
getDenyAllEveryoneACE(Session session, java.lang.String path)
static boolean
isPrivate(Session session, java.lang.String path)
static void
removeDenyAllEveryoneACE(Session session, java.lang.String path)
-
-
-
Method Detail
-
getDenyAllEveryoneACE
public static AccessControlEntry getDenyAllEveryoneACE(Session session, java.lang.String path) throws RepositoryException
- Throws:
RepositoryException
-
isPrivate
public static boolean isPrivate(Session session, java.lang.String path)
-
addDenyAllEveryoneAsFirstACE
public static void addDenyAllEveryoneAsFirstACE(Session session, java.lang.String path) throws RepositoryException
- Throws:
RepositoryException
-
removeDenyAllEveryoneACE
public static void removeDenyAllEveryoneACE(Session session, java.lang.String path) throws RepositoryException
- Throws:
RepositoryException
-
-