Package com.polarion.alm.tracker.model
Interface IWikiPage
- All Superinterfaces:
IAdaptable,IChangeListener,IFolderItem,IHasCustomValues,IHasValues,IPObject,IUniqueObject
- Since:
- 3.6.0
- Author:
- Roman Kratochvil
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from interface com.polarion.alm.projects.model.IUniqueObject
KEY_ID, KEY_PROJECT -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Deletes this Wiki Page.getAttachment(String fileName) Method returns page name with space in readable form Format: Space Name / Page Name or Page Name only if it's located in default spacegetTitle()Returns Wiki Page TitlegetType()Methods inherited from interface com.polarion.platform.persistence.model.IAdaptable
adaptMethods inherited from interface com.polarion.platform.persistence.model.IChangeListener
markChangedMethods inherited from interface com.polarion.alm.tracker.model.IFolderItem
getFolderMethods inherited from interface com.polarion.platform.persistence.model.IHasCustomValues
getCustomField, getCustomFieldPrototype, getCustomFieldsList, setCustomFieldMethods inherited from interface com.polarion.platform.persistence.model.IPObject
can, copyTo, createStructureForKey, forget, getContextId, getDataRevision, getDataSvc, getEnumerationOptionForField, getEnumerationTypeForField, getFieldLabel, getFieldType, getIncompatibleCustomField, getIncompatibleCustomFieldPrototype, getIncompatibleCustomFieldsList, getLastRevision, getLocalId, getObjectId, getPrototype, getRevision, getUri, getValue, isModified, isPersisted, isReadOnly, isResolved, isUnresolvable, resolve, save, setEnumerationValue, setValue, updateMethods inherited from interface com.polarion.alm.projects.model.IUniqueObject
getId, getProject, getProjectId
-
Field Details
-
PROTO
- See Also:
-
KEY_AUTHOR
- See Also:
-
KEY_CREATED
- See Also:
-
KEY_UPDATED
- See Also:
-
KEY_UPDATEDBY
- See Also:
-
KEY_HOMEPAGECONTENT
- See Also:
-
KEY_LOCATION
- See Also:
-
KEY_PAGENAME
- See Also:
-
KEY_TITLE
- See Also:
-
KEY_SPACEID
- See Also:
-
KEY_TYPE
- See Also:
-
KEY_LINKED_PAGES
- See Also:
-
KEY_ATTACHMENTS
- See Also:
-
-
Method Details
-
getAuthor
IUser getAuthor() -
getCreated
Date getCreated() -
getUpdated
Date getUpdated() -
getUpdatedBy
IUser getUpdatedBy() -
getHomepageContent
Text getHomepageContent() -
getPageName
String getPageName() -
getTitle
Returns Wiki Page Title- Since:
- 3.8.2
-
getSpaceId
String getSpaceId() -
getType
String getType() -
getLinkedPages
IPObjectList getLinkedPages() -
getBacklinkedPages
IPObjectList getBacklinkedPages() -
getAttachments
IPObjectList getAttachments() -
getAttachment
-
getPageNameWithSpace
String getPageNameWithSpace()Method returns page name with space in readable form Format: Space Name / Page Name or Page Name only if it's located in default space- Returns:
- page name with space
- Since:
- 3.6.3
-
getTitleOrName
- Returns:
- Title or Page Name if Title is not set
- Since:
- 3.8.2
-
getTitleWithSpace
- Returns:
- "Space Name / Title" or "Title" if located in default space (will use Page Name if Title is not set)
- Since:
- 3.8.2
-
delete
void delete()Deletes this Wiki Page.- Since:
- 3.10.1
-