public class MoveWCMToGroupBasedPermissionsPatch extends AbstractPatch
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String[] |
PERMISSIONS |
protected static java.lang.String |
WCM_STORE_SEPARATOR |
applicationEventPublisher, authenticationContext, ERR_PROPERTY_NOT_SET, namespaceService, nodeService, searchService, tenantAdminService, transactionHelper, transactionService| Constructor and Description |
|---|
MoveWCMToGroupBasedPermissionsPatch() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addToGroupIfRequired(java.lang.String stagingStoreName,
java.lang.String user,
java.lang.String permission) |
protected java.lang.String |
applyInternal()
This method does the work.
|
protected java.lang.String |
extractStagingAreaName(java.lang.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(java.lang.String replaceAllWith) |
protected void |
setSandBoxMasks(AVMStoreDescriptor sandBoxStore) |
protected void |
setStagingAreaMasks(AVMStoreDescriptor store) |
protected void |
setStagingAreaPermissions(AVMStoreDescriptor store) |
applies, apply, checkProperties, checkPropertyNotNull, getAlternatives, getDependsOn, getDescription, getFixesFromSchema, getFixesToSchema, getId, getTargetSchema, init, isForce, reportProgress, requiresTransaction, setAlternatives, setApplicationEventPublisher, setApplyToTenants, setAuthenticationContext, setDependsOn, setDescription, setFixesFromSchema, setFixesToSchema, setForce, setId, setNamespaceService, setNodeService, setPatchService, setRequiresTransaction, setSearchService, setTargetSchema, setTenantAdminService, setTransactionService, toStringpublic static final java.lang.String[] PERMISSIONS
protected static final java.lang.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(java.lang.String replaceAllWith)
protected java.lang.String applyInternal()
throws java.lang.Exception
AbstractPatchapplyInternal in class AbstractPatchjava.lang.Exception - anything can be thrown. This must be used for all failures.AbstractPatch.apply()protected void addToGroupIfRequired(java.lang.String stagingStoreName,
java.lang.String user,
java.lang.String permission)
protected void setStagingAreaPermissions(AVMStoreDescriptor store) throws java.lang.Exception
java.lang.Exceptionprotected void setStagingAreaMasks(AVMStoreDescriptor store)
protected void setSandBoxMasks(AVMStoreDescriptor sandBoxStore)
protected java.lang.String extractStagingAreaName(java.lang.String name)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.