|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.oasisopen.jdo2.Identifiable
org.w3c.jdo2.AbstractObject
org.opencrx.kernel.document1.jdo2.Document
public class Document
Class Document
| Nested Class Summary | |
|---|---|
static class |
Document.Identity
The object's application identity |
static class |
Document.Slice
Slice object hold the Document's multivalued attributes |
| Nested classes/interfaces inherited from class org.w3c.jdo2.AbstractObject |
|---|
org.w3c.jdo2.AbstractObject.EmbeddedList<E>, org.w3c.jdo2.AbstractObject.EmbeddedSet<E> |
| Field Summary | |
|---|---|
static List<String> |
BASE_CLASS
Define this class as base class |
static List<String> |
CLASS
Define the model class org::opencrx::kernel::document1::Document |
| Constructor Summary | |
|---|---|
Document()
|
|
| Method Summary | ||
|---|---|---|
ModifySecureObjectResult |
addOwningGroup(ModifyOwningGroupParams in)
|
|
void |
addToSegment(Segment segment)
Sets a new value for the reference segment. |
|
void |
addToSegment(Segment segment,
boolean idIsPersistent,
String id)
Set the object's composite association org:opencrx:kernel:document1:SegmentContainsDocument. |
|
CheckPermissionsResult |
checkPermissions(CheckPermissionsParams in)
|
|
ExportItemResult |
exportItem(ExportItemParams in)
|
|
ExportItemResult |
exportItemAdvanced(ExportItemAdvancedParams in)
|
|
ViewCapable |
getAccessGrantedByParent()
Retrieves the value for the reference accessGrantedByParent. |
|
short |
getAccessLevelBrowse()
Retrieves the value for the attribute accessLevelBrowse. |
|
short |
getAccessLevelDelete()
Retrieves the value for the attribute accessLevelDelete. |
|
short |
getAccessLevelUpdate()
Retrieves the value for the attribute accessLevelUpdate. |
|
Date |
getActiveOn()
Retrieves the possibly null value for the optional attribute activeOn. |
|
Date |
getActiveUntil()
Retrieves the possibly null value for the optional attribute activeUntil. |
|
|
getAttachment()
Retrieves a set containing all the elements for the reference attachment. |
|
|
getAudit()
Retrieves a set containing all the elements for the reference audit. |
|
String |
getAuthor()
Retrieves the possibly null value for the optional attribute author. |
|
String |
getCmsClass()
Retrieves the possibly null value for the optional attribute cmsClass. |
|
String |
getCmsDefaultLanguage()
Retrieves the possibly null value for the optional attribute cmsDefaultLanguage. |
|
String |
getCmsLanguage()
Retrieves the possibly null value for the optional attribute cmsLanguage. |
|
String |
getCmsMeta()
Retrieves the possibly null value for the optional attribute cmsMeta. |
|
String |
getCmsTemplate()
Retrieves the possibly null value for the optional attribute cmsTemplate. |
|
Integer |
getCmsTranslation()
Retrieves the possibly null value for the optional attribute cmsTranslation. |
|
short |
getContentLanguage()
Retrieves the value for the attribute contentLanguage. |
|
Integer |
getContentLength()
Retrieves the possibly null value for the optional attribute contentLength. |
|
String |
getContentType()
Retrieves the possibly null value for the optional attribute contentType. |
|
|
getContext()
Retrieves the Collection of objects referenced by context. |
|
Date |
getCreatedAt()
Retrieves the value for the attribute createdAt. |
|
Set<String> |
getCreatedBy()
Retrieves a set containing all the elements for the attribute createdBy. |
|
String |
getDescription()
Retrieves the possibly null value for the optional attribute description. |
|
String |
getDocumentAbstract()
Retrieves the possibly null value for the optional attribute documentAbstract. |
|
|
getDocumentFolderAssignment()
Retrieves a set containing all the elements for the reference documentFolderAssignment. |
|
String |
getDocumentNumber()
Retrieves the possibly null value for the optional attribute documentNumber. |
|
short |
getDocumentState()
Retrieves the value for the attribute documentState. |
|
short |
getDocumentType()
Retrieves the value for the attribute documentType. |
|
|
getFolder()
Retrieves the Collection of objects referenced by folder. |
|
DocumentRevision |
getHeadRevision()
Retrieves the value for the reference headRevision. |
|
String |
getIdentity()
Retrieves the value for the attribute identity. |
|
|
getIndexEntry()
Retrieves a set containing all the elements for the reference indexEntry. |
|
String |
getKeywords()
Retrieves the possibly null value for the optional attribute keywords. |
|
|
getLink()
Retrieves a set containing all the elements for the reference link. |
|
short |
getLiteratureType()
Retrieves the value for the attribute literatureType. |
|
String |
getLocation()
Retrieves the possibly null value for the optional attribute location. |
|
|
getLock()
Retrieves a set containing all the elements for the reference lock. |
|
Date |
getModifiedAt()
Retrieves the value for the attribute modifiedAt. |
|
Set<String> |
getModifiedBy()
Retrieves a set containing all the elements for the attribute modifiedBy. |
|
String |
getName()
Retrieves the value for the attribute name. |
|
List<String> |
getOwner()
Retrieves a list containing all the elements for the attribute owner. |
|
|
getOwningGroup()
Retrieves the Collection of objects referenced by owningGroup. |
|
User |
getOwningUser()
Retrieves the value for the reference owningUser. |
|
Document |
getParent()
Retrieves the value for the reference parent. |
|
|
getPropertySet()
Retrieves a set containing all the elements for the reference propertySet. |
|
String |
getQualifiedName()
Retrieves the possibly null value for the optional attribute qualifiedName. |
|
|
getRevision()
Retrieves a set containing all the elements for the reference revision. |
|
String |
getSearchText()
Retrieves the possibly null value for the optional attribute searchText. |
|
String |
getTitle()
Retrieves the possibly null value for the optional attribute title. |
|
|
getView()
Retrieves a set containing all the elements for the reference view. |
|
ImportResult |
importItem(ImportParams in)
|
|
Boolean |
isDisabled()
Retrieves the possibly null value for the optional attribute disabled. |
|
static Document.Identity |
newIdentity(Segment.Identity segment,
QualifierType idType,
String id)
|
|
protected org.w3c.jdo2.AbstractObject.Slice |
newSlice(int index)
|
|
protected List<String> |
openmdxjdoGetClass()
Retrieve the model class |
|
protected String |
openmdxjdoGetObjectId()
Retrieve the object's JDO identity key |
|
protected int |
openmdxjdoGetSize(int field)
|
|
protected
|
openmdxjdoGetSlices()
|
|
protected void |
openmdxjdoSetSize(int field,
int size)
|
|
static Document.Identity |
openmdxjdoToIdentity(ObjectId objectId)
|
|
ModifySecureObjectResult |
removeAllOwningGroup(RemoveAllOwningGroupParams in)
|
|
ModifySecureObjectResult |
removeOwningGroup(ModifyOwningGroupParams in)
|
|
ModifySecureObjectResult |
replaceOwningGroup(ModifyOwningGroupsParams in)
|
|
ModifySecureObjectResult |
setAccessLevel(SetAccessLevelParams in)
|
|
void |
setAccessLevelBrowse(short accessLevelBrowse)
Sets a new value for the attribute accessLevelBrowse. |
|
void |
setAccessLevelDelete(short accessLevelDelete)
Sets a new value for the attribute accessLevelDelete. |
|
void |
setAccessLevelUpdate(short accessLevelUpdate)
Sets a new value for the attribute accessLevelUpdate. |
|
void |
setActiveOn(Date activeOn)
Sets a new value for the attribute activeOn. |
|
void |
setActiveUntil(Date activeUntil)
Sets a new value for the attribute activeUntil. |
|
void |
setAuthor(String author)
Sets a new value for the attribute author. |
|
void |
setCmsClass(String cmsClass)
Sets a new value for the attribute cmsClass. |
|
void |
setCmsDefaultLanguage(String cmsDefaultLanguage)
Sets a new value for the attribute cmsDefaultLanguage. |
|
void |
setCmsLanguage(String cmsLanguage)
Sets a new value for the attribute cmsLanguage. |
|
void |
setCmsMeta(String cmsMeta)
Sets a new value for the attribute cmsMeta. |
|
void |
setCmsTemplate(String cmsTemplate)
Sets a new value for the attribute cmsTemplate. |
|
void |
setCmsTranslation(Integer cmsTranslation)
Sets a new value for the attribute cmsTranslation. |
|
void |
setContentLanguage(short contentLanguage)
Sets a new value for the attribute contentLanguage. |
|
void |
setContentLength(Integer contentLength)
Sets a new value for the attribute contentLength. |
|
void |
setContentType(String contentType)
Sets a new value for the attribute contentType. |
|
void |
setDescription(String description)
Sets a new value for the attribute description. |
|
void |
setDisabled(Boolean disabled)
Sets a new value for the attribute disabled. |
|
void |
setDocumentAbstract(String documentAbstract)
Sets a new value for the attribute documentAbstract. |
|
void |
setDocumentNumber(String documentNumber)
Sets a new value for the attribute documentNumber. |
|
void |
setDocumentState(short documentState)
Sets a new value for the attribute documentState. |
|
void |
setDocumentType(short documentType)
Sets a new value for the attribute documentType. |
|
void |
setHeadRevision(DocumentRevision headRevision)
Sets a new value for the reference headRevision. |
|
void |
setKeywords(String keywords)
Sets a new value for the attribute keywords. |
|
void |
setLiteratureType(short literatureType)
Sets a new value for the attribute literatureType. |
|
void |
setLocation(String location)
Sets a new value for the attribute location. |
|
void |
setName(String name)
Sets a new value for the attribute name. |
|
ModifySecureObjectResult |
setOwningUser(SetOwningUserParams in)
|
|
void |
setOwningUser(User owningUser)
Sets a new value for the reference owningUser. |
|
void |
setParent(Document parent)
Sets a new value for the reference parent. |
|
void |
setQualifiedName(String qualifiedName)
Sets a new value for the attribute qualifiedName. |
|
void |
setSearchText(String searchText)
Sets a new value for the attribute searchText. |
|
void |
setTitle(String title)
Sets a new value for the attribute title. |
|
UpdateIndexResult |
updateIndex()
|
|
| Methods inherited from class org.w3c.jdo2.AbstractObject |
|---|
openmdxjdoClassName, openmdxjdoGetIdentityBuilder, openmdxjdoGetList, openmdxjdoGetObjectsByParent, openmdxjdoGetSet, openmdxjdoGetSparseArray, openmdxjdoNewMap, openmdxjdoNewSlice, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray, openmdxjdoValidateElement |
| Methods inherited from class org.oasisopen.jdo2.Identifiable |
|---|
jdoClass, modelClasses, openmdxjdoGetObject, openmdxjdoGetObjectById, openmdxjdoGetObjectId, openmdxjdoGetObjectSet, openmdxjdoNewObjectId, openmdxjdoNewObjectId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final List<String> CLASS
org::opencrx::kernel::document1::Document
public static final List<String> BASE_CLASS
Document.CLASS| Constructor Detail |
|---|
public Document()
| Method Detail |
|---|
protected String openmdxjdoGetObjectId()
openmdxjdoGetObjectId in class org.oasisopen.jdo2.Identifiableprotected final <E extends org.w3c.jdo2.AbstractObject.Slice> SortedMap<Integer,E> openmdxjdoGetSlices()
openmdxjdoGetSlices in class org.w3c.jdo2.AbstractObjectpublic short getAccessLevelDelete()
accessLevelDelete.
getAccessLevelDelete in interface SecureObjectaccessLevelDelete.public void setAccessLevelDelete(short accessLevelDelete)
accessLevelDelete.
setAccessLevelDelete in interface SecureObjectaccessLevelDelete - The non-null new value for attribute accessLevelDelete.public short getDocumentType()
documentType.
0 - EMail 1 - CompanyInfo 2 - ProductInfo 3 - News
getDocumentType in interface DocumentdocumentType.public void setDocumentType(short documentType)
documentType.
0 - EMail 1 - CompanyInfo 2 - ProductInfo 3 - News
setDocumentType in interface DocumentdocumentType - The non-null new value for attribute documentType.public final String getLocation()
location.
getLocation in interface Documentlocation.public void setLocation(String location)
location.
setLocation in interface Documentlocation - The possibly null new value for attribute location.public final Set<String> getModifiedBy()
modifiedBy.
getModifiedBy in interface BasicObjectpublic final String getCmsMeta()
cmsMeta.
getCmsMeta in interface DocumentcmsMeta.public void setCmsMeta(String cmsMeta)
cmsMeta.
setCmsMeta in interface DocumentcmsMeta - The possibly null new value for attribute cmsMeta.public final String getContentType()
contentType.
getContentType in interface DocumentcontentType.public void setContentType(String contentType)
contentType.
setContentType in interface DocumentcontentType - The possibly null new value for attribute contentType.public short getAccessLevelBrowse()
accessLevelBrowse.
getAccessLevelBrowse in interface SecureObjectaccessLevelBrowse.public void setAccessLevelBrowse(short accessLevelBrowse)
accessLevelBrowse.
setAccessLevelBrowse in interface SecureObjectaccessLevelBrowse - The non-null new value for attribute accessLevelBrowse.public <T extends DocumentRevision> DocumentHasRevision.Revision<T> getRevision()
revision.
getRevision in interface Documentpublic final String getDescription()
description.
getDescription in interface Documentdescription.public void setDescription(String description)
description.
setDescription in interface Documentdescription - The possibly null new value for attribute description.public ModifySecureObjectResult removeAllOwningGroup(RemoveAllOwningGroupParams in)
removeAllOwningGroup in interface SecureObjectpublic final String getDocumentNumber()
documentNumber.
getDocumentNumber in interface DocumentdocumentNumber.public void setDocumentNumber(String documentNumber)
documentNumber.
setDocumentNumber in interface DocumentdocumentNumber - The possibly null new value for attribute documentNumber.public ModifySecureObjectResult setOwningUser(SetOwningUserParams in)
setOwningUser in interface SecureObjectpublic final Integer getContentLength()
contentLength.
getContentLength in interface DocumentcontentLength.public void setContentLength(Integer contentLength)
contentLength.
setContentLength in interface DocumentcontentLength - The possibly null new value for attribute contentLength.public <T extends PrincipalGroup> List<T> getOwningGroup()
Collection of objects referenced by owningGroup.
getOwningGroup in interface SecureObjectCollection of referenced objects.public ModifySecureObjectResult addOwningGroup(ModifyOwningGroupParams in)
addOwningGroup in interface SecureObjectpublic final Date getActiveUntil()
activeUntil.
getActiveUntil in interface DocumentactiveUntil.public void setActiveUntil(Date activeUntil)
activeUntil.
setActiveUntil in interface DocumentactiveUntil - The possibly null new value for attribute activeUntil.public final String getKeywords()
keywords.
getKeywords in interface Documentkeywords.public void setKeywords(String keywords)
keywords.
setKeywords in interface Documentkeywords - The possibly null new value for attribute keywords.public Document getParent()
parent.
getParent in interface Documentnull – value for this reference.public void setParent(Document parent)
parent.
setParent in interface Documentparent - The non-null new value for this reference.public ImportResult importItem(ImportParams in)
importItem in interface Importerpublic ModifySecureObjectResult removeOwningGroup(ModifyOwningGroupParams in)
removeOwningGroup in interface SecureObjectpublic final String getDocumentAbstract()
documentAbstract.
getDocumentAbstract in interface DocumentdocumentAbstract.public void setDocumentAbstract(String documentAbstract)
documentAbstract.
setDocumentAbstract in interface DocumentdocumentAbstract - The possibly null new value for attribute documentAbstract.public final String getCmsDefaultLanguage()
cmsDefaultLanguage.
getCmsDefaultLanguage in interface DocumentcmsDefaultLanguage.public void setCmsDefaultLanguage(String cmsDefaultLanguage)
cmsDefaultLanguage.
setCmsDefaultLanguage in interface DocumentcmsDefaultLanguage - The possibly null new value for attribute cmsDefaultLanguage.public final String getCmsTemplate()
cmsTemplate.
getCmsTemplate in interface DocumentcmsTemplate.public void setCmsTemplate(String cmsTemplate)
cmsTemplate.
setCmsTemplate in interface DocumentcmsTemplate - The possibly null new value for attribute cmsTemplate.public final Set<String> getCreatedBy()
createdBy.
getCreatedBy in interface BasicObjectpublic ViewCapable getAccessGrantedByParent()
accessGrantedByParent.
getAccessGrantedByParent in interface SecureObjectnull – value for this reference.public ModifySecureObjectResult setAccessLevel(SetAccessLevelParams in)
setAccessLevel in interface SecureObjectpublic final List<String> getOwner()
owner.
getOwner in interface SecureObjectpublic ModifySecureObjectResult replaceOwningGroup(ModifyOwningGroupsParams in)
replaceOwningGroup in interface SecureObjectpublic <T extends IndexEntry> IndexedHasIndexEntry.IndexEntry<T> getIndexEntry()
indexEntry.
getIndexEntry in interface Indexedpublic final String getSearchText()
searchText.
getSearchText in interface DocumentsearchText.public void setSearchText(String searchText)
searchText.
setSearchText in interface DocumentsearchText - The possibly null new value for attribute searchText.public <T extends View> ObjectHasView.View<T> getView()
view.
getView in interface ViewCapablepublic User getOwningUser()
owningUser.
getOwningUser in interface SecureObjectnull – value for this reference.public void setOwningUser(User owningUser)
owningUser.
setOwningUser in interface SecureObjectowningUser - The non-null new value for this reference.public Date getModifiedAt()
modifiedAt.
getModifiedAt in interface BasicObjectmodifiedAt.public final Date getActiveOn()
activeOn.
getActiveOn in interface DocumentactiveOn.public void setActiveOn(Date activeOn)
activeOn.
setActiveOn in interface DocumentactiveOn - The possibly null new value for attribute activeOn.public <T extends DocumentLink> DocumentContainsLink.Link<T> getLink()
link.
getLink in interface Documentpublic <T extends PropertySet> DocumentContainsPropertySet.PropertySet<T> getPropertySet()
propertySet.
getPropertySet in interface PropertySetHolderpublic final String getAuthor()
author.
getAuthor in interface Documentauthor.public void setAuthor(String author)
author.
setAuthor in interface Documentauthor - The possibly null new value for attribute author.public String getIdentity()
identity.
getIdentity in interface ExtentCapableidentity.public final String getTitle()
title.
getTitle in interface Documenttitle.public void setTitle(String title)
title.
setTitle in interface Documenttitle - The possibly null new value for attribute title.public short getLiteratureType()
literatureType.
getLiteratureType in interface DocumentliteratureType.public void setLiteratureType(short literatureType)
literatureType.
setLiteratureType in interface DocumentliteratureType - The non-null new value for attribute literatureType.public Date getCreatedAt()
createdAt.
getCreatedAt in interface BasicObjectcreatedAt.public String getName()
name.
getName in interface Documentname.public void setName(String name)
name.
setName in interface Documentname - The non-null new value for attribute name.public final String getCmsLanguage()
cmsLanguage.
getCmsLanguage in interface DocumentcmsLanguage.public void setCmsLanguage(String cmsLanguage)
cmsLanguage.
setCmsLanguage in interface DocumentcmsLanguage - The possibly null new value for attribute cmsLanguage.public final String getCmsClass()
cmsClass.
getCmsClass in interface DocumentcmsClass.public void setCmsClass(String cmsClass)
cmsClass.
setCmsClass in interface DocumentcmsClass - The possibly null new value for attribute cmsClass.public ExportItemResult exportItemAdvanced(ExportItemAdvancedParams in)
exportItemAdvanced in interface Exporterpublic short getDocumentState()
documentState.
DS_ACTIVE 0 The account is active. DS_INACTIVE 1 The account is inactive.
getDocumentState in interface DocumentdocumentState.public void setDocumentState(short documentState)
documentState.
DS_ACTIVE 0 The account is active. DS_INACTIVE 1 The account is inactive.
setDocumentState in interface DocumentdocumentState - The non-null new value for attribute documentState.public short getContentLanguage()
contentLanguage.
getContentLanguage in interface DocumentcontentLanguage.public void setContentLanguage(short contentLanguage)
contentLanguage.
setContentLanguage in interface DocumentcontentLanguage - The non-null new value for attribute contentLanguage.public final String getQualifiedName()
qualifiedName.
getQualifiedName in interface DocumentqualifiedName.public void setQualifiedName(String qualifiedName)
qualifiedName.
setQualifiedName in interface DocumentqualifiedName - The possibly null new value for attribute qualifiedName.public <T extends FolderAssignment> DocumentHasDocumentFolderAssignment.DocumentFolderAssignment<T> getDocumentFolderAssignment()
documentFolderAssignment.
getDocumentFolderAssignment in interface Documentpublic <T extends DocumentLock> DocumentHasLocks.Lock<T> getLock()
lock.
getLock in interface Documentpublic DocumentRevision getHeadRevision()
headRevision.
getHeadRevision in interface Documentnull – value for this reference.public void setHeadRevision(DocumentRevision headRevision)
headRevision.
setHeadRevision in interface DocumentheadRevision - The non-null new value for this reference.public <T extends AuditEntry> AuditeeHasAuditEntries.Audit<T> getAudit()
audit.
getAudit in interface Auditeepublic CheckPermissionsResult checkPermissions(CheckPermissionsParams in)
checkPermissions in interface SecureObjectpublic <T extends DocumentAttachment> DocumentHasAttachment.Attachment<T> getAttachment()
attachment.
getAttachment in interface Documentpublic final Integer getCmsTranslation()
cmsTranslation.
getCmsTranslation in interface DocumentcmsTranslation.public void setCmsTranslation(Integer cmsTranslation)
cmsTranslation.
setCmsTranslation in interface DocumentcmsTranslation - The possibly null new value for attribute cmsTranslation.public UpdateIndexResult updateIndex()
updateIndex in interface Indexedpublic <T extends DocumentFolder> List<T> getFolder()
Collection of objects referenced by folder.
getFolder in interface DocumentCollection of referenced objects.public short getAccessLevelUpdate()
accessLevelUpdate.
getAccessLevelUpdate in interface SecureObjectaccessLevelUpdate.public void setAccessLevelUpdate(short accessLevelUpdate)
accessLevelUpdate.
setAccessLevelUpdate in interface SecureObjectaccessLevelUpdate - The non-null new value for attribute accessLevelUpdate.public <T extends Context> Map<String,T> getContext()
Collection of objects referenced by context.
getContext in interface ContextCapableCollection of referenced objects.public final Boolean isDisabled()
disabled.
isDisabled in interface Documentdisabled.public void setDisabled(Boolean disabled)
disabled.
setDisabled in interface Documentdisabled - The possibly null new value for attribute disabled.public ExportItemResult exportItem(ExportItemParams in)
exportItem in interface Exporterprotected int openmdxjdoGetSize(int field)
openmdxjdoGetSize in class org.w3c.jdo2.AbstractObject
protected void openmdxjdoSetSize(int field,
int size)
openmdxjdoSetSize in class org.w3c.jdo2.AbstractObjectprotected org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
protected List<String> openmdxjdoGetClass()
Document.CLASSpublic void addToSegment(Segment segment)
segment.
segment - The non-null new value for this reference.
public void addToSegment(Segment segment,
boolean idIsPersistent,
String id)
org:opencrx:kernel:document1:SegmentContainsDocument.
segment - The non-null new value for this object's composite owner.idIsPersistent - Defines whether the id is persistent.id - The non-null new value for this object's qualifier.
public static Document.Identity newIdentity(Segment.Identity segment,
QualifierType idType,
String id)
public static Document.Identity openmdxjdoToIdentity(ObjectId objectId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||