public class TextDocumentDomainObject extends DocumentDomainObject
| Modifier and Type | Class and Description |
|---|---|
static class |
TextDocumentDomainObject.LoopItemRef
Reference to text document loop item.
|
static class |
TextDocumentDomainObject.TemplateNames |
DOCUMENT_PROPERTIES__IMCMS_DOCUMENT_ALIAS, ID_NEW| Constructor and Description |
|---|
TextDocumentDomainObject() |
TextDocumentDomainObject(int documentId) |
addCategory, addCategory, asDefaultUser, equals, fromDocumentTypeId, getActualModifiedDatetime, getAlias, getArchivedDatetime, getArrDates, getByUsersArr, getCategories, getCommonContent, getCreatedDatetime, getCreatorId, getDisabledLanguageShowMode, getDocumentPermissionSetTypeForRoleId, getDocumentTypeId, getDocumentTypeName, getHeadline, getId, getKeywords, getLanguage, getLifeCyclePhase, getMenuText, getMeta, getModifiedDatetime, getName, getProperties, getProperty, getPublicationEndDatetime, getPublicationStartDatetime, getPublicationStatus, getPublisherId, getRef, getRoleIdsMappedToDocumentPermissionSetTypes, getTarget, getVersionNo, getVersionRef, hasDisapprovedStatus, hashCode, hasNewStatus, isActive, isArchived, isLinkableByOtherUsers, isLinkedForUnauthorizedUsers, isNew, isPublished, isSearchDisabled, removeCategoryId, setAlias, setArchivedDatetime, setArchiverId, setCategories, setCommonContent, setCreator, setCreatorId, setDepublisherId, setDisabledLanguageShowMode, setDocumentPermissionSetTypeForRoleId, setHeadline, setId, setKeywords, setLanguage, setLinkableByOtherUsers, setLinkedForUnauthorizedUsers, setMenuText, setMeta, setModifiedDatetime, setProperties, setProperty, setPublicationEndDatetime, setPublicationStartDatetime, setPublicationStatus, setPublisher, setPublisherId, setSearchDisabled, setTarget, setVersionNopublic TextDocumentDomainObject()
public TextDocumentDomainObject(int documentId)
public TextDocumentDomainObject clone()
clone in class DocumentDomainObjectpublic void accept(DocumentVisitor documentVisitor)
accept in class DocumentDomainObjectpublic DocumentTypeDomainObject getDocumentType()
getDocumentType in class DocumentDomainObjectpublic java.util.Set<java.lang.Integer> getChildDocumentIds()
public MenuDTO getMenu(int menuNo)
menuNo - Index of menu at documentpublic TextDomainObject getText(int no)
public TextDomainObject getText(TextDocumentDomainObject.LoopItemRef loopItemRef)
loopItemRef - public void removeAllImages()
public void removeAllIncludes()
public void removeAllMenus()
public void removeAllContentLoops()
public void removeAllTexts()
public void setInclude(int includeIndex,
int includedDocumentId)
public void setMenu(int no,
MenuDTO menu)
public void setText(int no,
TextDomainObject text)
no - text position in the document.text - text being inserted.public void setText(TextDocumentDomainObject.LoopItemRef loopItemRef, TextDomainObject text)
public java.lang.String getTemplateName()
public void setTemplateName(java.lang.String templateName)
public int getTemplateGroupId()
public void setTemplateGroupId(int v)
public java.util.Map<java.lang.Integer,TextDomainObject> getTexts()
public java.lang.String getDefaultTemplateName()
public void setDefaultTemplateId(java.lang.String defaultTemplateId)
public java.util.Map<java.lang.Integer,ImageDomainObject> getImages()
public void setImage(int no,
ImageDomainObject image)
public void setImage(TextDocumentDomainObject.LoopItemRef loopItemRef, ImageDomainObject image)
public ImageDomainObject getImage(int no)
public ImageDomainObject getImage(TextDocumentDomainObject.LoopItemRef loopItemRef)
public void deleteImage(int no)
public void deleteImage(TextDocumentDomainObject.LoopItemRef loopItemRef)
public TextDocumentDomainObject.TemplateNames getTemplateNames()
public void setTemplateNames(TextDocumentDomainObject.TemplateNames templateNames)
public java.util.Map<java.lang.Integer,MenuDTO> getMenus()
public void setMenus(java.util.Map<java.lang.Integer,MenuDTO> menus)
public java.util.Map<java.lang.Integer,Loop> getLoops()
public void setLoops(java.util.Map<java.lang.Integer,Loop> loops)
public Loop getLoop(int loopIndex)
public java.util.Map<TextDocumentDomainObject.LoopItemRef,TextDomainObject> getLoopTexts()
public java.util.Map<TextDocumentDomainObject.LoopItemRef,ImageDomainObject> getLoopImages()