public class ResetWCMToGroupBasedPermissionsPatch extends MoveWCMToGroupBasedPermissionsPatch
PERMISSIONS, WCM_STORE_SEPARATORapplicationEventPublisher, authenticationContext, ERR_PROPERTY_NOT_SET, namespaceService, nodeService, patchService, searchService, tenantAdminService, transactionHelper, transactionService| Constructor and Description |
|---|
ResetWCMToGroupBasedPermissionsPatch() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addToGroupIfRequired(String stagingStoreName,
String user,
String permission) |
protected String |
applyInternal()
This method does the work.
|
protected String |
extractBaseStore(String name) |
void |
setAclCrudDAO(AclCrudDAO aclCrudDAO) |
void |
setAvmNodeLinksDAO(AVMNodeLinksDAO avmNodeLinksDAO) |
void |
setAvmStoreDAO(AVMStoreDAO avmStoreDAO) |
void |
setBatchSize(int batchSizeOverride) |
void |
setPatchDAO(PatchDAO patchDAO) |
void |
setPersonService(PersonService personService) |
protected void |
setSandboxPermissions(AVMStoreDescriptor sandboxStore) |
protected void |
setStagingAreaPermissions(AVMStoreDescriptor stagingStore) |
extractStagingAreaName, setAuthorityService, setAvmService, setAvmSnapShotTriggeredIndexingMethodInterceptor, setPermissionService, setReplaceAllWith, setSandBoxMasks, setStagingAreaMasksapplies, apply, applyAsync, checkProperties, checkPropertyNotNull, getAlternatives, getDependsOn, getDescription, getFixesFromSchema, getFixesToSchema, getId, getTargetSchema, init, isDeferred, isForce, isIgnored, reportProgress, requiresTransaction, setAlternatives, setApplicationEventPublisher, setApplyToTenants, setAuthenticationContext, setDeferred, setDependsOn, setDescription, setFixesFromSchema, setFixesToSchema, setForce, setId, setIgnored, setNamespaceService, setNodeService, setPatchService, setRequiresTransaction, setSearchService, setTargetSchema, setTenantAdminService, setTransactionService, toStringpublic ResetWCMToGroupBasedPermissionsPatch()
public void setPersonService(PersonService personService)
public void setAvmStoreDAO(AVMStoreDAO avmStoreDAO)
public void setAvmNodeLinksDAO(AVMNodeLinksDAO avmNodeLinksDAO)
public void setAclCrudDAO(AclCrudDAO aclCrudDAO)
public void setPatchDAO(PatchDAO patchDAO)
public void setBatchSize(int batchSizeOverride)
protected String applyInternal() throws Exception
AbstractPatchapplyInternal in class MoveWCMToGroupBasedPermissionsPatchException - anything can be thrown. This must be used for all failures.AbstractPatch.apply()protected void setStagingAreaPermissions(AVMStoreDescriptor stagingStore) throws Exception
setStagingAreaPermissions in class MoveWCMToGroupBasedPermissionsPatchExceptionprotected void setSandboxPermissions(AVMStoreDescriptor sandboxStore) throws Exception
Exceptionprotected void addToGroupIfRequired(String stagingStoreName, String user, String permission)
addToGroupIfRequired in class MoveWCMToGroupBasedPermissionsPatchCopyright © 2005–2014 Alfresco Software. All rights reserved.