public class MoveWCMToGroupBasedPermissionsPatch extends AbstractPatch
| Modifier and Type | Field and Description |
|---|---|
static String[] |
PERMISSIONS |
protected static String |
WCM_STORE_SEPARATOR |
applicationEventPublisher, authenticationContext, ERR_PROPERTY_NOT_SET, namespaceService, nodeService, patchService, searchService, tenantAdminService, transactionHelper, transactionService| Constructor and Description |
|---|
MoveWCMToGroupBasedPermissionsPatch() |
| 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 |
extractStagingAreaName(String name) |
void |
setAuthorityService(AuthorityService authorityService) |
void |
setAvmService(AVMService avmService) |
void |
setAvmSnapShotTriggeredIndexingMethodInterceptor(AVMSnapShotTriggeredIndexingMethodInterceptor avmSnapShotTriggeredIndexingMethodInterceptor) |
void |
setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService) |
void |
setReplaceAllWith(String replaceAllWith) |
protected void |
setSandBoxMasks(AVMStoreDescriptor sandBoxStore) |
protected void |
setStagingAreaMasks(AVMStoreDescriptor store) |
protected void |
setStagingAreaPermissions(AVMStoreDescriptor store) |
applies, 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 static final String[] PERMISSIONS
protected static final String WCM_STORE_SEPARATOR
public void setAvmService(AVMService avmService)
public void setAvmSnapShotTriggeredIndexingMethodInterceptor(AVMSnapShotTriggeredIndexingMethodInterceptor avmSnapShotTriggeredIndexingMethodInterceptor)
public void setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService)
public void setAuthorityService(AuthorityService authorityService)
public void setReplaceAllWith(String replaceAllWith)
protected String applyInternal() throws Exception
AbstractPatchapplyInternal in class AbstractPatchException - anything can be thrown. This must be used for all failures.AbstractPatch.apply()protected void addToGroupIfRequired(String stagingStoreName, String user, String permission)
protected void setStagingAreaPermissions(AVMStoreDescriptor store) throws Exception
Exceptionprotected void setStagingAreaMasks(AVMStoreDescriptor store)
protected void setSandBoxMasks(AVMStoreDescriptor sandBoxStore)
Copyright © 2005–2014 Alfresco Software. All rights reserved.