T
- the type of data service resourcepublic interface DataServiceResourceEntry<T extends DataServiceResource> extends DataServiceEntry<T>
DataServiceEntry.PublishPolicy
RelationalObject.Filter
NO_CONTENT
DDL_QNAMES_FILTER, DEFAULT_FILTERS, JCR_FILTER, NO_FILTERS, NT_FILTER, RESIDUAL_FILTER
EMPTY_ARRAY
Modifier and Type | Method and Description |
---|---|
default InputStream |
getContent(Repository.UnitOfWork transaction) |
T |
getResource(Repository.UnitOfWork uow) |
default void |
setResource(Repository.UnitOfWork uow,
T resource) |
export, getArchiveFolder, getDocumentType, getEntryPath, getPublishPolicy, getReference, setEntryPath, setPublishPolicy, setReference
getName
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
T getResource(Repository.UnitOfWork uow) throws KException
uow
- the transaction (cannot be null
and must have a state of Repository.UnitOfWork.State.NOT_STARTED
)null
if not yet assigned)KException
- if an error occursdefault InputStream getContent(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
and must have a state of Repository.UnitOfWork.State.NOT_STARTED
)InputStream
(can be null
)KException
- if an error occursdefault void setResource(Repository.UnitOfWork uow, T resource) throws KException
uow
- the transaction (cannot be null
and must have a state of Repository.UnitOfWork.State.NOT_STARTED
)resource
- the associated resource (can be null
when removing current resource)KException
- if an error occursCopyright © 2013–2019. All rights reserved.