public class AddGroupAuthorityPatch extends AbstractPatch
Modifier and Type | Class and Description |
---|---|
static class |
AddGroupAuthorityPatch.GroupAuthorityDetails
A simple POJO to encapsulate the group authority details.
|
applicationEventPublisher, authenticationContext, ERR_PROPERTY_NOT_SET, namespaceService, nodeService, patchService, searchService, tenantAdminService, transactionHelper, transactionService
Constructor and Description |
---|
AddGroupAuthorityPatch() |
Modifier and Type | Method and Description |
---|---|
protected String |
applyInternal()
This method does the work.
|
protected void |
checkProperties()
Check that the schema version properties have been set appropriately.
|
void |
setAuthorityService(AuthorityService authorityService)
Sets the authority service.
|
void |
setGroupAuthorityDetails(AddGroupAuthorityPatch.GroupAuthorityDetails groupAuthorityDetails)
Sets the group authority details.
|
applies, apply, applyAsync, 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 setAuthorityService(AuthorityService authorityService)
authorityService
- the authority servicepublic void setGroupAuthorityDetails(AddGroupAuthorityPatch.GroupAuthorityDetails groupAuthorityDetails)
groupAuthorityDetails
- the groupAuthorityDetailsprotected void checkProperties()
AbstractPatch
checkProperties
in class AbstractPatch
protected 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.