|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.imcode.imcms.mapping.DocumentGetterWrapper
public class DocumentGetterWrapper
| Constructor Summary | |
|---|---|
DocumentGetterWrapper(DocumentGetter documentGetter)
|
|
| 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 |
getDocuments(java.util.Collection documentIds)
Return a list of published documents in the same order as the documentIds |
DocumentDomainObject |
getWorkingDocument(java.lang.Integer documentId)
Returns working version of a document. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DocumentGetterWrapper(DocumentGetter documentGetter)
| Method Detail |
|---|
public java.util.List getDocuments(java.util.Collection documentIds)
DocumentGetter
getDocuments in interface DocumentGetterpublic 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 DocumentDomainObject getDocument(java.lang.Integer documentId,
java.lang.Integer version)
DocumentGetter
getDocument in interface DocumentGetterdocumentId - document's id.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||