|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.wim.async.Ticket
public class Ticket
This class defines the fields and methods that a ticket needs. The adapter should use this class to build the ticket.
Constructor Summary | |
---|---|
Ticket(java.lang.String ticketStr)
Construct the Ticket from string form of the ticket |
|
Ticket(java.lang.String inputRepoId,
java.lang.Object inputTicket)
Construct the Ticket |
Method Summary | |
---|---|
int |
getCountLimit()
Returns the count limit |
int |
getPagingSize()
Returns the paging size |
java.lang.String |
getPostProcess()
Return the post process string(if any) set for this ticket |
java.lang.String |
getRepositoryId()
Return the id of the repository which generated this ticket |
int |
getSearchLimit()
Returns the search limit |
java.lang.Object |
getTicket()
Return the opaque ticket object |
void |
setCountLimit(int limit)
Sets the count limit of a search operation |
void |
setPagingSize(int size)
Sets the paging size |
void |
setPostProcess(java.lang.String inputPostProcess)
set the post process string |
void |
setSearchLimit(int limit)
Sets the search limit of a search operation |
java.lang.String |
toString()
Return the string form of the ticket. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Ticket(java.lang.String inputRepoId, java.lang.Object inputTicket)
inputRepoId
- id of the repository creating this ticketinputTicket
- opaque ticket objectpublic Ticket(java.lang.String ticketStr) throws InvalidTicketException
ticket
- opaque ticket object
InvalidTicketException
Method Detail |
---|
public java.lang.String getRepositoryId()
public java.lang.String getPostProcess()
public void setPostProcess(java.lang.String inputPostProcess)
inputPostProcess
- public java.lang.Object getTicket()
public int getPagingSize()
public void setPagingSize(int size)
size
- the number of entities you want to returnpublic void setCountLimit(int limit)
limit
- the number of entities you want to return from a search operationpublic int getCountLimit()
public void setSearchLimit(int limit)
limit
- the number of entities you want to limit on a search operation. If the search results are exceeded the number, an exception will be thrownpublic int getSearchLimit()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |