public interface ProjectProperties extends IDProvider, DataProvider, TemplateProvider<PageTemplate>
IDProvider.DependentReleaseType, IDProvider.RevertType, IDProvider.UidType
HistoryProvider.RevisionProvider
CHANGED, NEVER_RELEASED, RELEASED
ALL_REVISIONS, EVER_SINCE, UNTIL_NOW
Modifier and Type | Method and Description |
---|---|
PageTemplate |
getTemplate()
Returns the template for this project properties or throws a
ReferenceNotFoundException if no template is defined or
defined template couldn't be found. |
boolean |
isTemplateDefined()
Indicates whether a project properties template is defined or not.
|
void |
setTemplate(PageTemplate template)
Sets the template for this project properties.
|
void |
setTemplate(Template template)
Deprecated.
since 4.2.25. Use
setTemplate(de.espirit.firstspirit.access.store.templatestore.PageTemplate) . |
clearCachedData, getData, getFormData, setData, setFormData
contrastWith, getDisplayName, getId, getInRevision, getLanguageInfo, getLongID, getMeta, getMetaFormData, getParent, getReleasedBy, getReleaseRevision, getReleaseStatus, getRevision, getUid, getUidType, hasMeta, hasUid, isInReleaseStore, isReleased, isReleaseSupported, moveChild, moveChild, release, release, revert, setMeta, setMetaFormData, setUid
appendChild, appendChildBefore, delete, exportStoreElement, getChildCount, getChildIndex, getChildren, getChildren, getChildren, getChildren, getCreateWorkflowPermission, getDefinedPrincipalPermissions, getEditor, getElementType, getFirstChild, getIncomingReferences, getInheritedPrincipalPermissions, getLastChanged, getName, getNextSibling, getOutgoingReferences, getPermission, getPermission, getPermission, 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, update
getColor, getTask, hasTask, removeTask, setColor, setTask
compareTo
asRevisionProvider, getHistory, getHistory
@NotNull PageTemplate getTemplate() throws ReferenceNotFoundException
ReferenceNotFoundException
if no template is defined or
defined template couldn't be found.getTemplate
in interface TemplateProvider<PageTemplate>
ReferenceNotFoundException
- if template is missingsetTemplate(de.espirit.firstspirit.access.store.templatestore.PageTemplate)
,
isTemplateDefined()
@Deprecated void setTemplate(@Nullable Template template)
setTemplate(de.espirit.firstspirit.access.store.templatestore.PageTemplate)
.template
- must be an instance of PageTemplate
or null
ClassCastException
- if provided template is not a page template
.void setTemplate(@Nullable PageTemplate template)
template
- new template or null
getTemplate()
boolean isTemplateDefined()
false
a call of getTemplate()
will throw
a ReferenceNotFoundException
true
if a template is defined for this project properties, false
otherwisegetTemplate()
Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500