public abstract class BaseGroupSpaceOpsHandlerPlugin extends java.lang.Object implements GroupSpaceOpsHandlerPlugin
Constructor and Description |
---|
BaseGroupSpaceOpsHandlerPlugin() |
Modifier and Type | Method and Description |
---|---|
boolean |
duringCreateGroupSpace(SpaceTemplate baseTemplate,
Space newSpace,
SpaceCreationOptions option)
Not Supported as of now.
|
boolean |
postCreateGroupSpace(SpaceTemplate baseTemplate,
Space newSpace)
Not Supported as of now.
|
boolean |
postCreateGroupSpace(SpaceTemplate baseTemplate,
Space newSpace,
SpaceCreationOptions option)
Not Supported as of now.
|
boolean |
postDeleteGroupSpace(Space space)
Not Supported as of now
|
boolean |
postRenameGroupSpace(java.lang.String oldSpaceName,
java.lang.String newSpaceName)
Not Supported as of now
|
boolean |
preCreateGroupSpace(SpaceTemplate baseTemplate,
Space space)
Not Supported as of now
|
boolean |
preDeleteGroupSpace(Space space)
This API represents all the steps that are required to be performed before
deleting the group space by different plugins.
|
boolean |
preRenameGroupSpace(java.lang.String oldSpaceName,
java.lang.String newSpaceName)
Not Supported as of now
|
boolean |
rollbackCreateGroupSpace(SpaceTemplate baseTemplate,
Space space)
Deprecated.
The rollback of createSpace is no longer supported
|
boolean |
rollbackDeleteGroupSpace(Space space)
Not Supported as of now
|
boolean |
rollbackRenameGroupSpace(java.lang.String oldSpaceName,
java.lang.String newSpaceName)
Not Supported as of now
|
public boolean preCreateGroupSpace(SpaceTemplate baseTemplate, Space space) throws GroupSpaceOpsException
preCreateGroupSpace
in interface GroupSpaceOpsHandlerPlugin
baseTemplate
- Base Template Namespace
- Space NameGroupSpaceOpsException
- Throws GroupSpaceOpsException
when
pre-configuration fails. Throws GroupSpacesOpsIgnorableException
when the errors can be ignoredpublic boolean postCreateGroupSpace(SpaceTemplate baseTemplate, Space newSpace) throws GroupSpaceOpsException
postCreateGroupSpace
in interface GroupSpaceOpsHandlerPlugin
baseTemplate
- Base Template Namespace
- Space NameGroupSpaceOpsException
- Throws GroupSpaceOpsException
when
pre-configuration fails. Throws GroupSpacesOpsIgnorableException
when the errors can be ignoredpublic boolean duringCreateGroupSpace(SpaceTemplate baseTemplate, Space newSpace, SpaceCreationOptions option) throws GroupSpaceOpsException
duringCreateGroupSpace
in interface GroupSpaceOpsHandlerPlugin
baseTemplate
- Base Template Namespace
- Space Nameoption
- SpaceCreationOptions contains values like accesslevels,
displayName etc which will be set during space creationGroupSpaceOpsIgnorableException
- Throws GroupSpaceOpsException
when
pre-configuration fails. Throws GroupSpacesOpsIgnorableException
when the errors can be ignoredGroupSpaceOpsException
- Throws GroupSpaceOpsException
when
pre-configuration fails. Throws GroupSpaceOpsIgnorableException
when the errors can be ignoredpublic boolean postCreateGroupSpace(SpaceTemplate baseTemplate, Space newSpace, SpaceCreationOptions option) throws GroupSpaceOpsException
postCreateGroupSpace
in interface GroupSpaceOpsHandlerPlugin
baseTemplate
- Base Template NamenewSpace
- The new Space being createdoption
- SpaceCreationOptions contains values like accesslevels,
displayName etc which will be set during space creationGroupSpaceOpsException
- Throws GroupSpaceOpsException
when
pre-configuration fails. Throws GroupSpaceOpsIgnorableException
when the errors can be ignoredpublic boolean rollbackCreateGroupSpace(SpaceTemplate baseTemplate, Space space) throws GroupSpaceOpsRollbackException
rollbackCreateGroupSpace
in interface GroupSpaceOpsHandlerPlugin
baseTemplate
- Base Template Namespace
- Space NameGroupSpaceOpsException
- Throws GroupSpaceOpsException
when
pre-configuration fails. Throws GroupSpacesOpsIgnorableException
when the errors can be ignoredGroupSpaceOpsRollbackException
public boolean preDeleteGroupSpace(Space space) throws GroupSpaceOpsException
preDeleteGroupSpace
in interface GroupSpaceOpsHandlerPlugin
space
- SpaceGroupSpaceOpsException
- Throws GroupSpaceOpsException
when
pre-configuration fails. Throws GroupSpacesOpsIgnorableException
when the errors can be ignoredpublic boolean postDeleteGroupSpace(Space space) throws GroupSpaceOpsException
postDeleteGroupSpace
in interface GroupSpaceOpsHandlerPlugin
space
- SpaceGroupSpaceOpsException
- Throws GroupSpaceOpsException
when
pre-configuration fails. Throws GroupSpacesOpsIgnorableException
when the errors can be ignoredpublic boolean rollbackDeleteGroupSpace(Space space) throws GroupSpaceOpsRollbackException
rollbackDeleteGroupSpace
in interface GroupSpaceOpsHandlerPlugin
space
- SpaceGroupSpaceOpsRollbackException
public boolean preRenameGroupSpace(java.lang.String oldSpaceName, java.lang.String newSpaceName) throws GroupSpaceOpsException
preRenameGroupSpace
in interface GroupSpaceOpsHandlerPlugin
oldSpaceName
- Old Space NamenewSpaceName
- New Space NameGroupSpaceOpsException
- Throws GroupSpaceOpsException
when
pre-configuration fails. Throws GroupSpacesOpsIgnorableException
when the errors can be ignoredpublic boolean postRenameGroupSpace(java.lang.String oldSpaceName, java.lang.String newSpaceName) throws GroupSpaceOpsException
postRenameGroupSpace
in interface GroupSpaceOpsHandlerPlugin
oldSpaceName
- Old Space NamenewSpaceName
- New Space NameGroupSpaceOpsException
- Throws GroupSpaceOpsException
when
pre-configuration fails. Throws GroupSpacesOpsIgnorableException
when the errors can be ignoredpublic boolean rollbackRenameGroupSpace(java.lang.String oldSpaceName, java.lang.String newSpaceName) throws GroupSpaceOpsException
rollbackRenameGroupSpace
in interface GroupSpaceOpsHandlerPlugin
oldSpaceName
- Old Space NamenewSpaceName
- New Space NameGroupSpaceOpsException
- Throws GroupSpaceOpsException
when
pre-configuration fails. Throws GroupSpacesOpsIgnorableException
when the errors can be ignored
Throws GroupSpacesRollbackException
when the roll back fails.
This exception can be ignored