public class FixNameCrcValuesPatch extends AbstractPatch
applicationEventPublisher, authenticationContext, ERR_PROPERTY_NOT_SET, namespaceService, nodeService, searchService, tenantAdminService, transactionHelper, transactionService| Constructor and Description |
|---|
FixNameCrcValuesPatch() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
applyInternal()
This method does the work.
|
protected void |
checkProperties()
Check that the schema version properties have been set appropriately.
|
void |
setBatchMaxQueryRange(long batchMaxQueryRange) |
void |
setBatchQuerySize(int batchQuerySize) |
void |
setBatchSize(int batchSize) |
void |
setBatchThreads(int batchThreads) |
void |
setControlDAO(ControlDAO controlDAO) |
void |
setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService) |
void |
setPatchDAO(PatchDAO patchDAO) |
void |
setQnameDAO(QNameDAO qnameDAO) |
applies, apply, 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 void setPatchDAO(PatchDAO patchDAO)
public void setQnameDAO(QNameDAO qnameDAO)
qnameDAO - resolved QNamespublic void setControlDAO(ControlDAO controlDAO)
controlDAO - used to create Savepointspublic void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
dictionaryService - used to check the child associations for unique checkingpublic void setBatchThreads(int batchThreads)
batchThreads - the number of threads that will write child association changespublic void setBatchSize(int batchSize)
batchSize - the number of child associations that will be modified per transactionpublic void setBatchMaxQueryRange(long batchMaxQueryRange)
batchMaxQueryRange - the largest ID range that the work provider can query for.
Lower this if the distribution of ID in alf_child_assoc is not
uniform and memory problems are encountered.public void setBatchQuerySize(int batchQuerySize)
batchQuerySize - the maximum number of results to pull back before handing off to
the threads (usually threads * batch size)protected void checkProperties()
AbstractPatchcheckProperties in class AbstractPatchprotected 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()Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.