Interface Content2ScriptContext
- All Superinterfaces:
BaseContext,ClientScriptContext,GuiScriptContext,ProjectScriptContext,ScriptContext,SpecialistsBroker
Scripts which are started on an contentstore entity entry (e.g. in java client)
have an instance of Content2ScriptContext stored in variable 'context'.
- Since:
- 3.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.espirit.firstspirit.access.BaseContext
BaseContext.Env -
Method Summary
Modifier and TypeMethodDescriptiongetData()Returns the list of entities respecting defined filter and ordering of the underlyingContent2element.
Shortcut forgetData(getProject().getMasterLanguage())).Returns the list of entities respecting defined filter and ordering of the underlyingContent2element.Returns the entity type this content2 script context belongs to.@Nullable EntityMethods inherited from interface de.espirit.firstspirit.access.BaseContext
isMethods inherited from interface de.espirit.firstspirit.access.ClientScriptContext
getElement, getStoreElement, getUser, getUserGroupsMethods inherited from interface de.espirit.firstspirit.access.GuiScriptContext
getGuiHost, getScript, isOnHomePage, showForm, showForm, showFormMethods inherited from interface de.espirit.firstspirit.access.project.ProjectScriptContext
getProject, getUserServiceMethods inherited from interface de.espirit.firstspirit.access.ScriptContext
getConnection, getProperties, getProperty, logDebug, logError, logError, logInfo, logWarning, removeProperty, setPropertyMethods inherited from interface de.espirit.firstspirit.agency.SpecialistsBroker
requestSpecialist, requireSpecialist
-
Method Details
-
getEntityType
EntityType getEntityType()Returns the entity type this content2 script context belongs to.- Returns:
- The entity type this content2 script context belongs to.
- Since:
- 4.0
-
getData
Returns the list of entities respecting defined filter and ordering of the underlyingContent2element.
Shortcut forgetData(getProject().getMasterLanguage())).- Returns:
- The list of entities respecting defined filter and ordering of the underlying
Content2element. - Since:
- 3.0
- See Also:
-
getData
Returns the list of entities respecting defined filter and ordering of the underlyingContent2element.- Parameters:
language- The project language to be used for select.- Returns:
- The list of entities respecting defined filter and ordering of the underlying
Content2element. - Since:
- 4.2.442
- See Also:
-
getSelectedRow
- Returns:
- the current selected row object or
null, if no row is selected or no gui is attached - Since:
- 3.0
-