com.atlassian.confluence.core
Class SpaceContentEntityObject
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.confluence.core.ConfluenceEntityObject
com.atlassian.confluence.core.AbstractVersionedEntityObject
com.atlassian.confluence.core.ContentEntityObject
com.atlassian.confluence.core.SpaceContentEntityObject
- All Implemented Interfaces:
- Searchable, Addressable, Versioned, Labelable, Serializable, Cloneable, Comparable
- Direct Known Subclasses:
- AbstractPage, Mail, SpaceDescription
public abstract class SpaceContentEntityObject
- extends ContentEntityObject
A ContentEntityObject that is a first-class member of a Space (i.e. pages, mail, news, but not comments
or attachments)
- See Also:
- Serialized Form
| Methods inherited from class com.atlassian.confluence.core.ContentEntityObject |
addAttachment, addLabelling, addOutgoingLink, addPermission, addReferralLink, clearPermissions, clone, compareTo, equals, getAttachmentNamed, getAttachments, getAttachmentsUrlPath, getBodyContents, getContent, getContentPermission, getContentStatus, getExcerpt, getGlobalLabels, getIdAsString, getLabelCount, getLabellings, getLabels, getLabelsForDisplay, getLabelUtil, getLatestVersionsOfAttachments, getLog, getOutgoingLinks, getPermissions, getPersonalLabels, getRealTitle, getReferralLinks, getRenderedVersionComment, getSearchableDependants, getTitle, getTrackbackLinks, getType, getUrlPath, getUserAccessor, getVersionComment, getVisibleLabels, isCurrent, isDeleted, isFavourite, isRecentlyUpdatedFor, isVersionCommentAvailable, removeAttachment, removeLabelling, removeOutgoingLink, removePermission, removeReferralLink, removeTrackbackLink, setAttachments, setBodyContents, setContent, setContentStatus, setOutgoingLinks, setPermissions, setReferralLinks, setTitle, setTrackbackLinks, setUserAccessor, setVersionComment, toPageContext, toString, trash |
| Methods inherited from interface com.atlassian.confluence.core.Addressable |
getId |
SpaceContentEntityObject
public SpaceContentEntityObject()
getSpace
public Space getSpace()
setSpace
public void setSpace(Space space)
addTrackbackLink
public void addTrackbackLink(TrackbackLink link)
- Overrides:
addTrackbackLink in class ContentEntityObject
convertToHistoricalVersion
public void convertToHistoricalVersion()
- Specified by:
convertToHistoricalVersion in interface Versioned- Overrides:
convertToHistoricalVersion in class ContentEntityObject
hashCode
public int hashCode()
- Overrides:
hashCode in class ContentEntityObject
getNameForComparison
public String getNameForComparison()
- Description copied from class:
ContentEntityObject
- Subclasses should implement this method, giving a String back so
that the content can be alphabetically sorted in a mixed-type list
of content-entities.
- Specified by:
getNameForComparison in class ContentEntityObject
getSpaceKey
public String getSpaceKey()
isIndexable
public boolean isIndexable()
- pages, blogs etc that aren't not associated with a space (either because they are historical or corrupt) should not be indexed
if they are indexed, and returned in search results, they are broken and are therefore useless
- Specified by:
isIndexable in interface Searchable- Overrides:
isIndexable in class ContentEntityObject
isInSpace
public boolean isInSpace(Space space)