public interface Template extends RelationalObject
RelationalObject.Filter
Modifier and Type | Field and Description |
---|---|
static String |
CLASSNAME_KEY
Class name property key
|
static String |
CONN_FACTORY_CLASS_KEY
Connection factory class property key
|
static KomodoType |
IDENTIFIER
Identifier of this object
|
static Template[] |
NO_TEMPLATES
An empty array of templates.
|
static TypeResolver<Template> |
RESOLVER
The resolver of a
Template . |
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 |
---|---|
TemplateEntry |
addEntry(Repository.UnitOfWork transaction,
String entryName) |
List<TemplateEntry> |
getEntries(Repository.UnitOfWork transaction,
String... namePatterns) |
String |
getId(Repository.UnitOfWork transaction) |
boolean |
isJdbc(Repository.UnitOfWork transaction) |
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 String CONN_FACTORY_CLASS_KEY
static final String CLASSNAME_KEY
static final int TYPE_ID
static final KomodoType IDENTIFIER
static final Template[] NO_TEMPLATES
static final TypeResolver<Template> RESOLVER
Template
.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
boolean isJdbc(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 error occursTemplateEntry addEntry(Repository.UnitOfWork transaction, String entryName) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)entryName
- KException
List<TemplateEntry> getEntries(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 (can be null
or empty but cannot have null
or empty elements)KException
Copyright © 2013–2019. All rights reserved.