Uses of Annotation Interface
de.espirit.common.ApiDoc
Package
Description
-
Uses of ApiDoc in de.espirit.common.event
Modifier and TypeMethodDescriptionvoid
ValueChangeNotifier.addChangeListener
(de.espirit.common.event.ValueChangeListener listener) Register a change listener.void
ValueChangeNotifier.removeChangeListener
(de.espirit.common.event.ValueChangeListener listener) Unregister a change listener. -
Uses of ApiDoc in de.espirit.common.util
-
Uses of ApiDoc in de.espirit.firstspirit.access
Modifier and TypeMethodDescriptionvoid
Workflowable.delete()
Deletes this Workflowable.@Nullable Color
Workflowable.getColor()
Get the color of the current state.@Nullable Context
GenerationContext.getContext
(String name) Return aContext
by given name.@Nullable Dataset
GenerationContext.getDataset()
Returns the firstDataset
if this page is a content page, otherwisenull
.boolean
GenerationContext.getDebugMode()
If debug mode is switched on java stack traces are included in the template log.GenerationContext.getEncoding()
Get file encoding.GenerationContext.getJson()
Retrieves the json settings for this generation context.@Nullable Context
GenerationContext.getPageContext()
Return the page context if set.int
GenerationContext.getPageIndex()
Provides the actual page index in case of multi-pages.@NotNull PageParams
GenerationContext.getPageParams()
Get the page params of the page which is generated.@Nullable ScheduleContext
GenerationContext.getScheduleContext()
Get the actual schedule context - this is only set when the generate process is initiated from the scheduler.@NotNull Date
GenerationContext.getStartTime()
Start time of generate process.@Nullable Task
Workflowable.getTask()
Get the possible assignedTask
or null.boolean
Workflowable.hasTask()
Does this elements has aTask
assigned?boolean
GenerationContext.isForceEditorIds()
Returns whether or not the editor identifier should be generated regardless of the current environment.boolean
GenerationContext.isHtmlMode()
Returns whether or not the context is currently generating html code (default istrue
).boolean
GenerationContext.isPreviewRulesEvaluation()
Returns whether or not rules should be evaluated for the editor identifiers.void
Workflowable.removeTask()
Removes a already set Task.void
Set a new color.void
GenerationContext.setDebugMode
(boolean value) If debug mode is switched on java stack traces are included in the template log.void
GenerationContext.setForceEditorIds
(boolean value) Tells the generation context whether or not the editor identifier should be generated regardless of the current environment.void
GenerationContext.setHtmlMode
(boolean value) Tells the generation context whether or not html code will be generated currently.void
GenerationContext.setPreviewRulesEvaluation
(boolean value) Tells the generation context whether or not rules should be evaluated for the editor identifiers.void
Set the givenTask
. -
Uses of ApiDoc in de.espirit.firstspirit.access.editor.fslist
Modifier and TypeMethodDescriptionIdProvidingFormData.getId()
Get the current form data identifier.@Nullable Template
IdProvidingFormData.getTemplate()
Returns the template for this form data instance if any. -
Uses of ApiDoc in de.espirit.firstspirit.access.editor.value
Modifier and TypeMethodDescriptionvoid
Permissions.addChangeListener
(de.espirit.common.event.ValueChangeListener listener) Adds a listener being informed on changes within these permissions.void
Table.addColumn
(int index) Adds a new column at the specified index.void
Table.addRow
(int index) Adds a new row at the specified index.void
DomElement.adopt
(DomElement element) Adopts all values from the given element.void
Table.deleteColumn
(int column) Deletes the column with the specified indexvoid
Table.deleteRow
(int row) Deletes the row with the specified index@Nullable Element
Compute a difference between this element and the given one.Compute a difference between this element and the given one.DomElement.get()
Returns root element.Permissions.get()
Provides the permissions definition element.@Nullable IDProvider
TargetReference.get()
Get the reference of the element currently set in this TargetReference.Permissions.getActivityNames()
Provides a list of names for defined activities.Permissions.getAllowed
(String operation) Returns all allowed group IDs, if the permissions are not inherited.Permissions.getAllowedExplicit
(String operation) Returns all explicitly allowed group paths, if the permissions are not inherited.BinaryMedium.getAltText()
Returns the alt text.MappingMedium.getAreas()
Provides the areas defined for mapping to links.@Nullable TableCell
Table.getCell
(int row, int column) Gets thecell
of this table with the givenrow
&col
index ornull
if no cell exists with these indices.int
Table.getColumns()
Returns the numer of existing columns in this tableBinaryMedium.getComment()
Gets a comment.@Nullable Content2
TargetReference.getContent()
@Nullable Dataset
DatasetContainer.getDataset()
The stored dataset - may be null@Nullable DocumentGroup
TargetReference.getDocumentGroup()
Table.getDom()
Returns the element node of this table.BinaryMedium.getElement()
Returns the element of the binary medium.BinaryMedium.getElementName()
Returns the element name of the binary medium.BinaryMedium.getFile()
Returns the file of the binary medium.BinaryMedium.getFolder()
Returns the folder of the binary medium.Permissions.getForbidden
(String operation) Returns all forbidden group IDs, if the permissions are not inherited.Permissions.getForbiddenExplicit
(String operation) Returns all explicitly forbidden group paths, if the permissions are not inherited.@Nullable UUID
DatasetContainer.getGid()
The gid of the entityPermissions.getGroupsName()
Provides the name of groups.int
MappingMedium.getHeight()
Provides the height of the medium.MappingMedium.getImage()
Provides the medium the map bases upon.@Nullable KeyValue
DatasetContainer.getKey()
The key value of the entity.Option.getKey()
Get a textual key of this option.Try getting a label in the following order: the label for the specified language; the label for thefallback language
; the value itself.Convenience method to get a label based on a language abbreviation.BinaryMedium.getLanguage()
Returns the language of the binary medium.DatasetContainer.getLanguage()
The language for which this value is stored.TargetReference.getLanguage()
Get the language of the selected reference.@Nullable Media
TargetReference.getMedia()
Returns a set medium if any ornull
if reference is not a type ofMedia
.BinaryMedium.getMedium()
Returns the medium of the binary medium.de.espirit.common.event.SimpleValueChangeNotifier
Permissions.getNotifier()
Provides a notifier on changes within these permissions.@Nullable Page
TargetReference.getPage()
Returns a set page or null if referenced element is not type ofPage
.@Nullable PageRef
TargetReference.getPageRef()
Returns a set page reference ornull
if referenced element is not type ofPageRef
.BinaryMedium.getPicture()
Returns the picture of the binary medium.@NotNull Priority
Permissions.getPriority()
Provides the priority setting for this permissions.BinaryMedium.getRemoteName()
Returns the remote name.@Nullable String
TargetReference.getRemoteSymName()
Return the symbolic remote project name set in the local remote project configuration.MappingMedium.getResolution()
Provides the medium's resolution.DomElement.getRoot()
Returns root node (<DOM>
).int
Table.getRows()
Returns the number of existing rows in this table.@Nullable Section<?>
TargetReference.getSection()
Get the referenced section.TargetReference.getSectionName()
Return the name of theSection
if the referenced element is of type Section.TargetReference.getStoreType()
Get the kind ofStore.Type
for the selected item.DatasetContainer.getTemplateUid()
Theuid
of the template.BinaryMedium.getType()
Returns the type of this binary medium.TargetReference.getUid()
Retrieve the referenced element's unique id.TargetReference.getUidType()
Get theIDProvider.UidType
of the given element.Option.getValue()
Get the value of this option.int
MappingMedium.getWidth()
Provides the width of the medium.boolean
Indicates whether thisOption
should be ignored and therefore hidden in the gui for the provided language.boolean
BinaryMedium.isEmpty()
Checks if this binary medium is empty.boolean
DatasetContainer.isEmpty()
Shortcut for
.DatasetContainer.getDataset()
== nullboolean
DomElement.isEmpty()
Returnstrue
if this element has no content.boolean
Permissions.isEmpty()
Indicates that no permissions are defined.boolean
Table.isEmpty()
Indicates whether this table is empty or not.boolean
TargetReference.isEmpty()
Tests if thisTargetReference
currently has no element set.boolean
Permissions.isInherited()
Indicates that permissions of this container are inherited.@Nullable Section<?>
TargetReference.loadSection
(@NotNull Page page, String sectionName) Load a section of the given referenced page identified by its section name.void
Sets the givenhtml
.void
Set the label for the specified language.void
Convenience method to put a label based on a language abbreviation.void
Permissions.removeChangeListener
(de.espirit.common.event.ValueChangeListener listener) Removes a listener.void
Replaces this table with the given table.void
TargetReference.resetTo
(IDProvider reference, @Nullable String remote) Reset the reference and the remote information and infer settings for UID and UidType.void
Sets the given xml.void
Sets root element.void
Set the permission definition element.void
TargetReference.set
(IDProvider reference) Set a new element reference of typeIDProvider
and infer settings for UID and UidType.void
Permissions.setAllowed
(String operation, Collection<String> groups) Sets the allowed groups for the given operation.void
BinaryMedium.setAltText
(String altText) Sets an alt text for the medium.void
Allows to define the areas mapping to links.void
BinaryMedium.setComment
(String comment) Sets a comment.void
Permissions.setConnection
(Connection connection) Sets the connection to be used for permissions.void
BinaryMedium.setElementName
(String name) Set the element name.void
BinaryMedium.setFolder
(MediaFolder folder) Sets the folder of the binary medium.void
Permissions.setForbidden
(String operation, Collection<String> groups) Sets the forbidden groups for the given operation.void
Permissions.setInherited
(boolean inherited) Defines the permissions to be inherited.void
Sets the medium of the binary medium.void
Permissions.setPriority
(Priority priority) Set the priorities for this permissions.void
BinaryMedium.setRemoteName
(String remoteName) Sets a remote name for the mediumvoid
TargetReference.setRemoteSymName
(@Nullable String remoteProjectSymName) If the set element is a remote project reference, this method set the symbolic remote project name definied in the local project configuration.void
MappingMedium.setResolution
(Resolution resolution) Define the resolution to be used for the mediumvoid
TargetReference.setSection
(@Nullable Section<?> section) Set the section to be referenced.void
TargetReference.setSectionName
(@Nullable String name) Use this to set the section.void
Set the Uid of the referenced element.void
TargetReference.setUidType
(IDProvider.UidType type) Set theIDProvider.UidType
of the referenced element.DomElement.toText
(boolean asHtml) Returns html (asHtml==true
) or plain text (asHtml==false
). -
Uses of ApiDoc in de.espirit.firstspirit.access.editor.value.imagemap
Modifier and TypeMethodDescription@Nullable Link
Area.getLink()
Provides the link this area is pointing to, if any.<R> R
Area.receive
(@NotNull Area.Visitor<R> visitor) Receive the handed visitor. -
Uses of ApiDoc in de.espirit.firstspirit.access.link
Modifier and TypeMethodDescription@NotNull FormData
Link.getFormData()
Gets theformdata container
for this link.Link.getLinkLanguage()
Provides the language the link is created for.@Nullable LinkTemplate
Link.getTemplate()
Returns the link template this link is based on.Link.getText()
The display text.void
Link.setFormData
(@NotNull FormData formData) Sets the givenformdata container
for this link.void
Link.setTemplate
(LinkTemplate linkTemplate) void
Sets the text for this link. -
Uses of ApiDoc in de.espirit.firstspirit.access.store
Modifier and TypeMethodDescriptionvoid
PackagePoolItem.addToPackage
(Package pck) Adds this node, all children andreferenced nodes
which arePackagePoolItem
s to the specified package.@NotNull Set<de.espirit.firstspirit.storage.Contrast>
IDProvider.contrastWith
(IDProvider reference) Contrast the element with another one.void
StoreElement.delete()
Deletes this storeelement.void
StoreElement.exportStoreElement
(OutputStream out, @Nullable ExportHandler exportHandler) Exports this storeelement as zip file to the given outputstream.int
PackagePoolItem.getChangeState()
Returns the change state of this PackagePoolItem eitherPackagePoolItem.UNMODIFIED
,PackagePoolItem.MODIFIED
orPackagePoolItem.BLOCKED
. -1 will be returned for items which aren'tsubscribed item's
or if the state could not be establishedint
StoreElement.getChildCount()
int
StoreElement.getChildIndex
(StoreElement child) StoreElement.getChildren()
Get the element's direct children.<T extends StoreElement>
Listable<T>StoreElement.getChildren
(@NotNull Class<T> type) Get the element's direct children that are instances of the given type.<T extends StoreElement>
Listable<T>StoreElement.getChildren
(@NotNull Class<T> type, boolean recurse) Get the element's children that are instances of the given type.<T extends StoreElement>
Listable<T>StoreElement.getChildren
(Filter.TypedFilter<T> filter, boolean recurse) Get the element's children passing the given typed filter.@NotNull WorkflowPermission
StoreElement.getCreateWorkflowPermission
(@Nullable Workflow workflow) Return workflow permission object for the given workflow.StoreElement.getDefinedPrincipalPermissions()
Returns a list ofPrincipal's
for which permissions are defined at this storeelement.@NotNull String
IDProvider.getDisplayName
(Language language) Return the display name (label) for the specified language - if no language specific label is defined for this language the value for the master language is returned.@Nullable User
StoreElement.getEditor()
StoreElement.getElementType()
@Nullable StoreElement
StoreElement.getFirstChild()
Provides the first child node.long
IDProvider.getId()
Returns the unique ID of this IDProvider@NotNull ReferenceEntry[]
StoreElement.getIncomingReferences()
Returns all incoming references of thisStoreElement
.StoreElement.getInheritedPrincipalPermissions()
Returns a list ofPrincipal's
for which permissions are defined at this storelement including the inherited permissions on parent path.@Nullable IDProvider
IDProvider.getInRevision
(@NotNull Revision revision) Get this element in the state of the given revision.IDProvider.getLanguageInfo
(@NotNull Language language) Returns theLanguageInfo
node for the given languagelong
StoreElement.getLastChanged()
IDProvider.getLongID()
@Nullable FormData
IDProvider.getMetaFormData()
Returns theformdata container
of this element ornull
if there is no meta data template defined for project.@NotNull String
StoreElement.getName()
@Nullable StoreElement
StoreElement.getNextSibling()
Provides the next sibling store element.@NotNull ReferenceEntry[]
StoreElement.getOutgoingReferences()
Returns all outgoing references of thisStoreElement
.@Nullable Package
PackagePoolItem.getPackage()
Returns thePackage
this item belongs to ornull
.PackagePoolItem.getPackageName()
Returns the name of the package this item belongs to.@Nullable IDProvider
IDProvider.getParent()
@Nullable StoreElement
StoreElement.getParent()
StoreElement.getPermission()
Returns the permission object for thecurrent user
even if permission checking is turned off.StoreElement.getPermission
(Group group) Returns the correct permission object even if permission checking is turned off.StoreElement.getPermission
(User user) Returns the correct permission object even if permission checking is turned off.@Nullable StoreElement
StoreElement.getPreviousSibling()
Provides the previous store element.StoreElement.getProject()
Returns the belonging project of this storeelement.@Nullable String
StoreElement.getReferenceName()
Provided the element's reference name.StoreElement.getReferences()
Returns current outgoing references of this store element.@Nullable User
IDProvider.getReleasedBy()
The last user who released this node ornull
if this node has never been released.@Nullable Revision
IDProvider.getReleaseRevision()
int
IDProvider.getReleaseStatus()
Returns the release state of this storeelement (IDProvider.CHANGED
orIDProvider.RELEASED
orIDProvider.NEVER_RELEASED
)IDProvider.getRevision()
@NotNull Store
StoreElement.getStore()
Provides the store related to the element.de.espirit.firstspirit.store.access.PermissionMap
StoreElement.getTreePermission()
Return permissions combined from defined and inherited permissions for current user.@NotNull String
IDProvider.getUid()
Returns the unique identifier of thisIDProvider
if ithas a unique identifier
otherwise throws anUnsupportedOperationException
!@NotNull IDProvider.UidType
IDProvider.getUidType()
Returns the unique identifier type of thisIDProvider
if ithas a unique identifier
otherwise throws anUnsupportedOperationException
!@Nullable WorkflowPermission
StoreElement.getWorkflowPermission
(@Nullable Workflow workflow) Return workflow permission object for the given workflow.StoreElement.getWorkflowPermissions()
Return all existing workflow permissions.boolean
StoreElement.getWriteLock()
A write lock is a flag to prevent changes e.g. while a workflow is active for this element.boolean
StoreElement.hasIncomingReferences()
Returnstrue
if thisStoreElement
has incoming references.boolean
IDProvider.hasMeta()
Indicates that any meta data is set for this element.boolean
StoreElement.hasPermissions()
Indicates whether for this element permissions are defined or not.boolean
IDProvider.hasUid()
Returnstrue
if thisIDProvider
has a unique identifier like e.g.StoreElement.importStoreElement
(ZipFile exportFile, @Nullable ImportHandler importHandler) Imports the first root node from the given zip exportfile.StoreElement.importStoreElements
(ZipFile exportFile, @Nullable ImportHandler importHandler) Imports all root nodes from the given zip exportfile.boolean
StoreElement.inheritWorkflowPermission()
Returns aboolean
state, whether the workflow permissions should be inherited for thisStoreElement
or not.
Iftrue
the WorkflowPermissions of parentStoreElement
used,false
otherwise.
Note:
Store
has no parent and return alwaysfalse
boolean
boolean
PackagePoolItem.isChangeable()
Checks if this PackagePoolItem is changeable.boolean
StoreElement.isDeleted()
Returns the state of deletion. true if element is deleted and false if its notboolean
StoreElement.isExportSupported()
Checks if the element supports export.boolean
StoreElement.isFolder()
Checks if the element is a folder.boolean
StoreElement.isImportSupported()
Checks if the element supports import.boolean
IDProvider.isInReleaseStore()
Checks if this storeelement exists in the release representation of the belongingstore
.boolean
StoreElement.isLocked()
Checks if this node is locked by this session.boolean
StoreElement.isLockedOnServer
(boolean allSessions) Checks if this storeelement is locked on the server.boolean
StoreElement.isLockSupported()
Check this before using any lock method.boolean
PackagePoolItem.isPackageItem()
boolean
StoreElement.isPermissionSupported()
Indicates whether this element supports permissions or not.boolean
IDProvider.isReleased()
Returnstrue
if this element is currently released (not changed).boolean
IDProvider.isReleaseSupported()
Indicates wether this element supportsIDProvider.release(boolean)
or not.boolean
PackagePoolItem.isSubscribedItem()
boolean
StoreElement.isWorkflowAllowed
(@Nullable Workflow workflow, User user) Returnstrue
ifworkflow
is notnull
and is explicitly allowed to be started on this element by givenuser
orworkflow
isnull
and any workflow is allowed to be started on this element by givenuser
. ,false
otherwise.boolean
StoreElement.isWorkflowSupported()
Checks if a workflow might be executed at the element.void
IDProvider.moveChild
(IDProvider child) Insert child at last position.void
IDProvider.moveChild
(IDProvider child, int nextSiblingIndex) Insert child at index position.void
StoreElement.refresh()
Refreshes this element if there is a newer version on the server.void
IDProvider.release()
Release this node and all childs.void
IDProvider.release
(boolean releaseChilds) Release this node and optionally all childsvoid
StoreElement.removeAllWorkflowPermissions()
void
StoreElement.removeChild
(StoreElement child) Removes the given child from this element.void
PackagePoolItem.removeFromPackage
(Package pck) Removes this node, all children andnodes referencing this nodes
which arePackagePoolItems's
from the specified package.
This node needn't to belocked
when calling this method.void
StoreElement.removePermission
(Group group) Removes the permission object for a given group.void
StoreElement.removePermission
(User user) Removes the permission object for the given user.void
StoreElement.removePermission
(User[] users) Removes the permission object for several given users.void
StoreElement.removeWorkflowPermission
(Workflow workflow) void
StoreElement.replaceChild
(StoreElement oldChild, StoreElement newChild) Replaces an element's child by another child.void
IDProvider.revert
(@NotNull Revision revision, boolean recursive, @NotNull EnumSet<IDProvider.RevertType> ignoreRevertTypes) Reverts this store element to the given FSRevision.void
StoreElement.save()
Saves the node and all childs, shortcut forsave(null, true)
.void
Saves the node and all childs.void
Saves this node.void
PackagePoolItem.setChangeState
(int changeState) Sets the change state for this PackagePoolItem.void
IDProvider.setDisplayName
(@NotNull Language language, @Nullable String displayName) Sets the display name (label) for the specified language.void
StoreElement.setInheritWorkflowPermission
(boolean inherit) Sets aboolean
flag to enable or disable the inheritance of workflow permissions for thisStoreElement
.
Iftrue
the WorkflowPermissions of parentStoreElement
used,false
otherwise.
Note:
Store
has no parent andStoreElement.inheritWorkflowPermission()
return alwaysfalse
void
StoreElement.setLock
(boolean lock) Lock or unlock this element and all children.void
StoreElement.setLock
(boolean lock, boolean recursive) Lock or unlock this element, ifrecursive == true
all children are also (un)locked.void
IDProvider.setMetaFormData
(@Nullable FormData formData) Sets the givenformdata container
of this element.void
StoreElement.setPermission
(Group group, Permission permission) Set the defined permission for the given group.void
StoreElement.setPermission
(User[] users, Permission permission) Set the defined permission for several users.void
StoreElement.setPermission
(User user, Permission permission) Set the defined permission for the given user.void
Sets the unique identifier.void
StoreElement.setWorkflowPermission
(WorkflowPermission permission) void
StoreElement.setWorkflowPermissions
(WorkflowPermission[] permissions) void
StoreElement.setWriteLock
(boolean lock) A write lock is a flag to prevent changes e.g. while a workflow is active for this element.StoreElement.toXml()
Creates the xml representation of the node with all children but without indentation and line breaks.StoreElement.toXml
(boolean includeChilds) Creates the xml representation with or without all children depending on the given parameter.StoreElement.toXml
(boolean includeChildren, boolean prettyPrinting) Creates the xml representation with or without children, line breaks and indentation depending on the given parameters. -
Uses of ApiDoc in de.espirit.firstspirit.access.store.pagestore
Modifier and TypeMethodDescriptionvoid
DataProvider.clearCachedData()
Clear any cache holding the data object.void
Section.excludeFromOutput
(Language language) Excludes this section from the output for the given language.@NotNull FormData
DataProvider.getFormData()
Gets theformdata container
of this element.@org.jetbrains.annotations.Nullable long[]
Section.getLifespan()
Get the lifespan of the current section if there is one defined.@NotNull String
Section.getName()
Get the name of the sectionSection.getTemplate()
Returns the template of this element.void
Section.includeInOutput
(Language language) Includes this section in the output for the given language.boolean
Section.isInLifespan()
Indicates whether theactual time
is included in the lifespan of this section.boolean
Section.isInLifespan
(long time) Indicates whether the given timestamp is included in the lifespan of this section.boolean
Section.isInOutputIncluded
(Language language) Checks if this section is included in the output for the given language.boolean
Section.isReference()
Is this a reference section?void
Section.removeLifespan()
Remove lifespan of the current section.void
DataProvider.setFormData
(@NotNull FormData formData) Sets the givenformdata container
of this element.void
Section.setLifespan
(long from, long to) Set the lifespan of the current section.void
Set the name of a sectionvoid
Section.setTemplate
(T template) Set the template for this section. -
Uses of ApiDoc in de.espirit.firstspirit.access.store.sitestore
Modifier and TypeMethodDescription@NotNull String
PageRef.getFilename()
Returns a filename suggestions which may be used for creating urls. -
Uses of ApiDoc in de.espirit.firstspirit.access.store.templatestore
Modifier and TypeMethodDescriptionTemplateProvider.getTemplate()
Returns the template of this element. -
Uses of ApiDoc in de.espirit.firstspirit.client.access.editor.lists
Modifier and TypeMethodDescription@NotNull Catalog.Card
Factory method to create a new card based on the given template and form data.@NotNull Index.Record
Create a record from the given identifier.<T> @NotNull DataAccessSession<T>
Index.createSession
(@NotNull SpecialistsBroker broker) Creates a session based on the definition and configuration of the underlying source.default @NotNull Optional<Catalog.Card>
Search for a card with the specified unique identifier.@NotNull UUID
Catalog.Card.getId()
Provides the unique identifier of this card.@NotNull String
Index.Record.getIdentifier()
The identifier of this record.IndexAccessor.getIdentifiers()
Provides the list of identifiers as entered in the index component.@NotNull FormData
Catalog.Card.getItem()
Provides the item referred to with this card.@NotNull List<DataSnippet>
CatalogAccessor.getSnippets()
Provides a list of snippets corresponding to the entries of the original catalog component.@NotNull List<DataSnippet>
IndexAccessor.getSnippets()
Provides a list of snippets corresponding to the entries of the original index component.@NotNull Template
Catalog.Card.getTemplate()
Provides the template this card's item is based upon.@NotNull List<?>
IndexAccessor.getValues()
Provides the list of values corresponding to the entries of the original index component.boolean
IndexAccessor.isEmpty()
Indicates the index to be empty, i.e., it does not contain any entry.void
Loads the data from the given item into this card. -
Uses of ApiDoc in de.espirit.firstspirit.forms
Modifier and TypeMethodDescription@NotNull FormField<?>
Provides a property container describing the field with the given name.@NotNull GomEditorProvider
FormData.getForm()
Provides the form definition.@Nullable Long
IdentifiedFormData.getId()
Get the form data's identification.@NotNull FormDataProducer
FormDataList.getProducer()
Provides a producer able to create form-data based on the data-source definition for this editor. -
Uses of ApiDoc in de.espirit.firstspirit.generate.functions.json
Modifier and TypeMethodDescriptionint
JsonSettings.getDataRenderDepth()
Returns the set data render depth.@NotNull String
JsonSettings.getFormatVersion()
Returns the json format setting.boolean
JsonSettings.isMetaDataRendering()
Returns the metaFormData
rendering setting.boolean
JsonSettings.isPrettyPrinting()
Returns the prettyPrinting setting.boolean
JsonSettings.isSectionTemplateRendering()
Returns the section template rendering setting.@NotNull JsonSettings
JsonSettings.setDataRenderDepth
(int dataRenderDepth) Sets the render depth of linkedDataset
s in theJsonOutput
.@NotNull JsonSettings
JsonSettings.setFormatVersion
(@NotNull String formatVersion) Sets the json format version for rendering.@NotNull JsonSettings
JsonSettings.setMetaDataRendering
(boolean metaDataRendering) Turns the meta data for elements on or off.@NotNull JsonSettings
JsonSettings.setPrettyPrinting
(boolean value) Turns the prettyPrinting setting on or off.@NotNull JsonSettings
JsonSettings.setSectionTemplateRendering
(boolean sectionTemplateRendering) Turns the template rendering forSection
type elements on or off. -
Uses of ApiDoc in de.espirit.firstspirit.storage
Modifier and TypeMethodDescription@NotNull ElementProvider<Revision>
HistoryProvider.asRevisionProvider()
Return anElementProvider<Revision>
on this HistoryProvider.HistoryProvider.getHistory()
Returns the revisions history of this storeelement, starting with the newest revision descending to the initial revision.HistoryProvider.getHistory
(@NotNull Date before, @NotNull Date after, int maxCount, @Nullable Filter<Revision> filter) Returns a list of revisions of this store element in descending order.
All returned revisions are in the specified time range. -
Uses of ApiDoc in de.espirit.or.schema
Modifier and TypeMethodDescriptionEntity.copy()
Copies this entity.void
Copy the values of the givenentity
to this entity.Entity.getAttributeNames()
Return a collection of the attributes declared for this entity.Entity.getEntityType()
Return the type of this entity.@Nullable UUID
Entity.getGid()
Returns the gid of this entity, if the session supports gids and the gid is already created, elsenull
.Entity.getIdentifier()
Return the identifier of this entity.@Nullable KeyValue
Entity.getKeyValue()
Return the business key of this entity ornull
if this entity is in stateNEW
.Return the value of the specified list attribute ("to N relation").@NotNull Session
Entity.getSession()
Returns the session which was used to create or retrieve this entity.@NotNull Entity.PersistentState
Entity.getState()
Return thestate
of this entity.@Nullable Object
Return the value of theattribute
specified by the givenname
.<T> T
Return the value of the given attribute ornull
.boolean
Entity.isReleased()
Returntrue
if this entity is released elsefalse
.boolean
Entity.isValid()
Returntrue
if this entity is valid elsefalse
.void
Entity.refresh()
Refresh the content of this entity with the one stored in the database.void
Entity.rollback()
Revert all attribute changes.void
Entity.rollbackWithRelations()
Reset all changes, including relations (i.e. this may rollback delete operations of entities which has been set in relation to this entity).<T> void
Set the value of the attributeattribute
tovalue
.<T> void
Set the value of the attribute withname
to the givenvalue
.