public class SharedFolderPatch extends GenericBootstrapPatch
The first use-case is when there is a child called cm:shared and we want to patch a folder with app:shared
| Modifier and Type | Class and Description |
|---|---|
static class |
SharedFolderPatch.SharedFolderPatchJob
Job to initiate the
SharedFolderPatch if it has been deferred |
bootstrapView, checkPath, ERR_MULTIPLE_FOUND, importerBootstrap, MSG_CREATED, MSG_DEFERRED, MSG_EXISTSapplicationEventPublisher, authenticationContext, ERR_PROPERTY_NOT_SET, namespaceService, nodeService, patchService, searchService, tenantAdminService, transactionHelper, transactionService| Constructor and Description |
|---|
SharedFolderPatch() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
applyInternal()
This method does the work.
|
void |
executeAsync()
Run the Shared Folder Patch asynchronously after bootstrap.
|
JobLockService |
getJobLockService() |
String |
getRenamePath() |
void |
setJobLockService(JobLockService jobLockService) |
void |
setRenamePath(String renamePath) |
checkProperties, setBootstrapView, setCheckPath, setImporterBootstrapapplies, 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, toStringpublic void executeAsync()
protected String applyInternal() throws Exception
AbstractPatchapplyInternal in class GenericBootstrapPatchException - anything can be thrown. This must be used for all failures.AbstractPatch.apply()public void setRenamePath(String renamePath)
public String getRenamePath()
public void setJobLockService(JobLockService jobLockService)
public JobLockService getJobLockService()
Copyright © 2005–2018 Alfresco Software. All rights reserved.