|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fcrepo.oai.SimpleResumptionToken
public class SimpleResumptionToken
A simple implementation of ResumptionToken that provides getters on the values passed in the constructor.
| Constructor Summary | |
|---|---|
SimpleResumptionToken(String value,
Date expirationDate,
long completeListSize,
long cursor)
|
|
| Method Summary | |
|---|---|
long |
getCompleteListSize()
Get the size of the list. |
long |
getCursor()
Get the position in the list that this record starts at. |
Date |
getExpirationDate()
Get the expiration date of the token. |
String |
getValue()
Get the value of the token. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleResumptionToken(String value,
Date expirationDate,
long completeListSize,
long cursor)
| Method Detail |
|---|
public String getValue()
ResumptionToken
getValue in interface ResumptionTokenpublic Date getExpirationDate()
ResumptionToken
getExpirationDate in interface ResumptionTokenpublic long getCompleteListSize()
ResumptionToken
getCompleteListSize in interface ResumptionTokenpublic long getCursor()
ResumptionToken
getCursor in interface ResumptionToken
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||