Package com.polarion.alm.tracker.model
Interface IRichPage
- All Superinterfaces:
IAdaptable,IChangeListener,IFolderItem,IHasCustomValues,IHasValues,IPObject,IUniqueObject,IWithAttachments<IRichPageAttachment>,IWithComments<IRichPageComment>
public interface IRichPage
extends IUniqueObject, IWithAttachments<IRichPageAttachment>, IWithComments<IRichPageComment>, IFolderItem
- Since:
- 3.9.0
-
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 Stringstatic final Stringstatic final StringFields inherited from interface com.polarion.alm.projects.model.IUniqueObject
KEY_ID, KEY_PROJECT -
Method Summary
Modifier and TypeMethodDescriptioncan()voiddelete()Deletes this Rich Page (including attachments) and removes all its files from the repository.Method returns the page name with the space in a readable form.getTitle()Return Title or Page Name if Title is not setReturns the title with the space (title) in a readable form.booleanvoidsetHomepageContent(Text value) voidMethods 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
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, getProjectIdMethods inherited from interface com.polarion.alm.tracker.model.IWithAttachments
createAttachment, deleteAttachment, getAttachment, getAttachmentsMethods inherited from interface com.polarion.alm.tracker.model.IWithComments
createComment, getCommentById, getComments, getRootComments, getRootComments, removeComment
-
Field Details
-
PROTO
- See Also:
-
KEY_AUTHOR
- See Also:
-
KEY_CREATED
- See Also:
-
KEY_TITLE
- See Also:
-
KEY_UPDATED
- See Also:
-
KEY_UPDATEDBY
- See Also:
-
KEY_HOMEPAGECONTENT
- See Also:
-
KEY_LOCATION
- See Also:
-
KEY_PAGENAME
- See Also:
-
KEY_SPACEID
- See Also:
-
KEY_GRANDPARENT
- See Also:
-
KEY_ATTACHMENTS
- See Also:
-
KEY_COMMENTS
- Since:
- 3.23.10
- See Also:
-
KEY_PARENT_SPACE_ID
- Since:
- 3.18.1
- See Also:
-
KEY_PAGE_LOCATION
- Since:
- 3.23.4
- See Also:
-
DIFF_IGNORED_FIELDS
- Since:
- 3.23.4
-
-
Method Details
-
getAuthor
-
getTitle
-
setTitle
-
getTitleOrName
Return Title or Page Name if Title is not set -
getCreated
-
getUpdated
-
getUpdatedBy
-
getHomepageContent
-
setHomepageContent
-
hasDefaultContent
boolean hasDefaultContent()- Returns:
- true if default page content is used, false if the content of this page was customized by the user
- Since:
- 3.10.1
-
getPageName
-
getSpaceId
-
getPageNameWithSpace
Method returns the page name with the space in a readable form. Format: Space Name / Page Name or Page Name only if it's located in the default space.- Returns:
- page name with space
-
getTitleWithSpace
Returns the title with the space (title) in a readable form. Format: "Space Title / Title" or only "Title" if it's located in the default space. -
delete
void delete()Deletes this Rich Page (including attachments) and removes all its files from the repository. -
getWatches
- Since:
- 3.23.4
-
can
-