Interface AcInstallationService
-
@ProviderType public interface AcInstallationService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstallationLogapply()Applies the full configuration as stored at the path configured at PID biz.netcentric.cq.tools.actool.impl.AcInstallationServiceImpl to the repository.InstallationLogapply(String configurationRootPath)Applies the configuration as stored at the given configurationRootPath to the repository.InstallationLogapply(String[] restrictedToPaths)Applies parts of the configuration (based on given paths)InstallationLogapply(String configurationRootPath, String[] restrictedToPaths)Applies the configuration as stored at the given configurationRootPath to the repository, but only apply ACEs to given restrictedToPaths.InstallationLogapply(String configurationRootPath, String[] restrictedToPaths, boolean skipIfConfigUnchanged)Applies the configuration as stored at the given configurationRootPath to the repository, but only apply ACEs to given restrictedToPaths.StringpurgeACL(String path)purges all acls of the node specified by path (no deletion of acls of subnodes)StringpurgeACLs(String path)Purges all acls of the node specified by path and all acls of all subnodesStringpurgeAuthorizables(String[] authorizableIds)Purges authorizable(s) and all respective aces from the system
-
-
-
Method Detail
-
apply
InstallationLog apply()
Applies the full configuration as stored at the path configured at PID biz.netcentric.cq.tools.actool.impl.AcInstallationServiceImpl to the repository.- Returns:
- the installation log
-
apply
InstallationLog apply(String configurationRootPath)
Applies the configuration as stored at the given configurationRootPath to the repository.- Parameters:
configurationRootPath- the root path for configuration files- Returns:
- the installation log
-
apply
InstallationLog apply(String[] restrictedToPaths)
Applies parts of the configuration (based on given paths)- Parameters:
restrictedToPaths- only apply ACLs to root paths as given- Returns:
- the installation log
-
apply
InstallationLog apply(String configurationRootPath, String[] restrictedToPaths)
Applies the configuration as stored at the given configurationRootPath to the repository, but only apply ACEs to given restrictedToPaths.- Parameters:
restrictedToPaths- only apply ACLs to root paths as givenconfigurationRootPath- the root path for configuration files- Returns:
- the installation log
-
apply
InstallationLog apply(String configurationRootPath, String[] restrictedToPaths, boolean skipIfConfigUnchanged)
Applies the configuration as stored at the given configurationRootPath to the repository, but only apply ACEs to given restrictedToPaths.- Parameters:
restrictedToPaths- only apply ACLs to root paths as givenconfigurationRootPath- the root path for configuration filesskipIfConfigUnchanged- will check if the config is unchanged compared to last execution with same parameters- Returns:
- the installation log
-
purgeACL
String purgeACL(String path)
purges all acls of the node specified by path (no deletion of acls of subnodes)- Parameters:
path- the path from which to purge the ACL- Returns:
- status message
-
purgeACLs
String purgeACLs(String path)
Purges all acls of the node specified by path and all acls of all subnodes- Parameters:
path- the path from which to purge the ACL (including those of all subnodes)- Returns:
- status message
-
-