Package com.day.cq.dam.commons.util
Class PrivateFolderAndCollectionUtil
java.lang.Object
com.day.cq.dam.commons.util.PrivateFolderAndCollectionUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddDenyAllEveryoneAsFirstACE(Session session, String path) static AccessControlEntrygetDenyAllEveryoneACE(Session session, String path) static booleanstatic voidremoveDenyAllEveryoneACE(Session session, String path)
-
Constructor Details
-
PrivateFolderAndCollectionUtil
public PrivateFolderAndCollectionUtil()
-
-
Method Details
-
getDenyAllEveryoneACE
public static AccessControlEntry getDenyAllEveryoneACE(Session session, String path) throws RepositoryException - Throws:
RepositoryException
-
isPrivate
-
addDenyAllEveryoneAsFirstACE
public static void addDenyAllEveryoneAsFirstACE(Session session, String path) throws RepositoryException - Throws:
RepositoryException
-
removeDenyAllEveryoneACE
public static void removeDenyAllEveryoneACE(Session session, String path) throws RepositoryException - Throws:
RepositoryException
-