Interface GCAFolder
- All Superinterfaces:
Comparable<StoreElement>,HistoryProvider,IDProvider,StoreElement,StoreElementFolder,Workflowable
- All Known Subinterfaces:
GlobalContentArea
This interface represents folders in
globalstore- Since:
- 3.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.espirit.firstspirit.storage.HistoryProvider
HistoryProvider.RevisionProviderNested classes/interfaces inherited from interface de.espirit.firstspirit.access.store.IDProvider
IDProvider.DependentReleaseType, IDProvider.RevertType, IDProvider.UidType -
Field Summary
Fields inherited from interface de.espirit.firstspirit.storage.HistoryProvider
ALL_REVISIONS, EVER_SINCE, UNTIL_NOWFields inherited from interface de.espirit.firstspirit.access.store.IDProvider
CHANGED, NEVER_RELEASED, RELEASED -
Method Summary
Modifier and TypeMethodDescriptioncreateGCAFolder(String uidSuggestion) Create a new GCA-folder as a subfolder of this folder.createGCAFolder(String uidSuggestion, boolean unifyUid) Create a new GCA-folder as a subfolder of this folder.createGCAFolder(String uid, Map<Language, String> lang2DisplayName, boolean unifyUid) Create a new GCAFolder as a subfolder of this folder.createGCAPage(String uidSuggestion, Template pageTemplate) Create a new Page in the current GCA-folder based on the givenPageTemplatecreateGCAPage(String uidSuggestion, Template pageTemplate, boolean unifyUid) Create a new Page in the current GCA-Folder based on the givenPageTemplatecreateGCAPage(String uidSuggestion, Template pageTemplate, boolean unifyUid, Map<Language, String> lang2DisplayName) Create a new Page in the current GCA-Folder based on the givenPageTemplate@NotNull StringgetName()Get the name of the GCA-foldervoidSet the name of the GCA-folderMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface de.espirit.firstspirit.storage.HistoryProvider
asRevisionProvider, getHistory, getHistoryMethods inherited from interface de.espirit.firstspirit.access.store.IDProvider
contrastWith, getDisplayName, getId, getInRevision, getLanguageInfo, getLongID, getMeta, getMetaFormData, getParent, getReleasedBy, getReleaseRevision, getReleaseRevision, getReleaseStatus, getReleaseStatus, getRevision, getUid, getUidType, hasMeta, hasUid, isInReleaseStore, isInReleaseStore, isReachableInReleaseStore, isReleased, isReleased, isReleaseSupported, moveChild, moveChild, release, release, release, release, revert, setDisplayName, setMeta, setMetaFormData, setUidMethods inherited from interface de.espirit.firstspirit.access.store.StoreElement
appendChild, appendChildBefore, delete, exportStoreElement, getChildCount, getChildIndex, getChildren, getChildren, getChildren, getChildren, getCreateWorkflowPermission, getDefinedPrincipalPermissions, getEditor, getElementType, getFirstChild, getIncomingReferences, getInheritedPrincipalPermissions, getLastChanged, getNextSibling, getOutgoingReferences, getPermission, getPermission, getPermission, getPreviousSibling, getProject, getReferenceName, getReferences, 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, toXmlMethods inherited from interface de.espirit.firstspirit.access.Workflowable
getColor, getTask, hasTask, removeTask, setColor, setTask
-
Method Details
-
createGCAFolder
Create a new GCA-folder as a subfolder of this folder. The given uidSuggestion will be unified on the server if necessary. CallscreateGCAFolder(uidSuggestion, true)- Parameters:
uidSuggestion- the suggestion for theuidof the created folder- Returns:
- the created GCAFolder
- Throws:
LockException- if this GCAFolder is locked in a different session on the serverElementDeletedException- Since:
- 3.0
- See Also:
-
createGCAFolder
GCAFolder createGCAFolder(String uidSuggestion, boolean unifyUid) throws LockException, DuplicateReferenceNameException, ElementDeletedException Create a new GCA-folder as a subfolder of this folder.- Parameters:
uidSuggestion- the suggestion for theuidof the created folderunifyUid- usetrueif the given uidSuggestion should be unified on the server,falseotherwise- Returns:
- the created GCAFolder
- Throws:
LockException- if this GCAFolder is locked in a different session on the serverDuplicateReferenceNameException- ifunifyUid==falseand the given uidSuggestion is not unique on the serverElementDeletedException- Since:
- 4.0
-
createGCAFolder
GCAFolder createGCAFolder(String uid, Map<Language, String> lang2DisplayName, boolean unifyUid) throws ElementDeletedException, LockException, DuplicateReferenceNameExceptionCreate a new GCAFolder as a subfolder of this folder.- Parameters:
uid- uid of the new PageFolderlang2DisplayName- mapping of language to language specific displayname; used to createLanguageInfonodesunifyUid- iffalseaDuplicateReferenceNameExceptionmay be thrown, iftruethe uid will be unified on the server if necessary- Returns:
- GCAFolder as an object
- Throws:
LockException- if this folder is locked in another sessionDuplicateReferenceNameException- if unifyNameOnServer isfalseand an element with the given uid in the same namescope already exits on the serverElementDeletedException- Since:
- 4.0.90
-
createGCAPage
GCAPage createGCAPage(String uidSuggestion, Template pageTemplate) throws IOException, LockException, DuplicateReferenceNameException, ElementDeletedException Create a new Page in the current GCA-folder based on the givenPageTemplate- Parameters:
uidSuggestion- the suggestion for theuidof the created pagepageTemplate-PageTemplateon which the new GCAPage will be based- Returns:
- the created GCAPage
- Throws:
LockException- if this GCAFolder is locked in a different session on the serverDuplicateReferenceNameException- if the given uidSuggestion is not unique on the serverIOExceptionElementDeletedException- Since:
- 3.0
-
createGCAPage
GCAPage createGCAPage(String uidSuggestion, Template pageTemplate, boolean unifyUid) throws LockException, DuplicateReferenceNameException, ElementDeletedException Create a new Page in the current GCA-Folder based on the givenPageTemplate- Parameters:
uidSuggestion- the suggestion for theuidof the created pagepageTemplate-PageTemplateon which the new GCAPage will be basedunifyUid- usetrueif the given uidSuggestion should be unified on the server,falseotherwise- Returns:
- the created GCAPage
- Throws:
LockException- if this GCAFolder is locked in a different session on the serverDuplicateReferenceNameException- ifunifyUid==falseand the given uidSuggestion is not unique on the serverElementDeletedException- Since:
- 4.0
-
createGCAPage
GCAPage createGCAPage(String uidSuggestion, Template pageTemplate, boolean unifyUid, Map<Language, String> lang2DisplayName) throws LockException, DuplicateReferenceNameException, ElementDeletedExceptionCreate a new Page in the current GCA-Folder based on the givenPageTemplate- Parameters:
uidSuggestion- the suggestion for theuidof the created pagepageTemplate-PageTemplateon which the new GCAPage will be basedunifyUid- usetrueif the given uidSuggestion should be unified on the server,falseotherwiselang2DisplayName- mapping of language to language specific displayname; used to createLanguageInfonodes- Returns:
- the created GCAPage
- Throws:
LockException- if this GCAFolder is locked in a different session on the serverDuplicateReferenceNameException- ifunifyUid==falseand the given uidSuggestion is not unique on the serverElementDeletedException- Since:
- 4.1.10
-
getName
Get the name of the GCA-folder- Specified by:
getNamein interfaceStoreElement- Returns:
- name of the GCA-folder
- Since:
- 3.0
-
setName
Set the name of the GCA-folder- Parameters:
name- name of the GCA-folder- Throws:
LockException- Since:
- 3.0
-