public interface GCAFolder extends IDProvider, StoreElementFolder
globalstore
IDProvider.DependentReleaseType, IDProvider.RevertType, IDProvider.UidType
HistoryProvider.RevisionProvider
CHANGED, NEVER_RELEASED, RELEASED
ALL_REVISIONS, EVER_SINCE, UNTIL_NOW
Modifier and Type | Method and Description |
---|---|
GCAFolder |
createGCAFolder(String uidSuggestion)
Create a new GCA-folder as a subfolder of this folder.
|
GCAFolder |
createGCAFolder(String uidSuggestion,
boolean unifyUid)
Create a new GCA-folder as a subfolder of this folder.
|
GCAFolder |
createGCAFolder(String uid,
Map<Language,String> lang2DisplayName,
boolean unifyUid)
Create a new GCAFolder as a subfolder of this folder.
|
GCAPage |
createGCAPage(String uidSuggestion,
Template pageTemplate)
Create a new Page in the current GCA-folder based on the given
PageTemplate |
GCAPage |
createGCAPage(String uidSuggestion,
Template pageTemplate,
boolean unifyUid)
Create a new Page in the current GCA-Folder based on the given
PageTemplate |
GCAPage |
createGCAPage(String uidSuggestion,
Template pageTemplate,
boolean unifyUid,
Map<Language,String> lang2DisplayName)
Create a new Page in the current GCA-Folder based on the given
PageTemplate |
String |
getName()
Get the name of the GCA-folder
|
void |
setName(String name)
Set the name of the GCA-folder
|
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, 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
GCAFolder createGCAFolder(String uidSuggestion) throws LockException, ElementDeletedException
createGCAFolder(uidSuggestion, true)
uidSuggestion
- the suggestion for the uid
of the created folderLockException
- if this GCAFolder is locked in a different session on the serverElementDeletedException
createGCAPage(String, de.espirit.firstspirit.access.store.templatestore.Template, boolean)
GCAFolder createGCAFolder(String uidSuggestion, boolean unifyUid) throws LockException, DuplicateReferenceNameException, ElementDeletedException
uidSuggestion
- the suggestion for the uid
of the created folderunifyUid
- use true
if the given uidSuggestion should be unified on the server, false
otherwiseLockException
- if this GCAFolder is locked in a different session on the serverDuplicateReferenceNameException
- if unifyUid==false
and the given uidSuggestion is not unique on the serverElementDeletedException
GCAFolder createGCAFolder(String uid, Map<Language,String> lang2DisplayName, boolean unifyUid) throws ElementDeletedException, LockException, DuplicateReferenceNameException
uid
- uid of the new PageFolderlang2DisplayName
- mapping of language to language specific displayname; used to create LanguageInfo
nodesunifyUid
- if false
a DuplicateReferenceNameException
may be thrown, if
true
the uid will be unified on the server if necessaryLockException
- if this folder is locked in another sessionDuplicateReferenceNameException
- if unifyNameOnServer is false
and an element with the given uid in the same namescope already exits on the serverElementDeletedException
GCAPage createGCAPage(String uidSuggestion, Template pageTemplate) throws IOException, LockException, DuplicateReferenceNameException, ElementDeletedException
PageTemplate
uidSuggestion
- the suggestion for the uid
of the created pagepageTemplate
- PageTemplate
on which the new GCAPage will be basedLockException
- if this GCAFolder is locked in a different session on the serverDuplicateReferenceNameException
- if the given uidSuggestion is not unique on the serverIOException
ElementDeletedException
GCAPage createGCAPage(String uidSuggestion, Template pageTemplate, boolean unifyUid) throws LockException, DuplicateReferenceNameException, ElementDeletedException
PageTemplate
uidSuggestion
- the suggestion for the uid
of the created pagepageTemplate
- PageTemplate
on which the new GCAPage will be basedunifyUid
- use true
if the given uidSuggestion should be unified on the server, false
otherwiseLockException
- if this GCAFolder is locked in a different session on the serverDuplicateReferenceNameException
- if unifyUid==false
and the given uidSuggestion is not unique on the serverElementDeletedException
GCAPage createGCAPage(String uidSuggestion, Template pageTemplate, boolean unifyUid, Map<Language,String> lang2DisplayName) throws LockException, DuplicateReferenceNameException, ElementDeletedException
PageTemplate
uidSuggestion
- the suggestion for the uid
of the created pagepageTemplate
- PageTemplate
on which the new GCAPage will be basedunifyUid
- use true
if the given uidSuggestion should be unified on the server, false
otherwiselang2DisplayName
- mapping of language to language specific displayname; used to create LanguageInfo
nodesLockException
- if this GCAFolder is locked in a different session on the serverDuplicateReferenceNameException
- if unifyUid==false
and the given uidSuggestion is not unique on the serverElementDeletedException
@NotNull String getName()
getName
in interface StoreElement
void setName(String name) throws LockException
name
- name of the GCA-folderLockException
Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500