public class AbstractContentVersionServiceImpl extends java.lang.Object implements ContentVersionService
ContentVersionService.Action
Constructor and Description |
---|
AbstractContentVersionServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
The main entry to execute the action.
|
java.lang.String |
getObjectNounName()
Gets the noun name for the targeted object of the version.
|
java.lang.String |
getObjectNounPath()
Gets the container based path name for the targeted object of the version.
|
void |
setAction(ContentVersionService.Action action)
Sets the action which can be CREATE, RESTORE or DELETE.
|
void |
setConnection(java.sql.Connection connection)
Sets the connection
|
void |
setNoun(ContentVersionType noun)
Sets the noun.
|
public void setNoun(ContentVersionType noun)
setNoun
in interface ContentVersionService
noun
- a content version noun.public void setConnection(java.sql.Connection connection)
setConnection
in interface ContentVersionService
connection
- a jdbc connection.public void setAction(ContentVersionService.Action action)
setAction
in interface ContentVersionService
action
- an action.public void execute() throws AbstractApplicationException
execute
in interface ContentVersionService
AbstractApplicationException
- this exception is thrown if there are some errors
to perform the action.public java.lang.String getObjectNounName()
public java.lang.String getObjectNounPath()