|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.app.OwDocumentImportItemContentCollection
public class OwDocumentImportItemContentCollection
Standard
implementation that is wrapped around
an OwContentCollection
.OwDocumentImportItem
Can and should be used to create an
for new
object creation, save or checkin from an OwContentCollection
.
OwDocumentImportItem
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
OwDocumentImportItemContentElement
Field Summary | |
---|---|
protected OwDocumentImportItem |
m_importedDocument
the document imported by the document importer |
Fields inherited from interface com.wewebu.ow.server.ecm.OwContentCollection |
---|
CONTENT_REPRESENTATION_TYPE_NONE, CONTENT_REPRESENTATION_TYPE_OBJECT, CONTENT_REPRESENTATION_TYPE_STREAM, CONTENT_REPRESENTATION_TYPE_URL, CONTENT_REPRESENTATION_TYPE_USER_START, CONTENT_TYPE_ANNOTATION, CONTENT_TYPE_DOCUMENT, CONTENT_TYPE_SECURITY, CONTENT_TYPE_USER_START |
Constructor Summary | |
---|---|
OwDocumentImportItemContentCollection(OwDocumentImportItem importedDocument_p)
Create a new OwDocumentImportItemContentCollection from the given OwDocumentImportItem . |
Method Summary | |
---|---|
protected OwDocumentImportItemContentElement |
createDocumentImportItemContentElement(int contentType_p,
int page_p)
Factory method tor createion of objects |
OwContentElement |
getContentElement(int iContentType_p,
int iPage_p)
Returns the content element for the given type and page |
Collection |
getContentTypes()
get a list of content types used in this object |
int |
getPageCount()
retrieve the page count NOTE: You can iterate through all pages by looping a index value from zero to getPageCount and use getPageNumber to resolve the actually page number. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected OwDocumentImportItem m_importedDocument
Constructor Detail |
---|
public OwDocumentImportItemContentCollection(OwDocumentImportItem importedDocument_p)
OwDocumentImportItemContentCollection
from the given OwDocumentImportItem
.
importedDocument_p
- the imported document this content collection is based onMethod Detail |
---|
public OwContentElement getContentElement(int iContentType_p, int iPage_p) throws Exception
getContentElement
in interface OwContentCollection
iContentType_p
- the content type to receive the content element foriPage_p
- the page to receive the content element for
Exception
protected OwDocumentImportItemContentElement createDocumentImportItemContentElement(int contentType_p, int page_p) throws Exception
OwDocumentImportItemContentElement
objects
OwDocumentImportItemContentElement
objects
Exception
public Collection getContentTypes() throws Exception
OwContentCollection
getContentTypes
in interface OwContentCollection
Exception
public int getPageCount() throws Exception
OwContentCollection
getPageCount
in interface OwContentCollection
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |