public class Ticket
extends java.lang.Object
Constructor and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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.
|
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 objectInvalidTicketException
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