|
|||||||||
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.SamplePatch
public class SamplePatch
Field Summary | |
---|---|
static java.lang.String |
MSG_FAILURE
|
static java.lang.String |
MSG_SUCCESS
|
Fields inherited from class org.alfresco.repo.admin.patch.AbstractPatch |
---|
applicationEventPublisher, authenticationContext, ERR_PROPERTY_NOT_SET, namespaceService, nodeService, searchService, tenantAdminService, transactionHelper, transactionService |
Constructor Summary | |
---|---|
SamplePatch()
Default constructor for Spring config |
Method Summary | |
---|---|
protected java.lang.String |
applyInternal()
Does nothing |
void |
init()
Overrides the base class version to do nothing, i.e. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String MSG_SUCCESS
public static final java.lang.String MSG_FAILURE
Constructor Detail |
---|
public SamplePatch()
Method Detail |
---|
public void init()
init
in class AbstractPatch
protected java.lang.String applyInternal() throws java.lang.Exception
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 |