public interface StateCommand extends RelationalObject
RelationalObject.Filter
Modifier and Type | Field and Description |
---|---|
static KomodoType |
IDENTIFIER
Identifier of this object
|
static StateCommand[] |
NO_STATE_COMMANDS
An empty array of view editor state commands.
|
static TypeResolver<StateCommand> |
RESOLVER
The resolver of a
StateCommand . |
static int |
TYPE_ID
The type identifier.
|
DDL_QNAMES_FILTER, DEFAULT_FILTERS, JCR_FILTER, NO_FILTERS, NT_FILTER, RESIDUAL_FILTER
EMPTY_ARRAY
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getArguments(Repository.UnitOfWork transaction) |
String |
getId(Repository.UnitOfWork transaction) |
void |
setArguments(Repository.UnitOfWork transaction,
Map<String,String> arguments) |
void |
setId(Repository.UnitOfWork transaction,
String id) |
getFilters, setFilters
accept, addChild, addDescriptor, getChild, getChild, getChildren, getChildrenOfType, getChildTypes, getDescriptor, getDescriptors, getIndex, getObjectFactory, getPrimaryType, getProperty, getPropertyDescriptor, getPropertyDescriptors, getPropertyFactory, getPropertyNames, getRawChildren, getRawDescriptors, getRawParent, getRawProperty, getRawPropertyDescriptors, getRawPropertyNames, getTypeId, getTypeIdentifier, hasChild, hasChild, hasChildren, hasDescriptor, hasProperties, hasProperty, hasRawChild, hasRawChild, hasRawChildren, hasRawProperty, isChildRestricted, print, remove, removeChild, removeDescriptor, rename, setPrimaryType, setProperty
getAbsolutePath, getName, getParent, getRepository
static final int TYPE_ID
static final KomodoType IDENTIFIER
static final StateCommand[] NO_STATE_COMMANDS
static final TypeResolver<StateCommand> RESOLVER
StateCommand
.String getId(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)KException
- if an error occursvoid setId(Repository.UnitOfWork transaction, String id) throws Exception
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)id
- the id of the commandException
- if an error occursMap<String,String> getArguments(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)KException
- if an error occursvoid setArguments(Repository.UnitOfWork transaction, Map<String,String> arguments) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)arguments
- the new map of argumentsKException
- if an error occursCopyright © 2013–2019. All rights reserved.