public class RenameSiteAuthorityDisplayName extends AbstractPatch
applicationEventPublisher, authenticationContext, ERR_PROPERTY_NOT_SET, namespaceService, nodeService, patchService, searchService, tenantAdminService, transactionHelper, transactionService
Constructor and Description |
---|
RenameSiteAuthorityDisplayName() |
Modifier and Type | Method and Description |
---|---|
protected String |
applyInternal()
This method does the work.
|
void |
setAuthorityService(AuthorityService authorityService)
The authority service
|
void |
setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService)
Set the permission service
|
void |
setRuleService(RuleService ruleService)
Sets the rule service.
|
void |
setSiteService(SiteService siteService)
Set site service
|
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, toString
public void setSiteService(SiteService siteService)
siteService
- the site servicepublic void setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService)
permissionService
- the permission servicepublic void setAuthorityService(AuthorityService authorityService)
authorityService
- the authority servicepublic void setRuleService(RuleService ruleService)
ruleService
- the rule serviceprotected String applyInternal() throws Exception
AbstractPatch
applyInternal
in class AbstractPatch
Exception
- anything can be thrown. This must be used for all failures.AbstractPatch.apply()
Copyright © 2005–2017 Alfresco Software. All rights reserved.