Interface ContentPackage
- All Superinterfaces:
Comparable<Package>
,Lockable
,Package
The interface
ContentPackage
represents a package which contains
content nodes. Content nodes are StoreElement
's from
these stores (pagestore, sitestore and mediastore)- Since:
- 3.1.158
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.espirit.firstspirit.access.packagepool.Package
Package.Type
-
Field Summary
Fields inherited from interface de.espirit.firstspirit.access.packagepool.Package
CONTENT_PACKAGE, TEMPLATE_PACKAGE, WF_ACTUALIZE, WF_CONFLICT, WF_ERROR, WF_OK, WF_RELEASE
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSitestoreVariable
(String name) Deprecated.since 5.0.101 - no replacementDeprecated.since 5.0.101 - no replacement@Nullable TemplatePackage
Returns the TemplatePackage on which this ContentPackage is dependent ornull
if no dependent TemplatePackage existing for this ContentPackage.boolean
isValidNodeType
(StoreElement node) void
Deprecated.since 5.0.101 - no replacementvoid
setTemplatePackage
(TemplatePackage templatePackage) Sets the given TemplatePackage as the dependent template package for this ContentPackage.
Before the import of this ContentPackage the dependent TemplatePackage will be imported.Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface de.espirit.firstspirit.access.Lockable
isChanged, isLocked, lock, refresh, save, unlock
Methods inherited from interface de.espirit.firstspirit.access.packagepool.Package
addAuthorisedUser, addPublishUser, addResponsibleUser, addStartNode, containsStartNode, createVersion, createVersion, delete, getAllNameSpaceEnhancements, getAllOverwriteDuringImportSettings, getAuthorisedUsers, getComment, getCustomEventNames, getCustomEventScriptName, getCustomEventScripts, getId, getName, getPackageType, getPublisher, getPublishUsers, getResponsibleUsers, getStartNodes, getStartNodes, getType, getVersion, getVersions, getWorkflowName, isAvailable, isReadOnly, overwriteDuringImport, overwriteDuringImport, publishPackage, publishPackage, removeAuthorisedUser, removeCustomEvent, removePublishUser, removeResponsibleUser, removeStartNode, removeVersion, setAvailable, setComment, setCustomScriptName, setName, setOverwriteDuringImport, setOverwriteDuringImport, setReadOnly, setUseNameSpaceEnhancement, setUseNameSpaceEnhancement, setWorkflow, subscribePackage, subscribePackage, useNameSpaceEnhancement, useNameSpaceEnhancement
-
Method Details
-
isValidNodeType
- Specified by:
isValidNodeType
in interfacePackage
- Returns:
true
, if the node is from one of the above stores.- Since:
- 3.1.158
-
getSitestoreVariables
Deprecated.since 5.0.101 - no replacementAlways returns an empty set.- Returns:
- An empty set.
-
addSitestoreVariable
Deprecated.since 5.0.101 - no replacementDoes nothing.- Parameters:
name
- A name.
-
removeSitestoreVariable
Deprecated.since 5.0.101 - no replacementDoes nothing.- Parameters:
name
- A name.
-
getTemplatePackage
Returns the TemplatePackage on which this ContentPackage is dependent ornull
if no dependent TemplatePackage existing for this ContentPackage.- Returns:
- TemplatePackage the dependent TemplatePackage.
- Since:
- 3.1.158
-
setTemplatePackage
Sets the given TemplatePackage as the dependent template package for this ContentPackage.
Before the import of this ContentPackage the dependent TemplatePackage will be imported.- Parameters:
templatePackage
- to set as dependent TemplatePackage- Since:
- 3.1.158
-