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 underlyingContent2
element.
Shortcut forgetData(getProject().getMasterLanguage()))
.Returns the list of entities respecting defined filter and ordering of the underlyingContent2
element.Returns the entity type this content2 script context belongs to.@Nullable Entity
Methods inherited from interface de.espirit.firstspirit.access.BaseContext
is
Methods inherited from interface de.espirit.firstspirit.access.ClientScriptContext
getElement, getStoreElement, getUser, getUserGroups
Methods inherited from interface de.espirit.firstspirit.access.GuiScriptContext
getGuiHost, getScript, isOnHomePage, showForm, showForm, showForm
Methods inherited from interface de.espirit.firstspirit.access.project.ProjectScriptContext
getProject, getUserService
Methods inherited from interface de.espirit.firstspirit.access.ScriptContext
getConnection, getProperties, getProperty, logDebug, logError, logError, logInfo, logWarning, removeProperty, setProperty
Methods 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 underlyingContent2
element.
Shortcut forgetData(getProject().getMasterLanguage()))
.- Returns:
- The list of entities respecting defined filter and ordering of the underlying
Content2
element. - Since:
- 3.0
- See Also:
-
getData
Returns the list of entities respecting defined filter and ordering of the underlyingContent2
element.- Parameters:
language
- The project language to be used for select.- Returns:
- The list of entities respecting defined filter and ordering of the underlying
Content2
element. - 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
-