public class GenericDeleteAspectForTypePatch extends AbstractPatch
applicationEventPublisher, authenticationContext, ERR_PROPERTY_NOT_SET, namespaceService, nodeService, patchService, searchService, tenantAdminService, transactionHelper, transactionService
Constructor and Description |
---|
GenericDeleteAspectForTypePatch() |
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 |
setNodeDAO(NodeDAO nodeDAO) |
void |
setPatchDAO(PatchDAO patchDAO) |
void |
setQnameDAO(QNameDAO qnameDAO) |
void |
setQnameStringAspect(String qnameStringAspect) |
void |
setQnameStringType(String qnameStringType) |
void |
setRetryingTransactionHelper(RetryingTransactionHelper retryingTransactionHelper) |
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 setQnameStringType(String qnameStringType)
public void setQnameStringAspect(String qnameStringAspect)
public void setQnameDAO(QNameDAO qnameDAO)
qnameDAO
- the qnameDAO to setpublic void setPatchDAO(PatchDAO patchDAO)
patchDAO
- the patchDAO to setpublic void setNodeDAO(NodeDAO nodeDAO)
nodeDAO
- the nodeDAO to setpublic void setRetryingTransactionHelper(RetryingTransactionHelper retryingTransactionHelper)
retryingTransactionHelper
- the retryingTransactionHelper to setprotected 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.