public class DocumentDTO extends Document implements java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
protected static long |
serialVersionUID |
protected Meta.DocumentType |
type |
| Constructor and Description |
|---|
DocumentDTO(Document from) |
DocumentDTO(java.util.List<CommonContentDTO> commonContents,
java.util.Set<CategoryDTO> categories,
java.util.Set<RestrictedPermissionDTO> restrictedPermissions)
Constructor for dynamic beans generators such as Jackson library,
it shows concrete types of abstract classes that should be used.
|
| Modifier and Type | Method and Description |
|---|---|
DocumentDTO |
clone() |
java.util.Set<Category> |
getCategories() |
java.util.List<CommonContent> |
getCommonContents() |
java.util.Set<RestrictedPermission> |
getRestrictedPermissions() |
void |
setCategories(java.util.Set<Category> categories) |
void |
setCommonContents(java.util.List<CommonContent> commonContents) |
void |
setRestrictedPermissions(java.util.Set<RestrictedPermission> restrictedPermissions) |
getAlias, getArchived, getCreated, getCurrentVersion, getDisabledLanguageShowMode, getDocumentStatus, getId, getKeywords, getLatestVersion, getModified, getProperties, getPublicationEnd, getPublicationStatus, getPublished, getRoleIdToPermission, getTarget, getType, isLinkableByOtherUsers, isLinkableForUnauthorizedUsers, isSearchDisabled, setAlias, setArchived, setCreated, setCurrentVersion, setDisabledLanguageShowMode, setId, setKeywords, setLatestVersion, setLinkableByOtherUsers, setLinkableForUnauthorizedUsers, setModified, setProperties, setPublicationEnd, setPublicationStatus, setPublished, setRoleIdToPermission, setSearchDisabled, setTarget, setTypeprotected static final long serialVersionUID
protected Meta.DocumentType type
public DocumentDTO(Document from)
@ConstructorProperties(value={"commonContents","categories","restrictedPermissions"})
public DocumentDTO(java.util.List<CommonContentDTO> commonContents,
java.util.Set<CategoryDTO> categories,
java.util.Set<RestrictedPermissionDTO> restrictedPermissions)
public java.util.List<CommonContent> getCommonContents()
getCommonContents in class Documentpublic void setCommonContents(java.util.List<CommonContent> commonContents)
setCommonContents in class Documentpublic java.util.Set<Category> getCategories()
getCategories in class Documentpublic void setCategories(java.util.Set<Category> categories)
setCategories in class Documentpublic java.util.Set<RestrictedPermission> getRestrictedPermissions()
getRestrictedPermissions in class Documentpublic void setRestrictedPermissions(java.util.Set<RestrictedPermission> restrictedPermissions)
setRestrictedPermissions in class Documentpublic DocumentDTO clone()
clone in class java.lang.Object