|
Oracle® WebCenter Content Java API Reference for Imaging 11g Release 1 (11.1.1) E12853-03 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.imaging.PageChange
public class PageChange
Class for objects that describe changes to a document page sequence. ChangeType enum is used to set the type of change represented. If changeType is DeletePage, then currentPageNumber holds the page being deleted, newPageNumber is ignored. If changeType is MovePage, then currentPageNumber is moved to newPageNumber position. If changeType is AppendPage, currentPageNumber and newPageNumber are ignored. If changeType is InsertPage, newPageNumber is the location to which the new document pages are inserted. newPageNumber will become the first page of the new document and all existing pages of the original document will be moved to make room for the pages being inserted.
Nested Class Summary | |
---|---|
static class |
PageChange.ChangeType |
Field Summary | |
---|---|
protected PageChange.ChangeType |
changeType |
protected int |
currentPageNumber |
protected int |
newPageNumber |
protected java.lang.String |
uploadToken |
Constructor Summary | |
---|---|
PageChange() |
|
PageChange(PageChange.ChangeType changeType) Constructs a PageChange object specifying the type of change being made |
Method Summary | |
---|---|
PageChange.ChangeType |
getChangeType() Gets the type of change represented |
int |
getCurrentPageNumber() Gets the value of the page number being changed |
int |
getNewPageNumber() Gets the value of the new page number field |
java.lang.String |
getUploadToken() Gets the uploadToken value |
void |
setChangeType(PageChange.ChangeType changeType) Sets the type of change operation being represented |
void |
setCurrentPageNumber(int currentPageNumber) Sets the number of the page being change |
void |
setNewPageNumber(int newPageNumber) For MovePage ChangeTypes only. |
void |
setUploadToken(java.lang.String uploadToken) Sets the uploadToken field to reference an uploaded document to be inserted or appended. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected PageChange.ChangeType changeType
protected java.lang.String uploadToken
protected int currentPageNumber
protected int newPageNumber
Constructor Detail |
---|
public PageChange(PageChange.ChangeType changeType)
changeType
- a ChangeType value indicating the type of page change operationpublic PageChange()
Method Detail |
---|
public void setChangeType(PageChange.ChangeType changeType)
changeType
- a ChangeType valuepublic PageChange.ChangeType getChangeType()
public void setUploadToken(java.lang.String uploadToken)
uploadToken
- a token returned from uploadDocument()public java.lang.String getUploadToken()
public void setCurrentPageNumber(int currentPageNumber)
currentPageNumber
- an integer representing the page to be changedpublic int getCurrentPageNumber()
public void setNewPageNumber(int newPageNumber)
newPageNumber
- an integer representing the new page numberpublic int getNewPageNumber()
|
Oracle® WebCenter Content Java API Reference for Imaging 11g Release 1 (11.1.1) E12853-03 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |