public interface AbstractProcedure extends OptionContainer, RelationalObject, SchemaElement
Modifier and Type | Interface and Description |
---|---|
static class |
AbstractProcedure.Utils
Utils for accessing procedure type
|
RelationalObject.Filter
SchemaElement.SchemaElementType
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_UPDATE_COUNT
The default value of this table's update count.
|
DDL_QNAMES_FILTER, DEFAULT_FILTERS, JCR_FILTER, NO_FILTERS, NT_FILTER, RESIDUAL_FILTER
EMPTY_ARRAY
Modifier and Type | Method and Description |
---|---|
Parameter |
addParameter(Repository.UnitOfWork transaction,
String parameterName) |
String |
getDescription(Repository.UnitOfWork transaction) |
String |
getNameInSource(Repository.UnitOfWork transaction) |
Parameter[] |
getParameters(Repository.UnitOfWork transaction,
String... namePatterns) |
Model |
getParent(Repository.UnitOfWork transaction) |
int |
getUpdateCount(Repository.UnitOfWork transaction) |
String |
getUuid(Repository.UnitOfWork transaction) |
void |
removeParameter(Repository.UnitOfWork transaction,
String parameterName) |
void |
setDescription(Repository.UnitOfWork transaction,
String newDescription) |
void |
setNameInSource(Repository.UnitOfWork transaction,
String newNameInSource) |
void |
setUpdateCount(Repository.UnitOfWork transaction,
long newUpdateCount) |
void |
setUuid(Repository.UnitOfWork transaction,
String newUuid) |
getCustomOptions, getStandardOptions, getStatementOptionNames, getStatementOptions, isCustomOption, isStandardOption, removeStatementOption, setStatementOption
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, getRepository
getSchemaElementType, setSchemaElementType
static final int DEFAULT_UPDATE_COUNT
Parameter addParameter(Repository.UnitOfWork transaction, String parameterName) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)parameterName
- the name of the parameter being added (cannot be null
)null
)KException
- if an error occursString getDescription(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)annotation
option (can be empty)KException
- if an error occursString getNameInSource(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)name in source
option (can be empty)KException
- if an error occursParameter[] getParameters(Repository.UnitOfWork transaction, String... namePatterns) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)namePatterns
- optional name patterns of the child(ren) being requested (can be null
or empty but cannot have
null
or empty elements)null
but can be empty)KException
- if an error occursModel getParent(Repository.UnitOfWork transaction) throws KException
getParent
in interface KNode
KException
KNode.getParent(org.komodo.spi.repository.Repository.UnitOfWork)
int getUpdateCount(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)update count
optionKException
- if an error occursString getUuid(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)UUID
option (can be empty)KException
- if an error occursvoid removeParameter(Repository.UnitOfWork transaction, String parameterName) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)parameterName
- the name of the parameter to remove (cannot be empty)KException
- if an error occursvoid setDescription(Repository.UnitOfWork transaction, String newDescription) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)newDescription
- the new value of the annotation
option (can only be empty when removing)KException
- if an error occursvoid setNameInSource(Repository.UnitOfWork transaction, String newNameInSource) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)newNameInSource
- the new name in source option (can only be empty when removing)KException
- if an error occursvoid setUpdateCount(Repository.UnitOfWork transaction, long newUpdateCount) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)newUpdateCount
- the new value of the update count
optionKException
- if an error occursvoid setUuid(Repository.UnitOfWork transaction, String newUuid) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)newUuid
- the new value of the UUID
option (can only be empty when removing)KException
- if an error occursCopyright © 2013–2019. All rights reserved.