public abstract class GenericEMailTemplateUpdatePatch extends AbstractPatch
| Modifier and Type | Field and Description |
|---|---|
protected ContentService |
contentService
Content service
|
protected FileFolderService |
fileFolderService
File folder service
|
applicationEventPublisher, authenticationContext, ERR_PROPERTY_NOT_SET, namespaceService, nodeService, searchService, tenantAdminService, transactionHelper, transactionService| Constructor and Description |
|---|
GenericEMailTemplateUpdatePatch() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract java.lang.String |
getBaseFileName() |
protected abstract org.alfresco.service.cmr.repository.NodeRef |
getBaseTemplate() |
protected abstract java.lang.String[] |
getLocales() |
protected abstract java.lang.String |
getPath() |
protected java.util.List |
getSiblingFiles() |
void |
setContentService(ContentService contentService) |
void |
setCreateSiblingIfMissing(boolean createSiblingIfMissing) |
void |
setFileFolderService(FileFolderService fileFolderService) |
void |
setUpdateBaseFile(boolean updateBaseFile) |
protected void |
updateTemplates() |
applies, apply, applyInternal, checkProperties, 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, toStringprotected ContentService contentService
protected FileFolderService fileFolderService
public void setContentService(ContentService contentService)
contentService - content servicepublic void setFileFolderService(FileFolderService fileFolderService)
fileFolderService - file folder servicepublic void setCreateSiblingIfMissing(boolean createSiblingIfMissing)
createSiblingIfMissing - public void setUpdateBaseFile(boolean updateBaseFile)
updateBaseFile - protected void updateTemplates()
throws java.lang.Exception
java.lang.Exceptionprotected abstract org.alfresco.service.cmr.repository.NodeRef getBaseTemplate()
protected abstract java.lang.String getPath()
protected abstract java.lang.String getBaseFileName()
protected abstract java.lang.String[] getLocales()
protected java.util.List getSiblingFiles()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.