|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.admin.patch.AbstractPatch
org.alfresco.repo.admin.patch.impl.PersonUsagePatch
public class PersonUsagePatch
Patch to add person usage ('cm:sizeCurrent') property to person (if missing)
Field Summary |
---|
Fields inherited from class org.alfresco.repo.admin.patch.AbstractPatch |
---|
applicationEventPublisher, authenticationContext, ERR_PROPERTY_NOT_SET, namespaceService, nodeService, searchService, tenantAdminService, transactionService |
Constructor Summary | |
---|---|
PersonUsagePatch()
|
Method Summary | |
---|---|
protected java.lang.String |
applyInternal()
This method does the work. |
void |
setNodeDaoService(NodeDaoService nodeDaoService)
|
void |
setPersonStoreUrl(java.lang.String storeUrl)
|
void |
setTenantService(TenantService tenantService)
|
Methods inherited from class org.alfresco.repo.admin.patch.AbstractPatch |
---|
applies, apply, checkProperties, checkPropertyNotNull, getAlternatives, getDependsOn, getDescription, getFixesFromSchema, getFixesToSchema, getId, getTargetSchema, init, isForce, reportProgress, setAlternatives, setApplicationEventPublisher, setApplyToTenants, setAuthenticationContext, setDependsOn, setDescription, setFixesFromSchema, setFixesToSchema, setForce, setId, setNamespaceService, setNodeService, setPatchService, setSearchService, setTargetSchema, setTenantAdminService, setTransactionService, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PersonUsagePatch()
Method Detail |
---|
public void setNodeDaoService(NodeDaoService nodeDaoService)
public void setPersonStoreUrl(java.lang.String storeUrl)
public void setTenantService(TenantService tenantService)
protected java.lang.String applyInternal() throws java.lang.Exception
AbstractPatch
applyInternal
in class AbstractPatch
java.lang.Exception
- anything can be thrown. This must be used for all failures.AbstractPatch.apply()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |