public interface ContentVersionService
Modifier and Type | Interface and Description |
---|---|
static class |
ContentVersionService.Action
The enumeration type Action defines three action: CREATE, RESTORE and DELETE.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
The main entry to execute the action.
|
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.
|
static final java.lang.String COPYRIGHT
void setNoun(ContentVersionType noun)
noun
- a content version noun.void setConnection(java.sql.Connection connection)
connection
- a jdbc connection.void setAction(ContentVersionService.Action action)
action
- an action.void execute() throws AbstractApplicationException
AbstractApplicationException
- this exception is thrown if there are some errors
to perform the action.