|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.imcode.imcms.mapping.DatabaseDocumentGetter
public class DatabaseDocumentGetter
| Field Summary | |
|---|---|
static int |
PERM_CREATE_DOCUMENT
Permission to create child documents. |
| Constructor Summary | |
|---|---|
DatabaseDocumentGetter()
|
|
| Method Summary | |
|---|---|
DocumentDomainObject |
getDocument(java.lang.Integer documentId)
Returns published version of a document. |
DocumentDomainObject |
getDocument(java.lang.Integer documentId,
java.lang.Integer version)
Returns custom document. |
java.util.List<DocumentDomainObject> |
getDocuments(java.util.Collection<java.lang.Integer> documentIds)
Returns published documents. |
MetaDao |
getMetaDao()
|
ImcmsServices |
getServices()
|
DocumentDomainObject |
getWorkingDocument(java.lang.Integer documentId)
Returns working version of a document. |
void |
setMetaDao(MetaDao metaDao)
|
void |
setServices(ImcmsServices services)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int PERM_CREATE_DOCUMENT
| Constructor Detail |
|---|
public DatabaseDocumentGetter()
| Method Detail |
|---|
public DocumentDomainObject getDocument(java.lang.Integer documentId,
java.lang.Integer version)
DocumentGetter
getDocument in interface DocumentGetterdocumentId - document's id.public DocumentDomainObject getDocument(java.lang.Integer documentId)
DocumentGetter
getDocument in interface DocumentGetterpublic DocumentDomainObject getWorkingDocument(java.lang.Integer documentId)
DocumentGetter
getWorkingDocument in interface DocumentGetterdocumentId - document's id.public java.util.List<DocumentDomainObject> getDocuments(java.util.Collection<java.lang.Integer> documentIds)
getDocuments in interface DocumentGetterpublic ImcmsServices getServices()
public void setServices(ImcmsServices services)
public MetaDao getMetaDao()
public void setMetaDao(MetaDao metaDao)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||