Package org.alfresco.repo.wiki
Class WikiPageInfoImpl
- java.lang.Object
-
- org.alfresco.repo.wiki.WikiPageInfoImpl
-
- All Implemented Interfaces:
Serializable
,org.alfresco.repo.security.permissions.PermissionCheckValue
,WikiPageInfo
public class WikiPageInfoImpl extends Object implements WikiPageInfo
An implementation ofWikiPageInfo
- Since:
- 4.0
- Author:
- Nick Burch (based on existing webscript controllers in the REST API)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WikiPageInfoImpl()
Creates a new, empty WikiPageInfoWikiPageInfoImpl(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.cmr.repository.NodeRef containerNodeRef, String systemName)
Create a WikiPageInfo object from an existing node
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.alfresco.service.cmr.repository.NodeRef
getContainerNodeRef()
String
getContents()
Date
getCreatedAt()
String
getCreator()
Date
getModifiedAt()
String
getModifier()
org.alfresco.service.cmr.repository.NodeRef
getNodeRef()
String
getSystemName()
List<String>
getTags()
String
getTitle()
void
setContents(String contents)
Sets the (HTML) Content of the wiki pagevoid
setCreatedAt(Date createdAt)
void
setCreator(String creator)
void
setModifiedAt(Date modifiedAt)
void
setModifier(String modifier)
void
setTags(List<String> tags)
void
setTitle(String title)
Sets the Title of the wiki page
-
-
-
Constructor Detail
-
WikiPageInfoImpl
public WikiPageInfoImpl()
Creates a new, empty WikiPageInfo
-
WikiPageInfoImpl
public WikiPageInfoImpl(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.cmr.repository.NodeRef containerNodeRef, String systemName)
Create a WikiPageInfo object from an existing node
-
-
Method Detail
-
getContainerNodeRef
public org.alfresco.service.cmr.repository.NodeRef getContainerNodeRef()
- Specified by:
getContainerNodeRef
in interfaceWikiPageInfo
- Returns:
- the NodeRef of the site container this belongs to
-
getNodeRef
public org.alfresco.service.cmr.repository.NodeRef getNodeRef()
- Specified by:
getNodeRef
in interfaceorg.alfresco.repo.security.permissions.PermissionCheckValue
- Specified by:
getNodeRef
in interfaceWikiPageInfo
- Returns:
- the NodeRef of the underlying wiki page
-
getSystemName
public String getSystemName()
- Specified by:
getSystemName
in interfaceWikiPageInfo
- Returns:
- the name of the wiki page
-
getTitle
public String getTitle()
- Specified by:
getTitle
in interfaceWikiPageInfo
- Returns:
- the Title of the wiki page
-
getContents
public String getContents()
- Specified by:
getContents
in interfaceWikiPageInfo
- Returns:
- the HTML Content of the wiki page
-
getCreator
public String getCreator()
- Specified by:
getCreator
in interfaceWikiPageInfo
- Returns:
- the creator of the wiki page
-
getModifier
public String getModifier()
- Specified by:
getModifier
in interfaceWikiPageInfo
- Returns:
- the modifier of the wiki page
-
getCreatedAt
public Date getCreatedAt()
- Specified by:
getCreatedAt
in interfaceWikiPageInfo
- Returns:
- the creation date and time
-
getModifiedAt
public Date getModifiedAt()
- Specified by:
getModifiedAt
in interfaceWikiPageInfo
- Returns:
- the modification date and time
-
getTags
public List<String> getTags()
- Specified by:
getTags
in interfaceWikiPageInfo
- Returns:
- the Tags associated with the wiki page
-
setTitle
public void setTitle(String title)
Description copied from interface:WikiPageInfo
Sets the Title of the wiki page- Specified by:
setTitle
in interfaceWikiPageInfo
-
setContents
public void setContents(String contents)
Description copied from interface:WikiPageInfo
Sets the (HTML) Content of the wiki page- Specified by:
setContents
in interfaceWikiPageInfo
-
setCreator
public void setCreator(String creator)
-
setModifier
public void setModifier(String modifier)
-
setCreatedAt
public void setCreatedAt(Date createdAt)
-
setModifiedAt
public void setModifiedAt(Date modifiedAt)
-
-