|
||||||||||
| 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
|
| Nested classes/interfaces inherited from class org.w3c.jdo2.AbstractObject |
|---|
org.w3c.jdo2.AbstractObject.BLOB, org.w3c.jdo2.AbstractObject.CLOB, 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 | ||
|---|---|---|
|
addOwningGroup(PrincipalGroup group,
short mode)
|
|
|
exportXml(String attributeFilter,
String referenceFilter)
|
|
org.openmdx.base.cci2.BasicObject |
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()
|
|
Date |
getActiveUntil()
|
|
|
getAudit()
Retrieves a set containing all the elements for the reference audit. |
|
String |
getAuthor()
|
|
short |
getContentLanguage()
Retrieves the value for the attribute contentLanguage. |
|
Integer |
getContentLength()
|
|
String |
getContentType()
|
|
Date |
getCreatedAt()
Retrieves the value for the attribute createdAt. |
|
Set<String> |
getCreatedBy()
|
|
String |
getDocumentAbstract()
|
|
String |
getDocumentNumber()
|
|
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. |
|
XRI |
getIdentity()
Retrieves the value for the derived attribute identity. |
|
|
getIndexEntry()
Retrieves a set containing all the elements for the reference indexEntry. |
|
String |
getKeywords()
|
|
short |
getLiteratureType()
Retrieves the value for the attribute literatureType. |
|
String |
getLocation()
|
|
Date |
getModifiedAt()
Retrieves the value for the attribute modifiedAt. |
|
Set<String> |
getModifiedBy()
|
|
List<String> |
getOwner()
|
|
|
getOwningGroup()
Retrieves the Collection of objects referenced by
owningGroup. |
|
User |
getOwningUser()
Retrieves the value for the reference owningUser. |
|
|
getRevision()
Retrieves a set containing all the elements for the reference revision. |
|
String |
getSearchText()
|
|
String |
getTitle()
|
|
|
getView()
Retrieves a set containing all the elements for the reference view. |
|
|
importItem(byte[] item,
String itemMimeType,
String itemName,
short locale)
|
|
static Document.Identity |
newIdentity(org.openmdx.base.cci2.Segment.Identity segment,
boolean idIsPersistent,
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 |
|
static CloseableCollection<Document> |
openmdxjdoGetObjectsByParent(Segment segment)
Navigate through an object's composite association |
|
protected int |
openmdxjdoGetSize(int field)
|
|
protected
|
openmdxjdoGetSlices()
|
|
protected void |
openmdxjdoSetSize(int field,
int size)
|
|
|
removeAllOwningGroup(short mode)
|
|
|
removeOwningGroup(PrincipalGroup group,
short mode)
|
|
|
setAccessLevel(short accessLevelBrowse,
short accessLevelDelete,
short accessLevelUpdate,
short mode)
|
|
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 |
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 |
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. |
|
|
setOwningUser(short mode,
User user)
|
|
void |
setOwningUser(User owningUser)
Sets a new value for the reference owningUser. |
|
void |
setSearchText(String searchText)
Sets a new value for the attribute searchText. |
|
void |
setSegment(Segment segment)
Sets a new value for the reference segment. |
|
void |
setSegment(Segment segment,
boolean idIsPersistent,
String id)
Set the object's composite association org:opencrx:kernel:document1:SegmentContainsDocument. |
|
void |
setTitle(String title)
Sets a new value for the attribute title. |
|
|
updateIndex()
|
|
| Methods inherited from class org.w3c.jdo2.AbstractObject |
|---|
openmdxjdoClassName, openmdxjdoGetIdentityBuilder, openmdxjdoGetList, openmdxjdoGetObjectsByParent, openmdxjdoGetSet, openmdxjdoGetSparseArray, openmdxjdoNewSlice, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray, openmdxjdoValidateElement |
| Methods inherited from class org.oasisopen.jdo2.Identifiable |
|---|
openmdxjdoGetIdentity, openmdxjdoGetIdentity, 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 <T extends ExportResult> T exportXml(String attributeFilter,
String referenceFilter)
throws RefException
exportXml in interface XmlExporterRefExceptionpublic short getDocumentType()
documentType.
getDocumentType in interface DocumentdocumentType.public void setDocumentType(short documentType)
documentType.
setDocumentType in interface DocumentdocumentType - The non-null new value for attribute documentType.public Date getModifiedAt()
modifiedAt.
getModifiedAt in interface org.openmdx.base.cci2.BasicObjectmodifiedAt.public final String getLocation()
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()
getModifiedBy in interface org.openmdx.base.cci2.BasicObjectpublic final Date getActiveOn()
getActiveOn in interface DocumentactiveOn.public void setActiveOn(Date activeOn)
activeOn.
setActiveOn in interface DocumentactiveOn - The possibly null new value for attribute activeOn.public final String getContentType()
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 XRI getIdentity()
identity.
getIdentity in interface org.openmdx.base.cci2.ExtentCapableidentitypublic final String getAuthor()
getAuthor in interface Documentauthor.public void setAuthor(String author)
author.
setAuthor in interface Documentauthor - The possibly null new value for attribute author.public <T extends DocumentRevision> Collection<T> getRevision()
revision.
getRevision in interface Documentpublic final String getTitle()
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 <T extends ModifySecureObjectResult> T removeAllOwningGroup(short mode)
throws RefException
removeAllOwningGroup in interface SecureObjectRefExceptionpublic Date getCreatedAt()
createdAt.
getCreatedAt in interface org.openmdx.base.cci2.BasicObjectcreatedAt.public final String getDocumentNumber()
getDocumentNumber in interface DocumentdocumentNumber.public void setDocumentNumber(String documentNumber)
documentNumber.
setDocumentNumber in interface DocumentdocumentNumber - The possibly null new value for attribute documentNumber.
public <T extends ModifySecureObjectResult> T setOwningUser(short mode,
User user)
throws RefException
setOwningUser in interface SecureObjectRefExceptionpublic final Integer getContentLength()
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 <T extends ModifySecureObjectResult> T addOwningGroup(PrincipalGroup group,
short mode)
throws RefException
addOwningGroup in interface SecureObjectRefExceptionpublic 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 Date getActiveUntil()
getActiveUntil in interface DocumentactiveUntil.public void setActiveUntil(Date activeUntil)
activeUntil.
setActiveUntil in interface DocumentactiveUntil - The possibly null new value for attribute activeUntil.public short getDocumentState()
documentState.
getDocumentState in interface DocumentdocumentState.public void setDocumentState(short documentState)
documentState.
setDocumentState in interface DocumentdocumentState - The non-null new value for attribute documentState.public final String getKeywords()
getKeywords in interface Documentkeywords.public void setKeywords(String keywords)
keywords.
setKeywords in interface Documentkeywords - The possibly null new value for attribute keywords.public <T extends AuditEntry> Collection<T> getAudit()
audit.
getAudit in interface Auditeepublic 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 ModifySecureObjectResult> T removeOwningGroup(PrincipalGroup group,
short mode)
throws RefException
removeOwningGroup in interface SecureObjectRefException
public <T extends ImportResult> T importItem(byte[] item,
String itemMimeType,
String itemName,
short locale)
throws RefException
importItem in interface ImporterRefExceptionpublic final String getDocumentAbstract()
getDocumentAbstract in interface DocumentdocumentAbstract.public void setDocumentAbstract(String documentAbstract)
documentAbstract.
setDocumentAbstract in interface DocumentdocumentAbstract - The possibly null new value for attribute documentAbstract.
public <T extends org.openmdx.base.cci2.Void> T updateIndex()
throws RefException
updateIndex in interface IndexedRefExceptionpublic <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 final Set<String> getCreatedBy()
getCreatedBy in interface org.openmdx.base.cci2.BasicObject
public <T extends ModifySecureObjectResult> T setAccessLevel(short accessLevelBrowse,
short accessLevelDelete,
short accessLevelUpdate,
short mode)
throws RefException
setAccessLevel in interface SecureObjectRefExceptionpublic org.openmdx.base.cci2.BasicObject getAccessGrantedByParent()
accessGrantedByParent.
getAccessGrantedByParent in interface SecureObjectnull – value for this reference.public final List<String> getOwner()
getOwner in interface SecureObjectpublic <T extends IndexEntry> Collection<T> getIndexEntry()
indexEntry.
getIndexEntry in interface Indexedpublic final String getSearchText()
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 org.openmdx.compatibility.view1.cci2.View> Collection<T> getView()
view.
getView in interface org.openmdx.compatibility.view1.cci2.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.protected 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 setSegment(Segment segment)
segment.
setSegment in interface Documentsegment - The non-null new value for this reference.public static CloseableCollection<Document> openmdxjdoGetObjectsByParent(Segment segment)
public void setSegment(Segment segment,
boolean idIsPersistent,
String id)
org:opencrx:kernel:document1:SegmentContainsDocument.
setSegment in interface Documentsegment - 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(org.openmdx.base.cci2.Segment.Identity segment,
boolean idIsPersistent,
String id)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||