|
CodeBeamer 5.4.0.1-RC API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.intland.codebeamer.persistence.dto.base.IdentifiableDto
com.intland.codebeamer.persistence.dto.base.NamedDto
com.intland.codebeamer.persistence.dto.base.DescribeableDto
com.intland.codebeamer.persistence.dto.ArtifactDto
com.intland.codebeamer.persistence.dto.WikiPageDto
public class WikiPageDto
Wraps a wiki page.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.intland.codebeamer.persistence.dto.ArtifactDto |
---|
ArtifactDto.PathComparator |
Nested classes/interfaces inherited from class com.intland.codebeamer.persistence.dto.base.DescribeableDto |
---|
DescribeableDto.DescriptionComparator |
Nested classes/interfaces inherited from class com.intland.codebeamer.persistence.dto.base.NamedDto |
---|
NamedDto.NameComparator |
Nested classes/interfaces inherited from class com.intland.codebeamer.persistence.dto.base.IdentifiableDto |
---|
IdentifiableDto.IdComparator |
Nested classes/interfaces inherited from interface com.intland.codebeamer.persistence.dto.base.ReferableDto |
---|
ReferableDto.DescriptionComparator |
Field Summary | |
---|---|
static java.lang.String |
INTERWIKI_LINK_TYPE
|
Fields inherited from class com.intland.codebeamer.persistence.dto.ArtifactDto |
---|
INTERWIKI_LINK_TYPE_DIR, INTERWIKI_LINK_TYPE_DOC, INTERWIKI_LINK_TYPE_NOTE, INTERWIKI_LINK_TYPE_NOTES, INTERWIKI_LINK_TYPE_REPORT |
Fields inherited from interface com.intland.codebeamer.persistence.dto.base.ReferableDto |
---|
HEAD_VERSION, SECTION_DELIMITER, VERSION_DELIMITER |
Constructor Summary | |
---|---|
WikiPageDto()
|
|
WikiPageDto(ProjectDto project,
int type)
|
Method Summary | |
---|---|
boolean |
getCanDelete()
Check if the current user may delete this artifact |
java.lang.String |
getIconUrl()
Returns the URL of the (small) icon image that represents this DTO type. |
java.lang.String |
getInterwikiLink()
Returns the interwiki link that points to the web page where this DTO is managed. |
WikiPageDto |
getParentPage()
|
java.lang.String |
getUrlLink()
Returns the local URL that points to the web page where this DTO is managed. |
java.lang.String |
getUrlLinkVersioned(java.lang.String version)
|
boolean |
isApprovalSupported()
Returns whether this supports artifact approval workflows. |
boolean |
isProjectHomePage()
Returns true if this page is the wiki homepage of its project. |
boolean |
isProjectNavigationBarPage()
Returns true if this wiki page is the "Navigation Bar" of its project. |
boolean |
isProjectPage()
Returns true if this wiki page is a regular project page in its project. |
boolean |
isTrackerHomePage()
Returns true if this wiki page is the tracker homepage of its project. |
boolean |
isTrackerPage()
Returns true if this wiki page is a tracker page in its project. |
boolean |
isUserHomePage()
Returns true if this page is the homepage of its creator. |
boolean |
isUserPage()
Returns true if this wiki page is a user page of its creator. |
static boolean |
isWikiPage(ArtifactDto artifact)
Check if the specified artifact is a WikiPage |
void |
setParentPage(WikiPageDto parent)
|
Methods inherited from class com.intland.codebeamer.persistence.dto.ArtifactDto |
---|
clone, compareArtifacts, compareScope, compareTo, compareType, equals, getAdditionalInfo, getAge, getCompareType, getCreatedAt, getGenericReferenceId, getInterwikiLinkVersioned, getLastModifiedAt, getLastModifiedBy, getNotification, getOwner, getParent, getPath, getProject, getScopeName, getShortDescription, getTypeId, getVersion, hashCode, isA, isDeleted, isDirectory, isExists, isFile, isIndexed, isReadable, isSubscribed, isWikiNotes, isWikiPage, isWritable, setAdditionalInfo, setCreatedAt, setDeleted, setGenericReferenceId, setIndexed, setLastModifiedAt, setLastModifiedBy, setName, setNotification, setOwner, setParent, setProject, setReadable, setScopeName, setTypeId, setWritable, toString |
Methods inherited from class com.intland.codebeamer.persistence.dto.base.DescribeableDto |
---|
compareByDescription, getDescription, getDescriptionFormat, setDescription, setDescriptionFormat |
Methods inherited from class com.intland.codebeamer.persistence.dto.base.NamedDto |
---|
compareNames, compareString, compareStringIgnoreCase, createLookupMap, getName |
Methods inherited from class com.intland.codebeamer.persistence.dto.base.IdentifiableDto |
---|
compare, compareInteger, equals, getId, hashCode, setId |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String INTERWIKI_LINK_TYPE
Constructor Detail |
---|
public WikiPageDto()
public WikiPageDto(ProjectDto project, int type)
Method Detail |
---|
public WikiPageDto getParentPage()
public void setParentPage(WikiPageDto parent)
public boolean getCanDelete()
ArtifactDto
getCanDelete
in class ArtifactDto
public boolean isProjectPage()
true
if this wiki page is a regular project page in its project.
Note that isProjectPage returns false
for project navigation bar pages.
public boolean isProjectHomePage()
true
if this page is the wiki homepage of its project.
public boolean isProjectNavigationBarPage()
true
if this wiki page is the "Navigation Bar" of its project.
public boolean isTrackerPage()
true
if this wiki page is a tracker page in its project.
public boolean isTrackerHomePage()
true
if this wiki page is the tracker homepage of its project.
public boolean isUserPage()
true
if this wiki page is a user page of its creator.
public boolean isUserHomePage()
true
if this page is the homepage of its creator.
public boolean isApprovalSupported()
ArtifactDto
isApprovalSupported
in class ArtifactDto
public java.lang.String getUrlLink()
ReferableDto
getUrlLink
in interface ReferableDto
getUrlLink
in class ArtifactDto
public java.lang.String getUrlLinkVersioned(java.lang.String version)
getUrlLinkVersioned
in interface VersionedReferableDto
getUrlLinkVersioned
in class ArtifactDto
public java.lang.String getInterwikiLink()
ReferableDto
getInterwikiLink
in interface ReferableDto
getInterwikiLink
in class ArtifactDto
public java.lang.String getIconUrl()
ReferableDto
getIconUrl
in interface ReferableDto
getIconUrl
in class ArtifactDto
public static boolean isWikiPage(ArtifactDto artifact)
artifact
- to check
|
CodeBeamer 5.4.0.1-RC API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |