org.opencrx.kernel.document1.cci
Class DocumentImpl

java.lang.Object
  extended by org.openmdx.base.accessor.jmi.spi.RefObject_1
      extended by org.opencrx.kernel.document1.cci.DocumentImpl
All Implemented Interfaces:
Serializable, PersistenceCapable, RefBaseObject, RefFeatured, RefObject, Auditee, Importer, Indexed, SecureObject, XmlExporter, Document, RefObject_1_0, BasicObject, ContextCapable, ExtentCapable, ViewCapable

public class DocumentImpl
extends RefObject_1
implements Document

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.jdo.spi.PersistenceCapable
PersistenceCapable.ObjectIdFieldConsumer, PersistenceCapable.ObjectIdFieldManager, PersistenceCapable.ObjectIdFieldSupplier
 
Field Summary
 
Fields inherited from interface javax.jdo.spi.PersistenceCapable
CHECK_READ, CHECK_WRITE, LOAD_REQUIRED, MEDIATE_READ, MEDIATE_WRITE, READ_OK, READ_WRITE_OK, SERIALIZABLE
 
Constructor Summary
DocumentImpl(Object_1_0 object, RefClass refClass)
           
 
Method Summary
protected  void addAudit(AuditEntry newValue)
           
protected  void addAudit(String id, AuditEntry newValue)
           
protected  void addContext(Context newValue)
           
protected  void addContext(String id, Context newValue)
           
 void addFolder(DocumentFolder newValue)
           
 void addFolder(int index, DocumentFolder newValue)
           
protected  void addIndexEntry(IndexEntry newValue)
           
protected  void addIndexEntry(String id, IndexEntry newValue)
           
 void addOwningGroup(int index, PrincipalGroup newValue)
           
 ModifySecureObjectResult addOwningGroup(ModifyOwningGroupParams params)
           
 void addOwningGroup(PrincipalGroup newValue)
           
 ModifySecureObjectResult addOwningGroup(PrincipalGroup group, short mode)
           
 void addRevision(DocumentRevision newValue)
           
 void addRevision(String id, DocumentRevision newValue)
           
protected  void addView(String namespace, View newValue)
           
protected  void addView(View newValue)
           
 ExportResult exportXml(String attributeFilter, String referenceFilter)
           
 ExportResult exportXml(XmlExportParams params)
           
 BasicObject getAccessGrantedByParent()
          Retrieves the value for the optional reference accessGrantedByParent.
 short getAccessLevelBrowse()
          Retrieves the value for the attribute accessLevelBrowse.
protected  short getAccessLevelBrowse(int index)
           
 short getAccessLevelDelete()
          Retrieves the value for the attribute accessLevelDelete.
protected  short getAccessLevelDelete(int index)
           
 short getAccessLevelUpdate()
          Retrieves the value for the attribute accessLevelUpdate.
protected  short getAccessLevelUpdate(int index)
           
 Date getActiveOn()
           
 Date getActiveUntil()
           
 Collection getAudit()
          Retrieves a collection containing all the elements for the reference audit.
 List getAudit(AuditEntryFilter filter)
          Retrieves the value for the reference audit for the specified filter.
 List getAudit(AuditEntryQuery query)
          Retrieves the value for the reference audit for the specified query.
 AuditEntry getAudit(String id)
          Retrieves the value for the reference audit for the specified qualifier attribute value.
 String getAuthor()
           
 short getContentLanguage()
          Retrieves the value for the attribute contentLanguage.
protected  short getContentLanguage(int index)
           
 Integer getContentLength()
           
 String getContentType()
           
 Collection getContext()
          Retrieves the objects referenced by context.
 Context getContext(String id)
          Retrieves the value for the reference context for the specified qualifier attribute value.
 Date getCreatedAt()
          Retrieves the value for the attribute createdAt.
protected  Date getCreatedAt(int index)
           
 Set getCreatedBy()
           
 String getDocumentAbstract()
           
 String getDocumentNumber()
           
 short getDocumentState()
          Retrieves the value for the attribute documentState.
protected  short getDocumentState(int index)
           
 short getDocumentType()
          Retrieves the value for the attribute documentType.
protected  short getDocumentType(int index)
           
 Collection getFolder()
          Retrieves the objects referenced by folder.
 DocumentFolder getFolder(int index)
          Retrieves the value for the reference folder for the specified qualifier attribute value.
 DocumentRevision getHeadRevision()
          Retrieves the value for the optional reference headRevision.
 String getIdentity()
          Retrieves the value for the attribute identity.
protected  String getIdentity(int index)
           
 Collection getIndexEntry()
          Retrieves a collection containing all the elements for the reference indexEntry.
 List getIndexEntry(IndexEntryFilter filter)
          Retrieves the value for the reference indexEntry for the specified filter.
 List getIndexEntry(IndexEntryQuery query)
          Retrieves the value for the reference indexEntry for the specified query.
 IndexEntry getIndexEntry(String id)
          Retrieves the value for the reference indexEntry for the specified qualifier attribute value.
 String getKeywords()
           
 short getLiteratureType()
          Retrieves the value for the attribute literatureType.
protected  short getLiteratureType(int index)
           
 String getLocation()
           
 Date getModifiedAt()
          Retrieves the value for the attribute modifiedAt.
protected  Date getModifiedAt(int index)
           
 Set getModifiedBy()
           
 List getOwner()
           
 String getOwner(int index)
           
 Collection getOwningGroup()
          Retrieves the objects referenced by owningGroup.
 PrincipalGroup getOwningGroup(int index)
          Retrieves the value for the reference owningGroup for the specified qualifier attribute value.
 User getOwningUser()
          Retrieves the value for the optional reference owningUser.
 Collection getRevision()
          Retrieves a collection containing all the elements for the reference revision.
 List getRevision(DocumentRevisionFilter filter)
          Retrieves the value for the reference revision for the specified filter.
 List getRevision(DocumentRevisionQuery query)
          Retrieves the value for the reference revision for the specified query.
 DocumentRevision getRevision(String id)
          Retrieves the value for the reference revision for the specified qualifier attribute value.
 String getSearchText()
           
 String getTitle()
           
 Collection getView()
          Retrieves a collection containing all the elements for the reference view.
 View getView(String namespace)
          Retrieves the value for the reference view for the specified qualifier attribute value.
 List getView(ViewFilter filter)
          Retrieves the value for the reference view for the specified filter.
 List getView(ViewQuery query)
          Retrieves the value for the reference view for the specified query.
 ImportResult importItem(byte[] item, String itemMimeType, String itemName, short locale)
           
 ImportResult importItem(ImportParams params)
           
protected  void removeAccessGrantedByParent()
           
 ModifySecureObjectResult removeAllOwningGroup(RemoveAllOwningGroupParams params)
           
 ModifySecureObjectResult removeAllOwningGroup(short mode)
           
protected  void removeAudit(String id)
           
protected  void removeContext(String id)
           
 void removeFolder(int index)
           
 void removeHeadRevision()
          Removes the value for the optional reference headRevision.
protected  void removeIndexEntry(String id)
           
 void removeOwningGroup(int index)
           
 ModifySecureObjectResult removeOwningGroup(ModifyOwningGroupParams params)
           
 ModifySecureObjectResult removeOwningGroup(PrincipalGroup group, short mode)
           
 void removeOwningUser()
          Removes the value for the optional reference owningUser.
 void removeRevision(String id)
           
protected  void removeView(String namespace)
           
protected  void setAccessGrantedByParent(BasicObject newValue)
           
 ModifySecureObjectResult setAccessLevel(SetAccessLevelParams params)
           
 ModifySecureObjectResult setAccessLevel(short accessLevelBrowse, short accessLevelDelete, short accessLevelUpdate, short mode)
           
protected  void setAccessLevelBrowse(int index, short newValue)
           
 void setAccessLevelBrowse(short newValue)
          Sets a new value for the attribute accessLevelBrowse.
protected  void setAccessLevelDelete(int index, short newValue)
           
 void setAccessLevelDelete(short newValue)
          Sets a new value for the attribute accessLevelDelete.
protected  void setAccessLevelUpdate(int index, short newValue)
           
 void setAccessLevelUpdate(short newValue)
          Sets a new value for the attribute accessLevelUpdate.
 void setActiveOn(Date newValue)
          Sets a new value for the attribute activeOn.
 void setActiveUntil(Date newValue)
          Sets a new value for the attribute activeUntil.
protected  void setAudit(AuditEntry[] newValue)
           
protected  void setAudit(List newValue)
           
 void setAuthor(String newValue)
          Sets a new value for the attribute author.
protected  void setContentLanguage(int index, short newValue)
           
 void setContentLanguage(short newValue)
          Sets a new value for the attribute contentLanguage.
 void setContentLength(Integer newValue)
          Sets a new value for the attribute contentLength.
 void setContentType(String newValue)
          Sets a new value for the attribute contentType.
protected  void setContext(Context[] newValue)
           
protected  void setContext(List newValue)
           
protected  void setCreatedAt(Date newValue)
           
protected  void setCreatedAt(int index, Date newValue)
           
protected  void setCreatedBy(Set newValue)
           
protected  void setCreatedBy(String[] newValue)
           
 void setDocumentAbstract(String newValue)
          Sets a new value for the attribute documentAbstract.
 void setDocumentNumber(String newValue)
          Sets a new value for the attribute documentNumber.
protected  void setDocumentState(int index, short newValue)
           
 void setDocumentState(short newValue)
          Sets a new value for the attribute documentState.
protected  void setDocumentType(int index, short newValue)
           
 void setDocumentType(short newValue)
          Sets a new value for the attribute documentType.
 void setFolder(DocumentFolder[] newValue)
           
 void setFolder(List newValue)
           
 void setHeadRevision(DocumentRevision newValue)
          Sets a new value for the reference headRevision.
protected  void setIdentity(int index, String newValue)
           
protected  void setIdentity(String newValue)
           
protected  void setIndexEntry(IndexEntry[] newValue)
           
protected  void setIndexEntry(List newValue)
           
 void setKeywords(String newValue)
          Sets a new value for the attribute keywords.
protected  void setLiteratureType(int index, short newValue)
           
 void setLiteratureType(short newValue)
          Sets a new value for the attribute literatureType.
 void setLocation(String newValue)
          Sets a new value for the attribute location.
protected  void setModifiedAt(Date newValue)
           
protected  void setModifiedAt(int index, Date newValue)
           
protected  void setModifiedBy(Set newValue)
           
protected  void setModifiedBy(String[] newValue)
           
protected  void setOwner(List newValue)
           
protected  void setOwner(String[] newValue)
           
 void setOwningGroup(List newValue)
           
 void setOwningGroup(PrincipalGroup[] newValue)
           
 ModifySecureObjectResult setOwningUser(SetOwningUserParams params)
           
 ModifySecureObjectResult setOwningUser(short mode, User user)
           
 void setOwningUser(User newValue)
          Sets a new value for the reference owningUser.
 void setRevision(DocumentRevision[] newValue)
           
 void setRevision(List newValue)
           
 void setSearchText(String newValue)
          Sets a new value for the attribute searchText.
 void setTitle(String newValue)
          Sets a new value for the attribute title.
protected  void setView(List newValue)
           
protected  void setView(View[] newValue)
           
 Void updateIndex()
           
 Void updateIndex(Void params)
           
 
Methods inherited from class org.openmdx.base.accessor.jmi.spi.RefObject_1
equals, jdoCopyFields, jdoCopyKeyFieldsFromObjectId, jdoCopyKeyFieldsToObjectId, jdoCopyKeyFieldsToObjectId, jdoGetObjectId, jdoGetPersistenceManager, jdoGetTransactionalObjectId, jdoGetVersion, jdoIsDeleted, jdoIsDetached, jdoIsDirty, jdoIsNew, jdoIsPersistent, jdoIsTransactional, jdoMakeDirty, jdoNewInstance, jdoNewInstance, jdoNewObjectIdInstance, jdoNewObjectIdInstance, jdoProvideField, jdoProvideFields, jdoReplaceField, jdoReplaceFields, jdoReplaceFlags, jdoReplaceStateManager, refAddEventListener, refAddToUnitOfWork, refAddValue, refAddValue, refAddValue, refClass, refContext, refDefaultFetchGroup, refDelegate, refDelete, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refGetValue, refGetValue, refGetValue, refGetValue, refGetValue, refGetValue, refImmediateComposite, refImmediatePackage, refInitialize, refInitialize, refInvokeOperation, refInvokeOperation, refIsDeleted, refIsDirty, refIsInstanceOf, refIsNew, refIsPersistent, refIsWriteProtected, refMetaObject, refMofId, refOutermostComposite, refOutermostPackage, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refRemoveValue, refRemoveValue, refSetValue, refSetValue, refSetValue, refSetValue, refVerifyConstraints, refWriteProtect, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured