Interface DocLink
- All Superinterfaces:
Comparable<StoreElement>
,StoreElement
,Workflowable
This interface represents a document link.
- Since:
- 4.0
-
Method Summary
Modifier and TypeMethodDescriptiongetTarget
(boolean release) Gets the target referenced by this element link.Provides the target element.long
Returns the ID of the IDProvider referenced by this DocLinkMethods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface de.espirit.firstspirit.access.store.StoreElement
appendChild, appendChildBefore, delete, exportStoreElement, getChildCount, getChildIndex, getChildren, getChildren, getChildren, getChildren, getCreateWorkflowPermission, getDefinedPrincipalPermissions, getEditor, getElementType, getFirstChild, getIncomingReferences, getInheritedPrincipalPermissions, getLastChanged, getName, getNextSibling, getOutgoingReferences, getParent, getPermission, getPermission, getPermission, getPreviousSibling, getProject, getReferenceName, getReferences, getStore, getTreePermission, getWorkflowPermission, getWorkflowPermissions, getWriteLock, hasIncomingReferences, hasPermissions, importStoreElement, importStoreElements, inheritWorkflowPermission, isDeleted, isExportSupported, isFolder, isImportSupported, isLocked, isLockedOnServer, isLockSupported, isPermissionSupported, isWorkflowAllowed, isWorkflowSupported, refresh, removeAllWorkflowPermissions, removeChild, removePermission, removePermission, removePermission, removeWorkflowPermission, replaceChild, save, save, save, setInheritWorkflowPermission, setLock, setLock, setPermission, setPermission, setPermission, setWorkflowPermission, setWorkflowPermissions, setWriteLock, toXml, toXml, toXml
Methods inherited from interface de.espirit.firstspirit.access.Workflowable
getColor, getTask, hasTask, removeTask, setColor, setTask
-
Method Details
-
getTargetId
long getTargetId()Returns the ID of the IDProvider referenced by this DocLink- Since:
- 4.0
-
getTarget
Provides the target element. Givesnull
, if the target is not (or no longer) in the specified store.- Parameters:
store
- The store.- Returns:
- The linked
IDProvider
-node ornull
. - Since:
- 4.0
-
getTarget
Gets the target referenced by this element link. Returnsnull
ifrelease = true
and target is not in release store.- Parameters:
release
- specifies if the target is returned from release or current store- Returns:
- the linked
IDProvider
-node ornull
if the target is not (or no longer) in the specified store. - Throws:
IOException
- Since:
- 4.0
-