public class IdCookieCollection
extends java.lang.Object
| Constructor and Description |
|---|
IdCookieCollection() |
| Modifier and Type | Method and Description |
|---|---|
protected IdCookieModel |
add(IdCookieModel idCookie)
Stores the given ID cookie.
|
protected IdCookieModel |
findWithStudyResultId(long studyResultId)
Returns the ID cookie to which the specified study result ID is mapped, or
null if nothing maps to the ID.
|
protected java.util.Collection<IdCookieModel> |
getAll() |
protected int |
getNextAvailableIdCookieIndex()
Returns the ID cookie's index, a number from 0 to the limit set in jatos.conf.
|
protected boolean |
isFull() |
protected IdCookieModel |
put(IdCookieModel idCookie)
Stores the given IdCookieModel.
|
protected IdCookieModel |
remove(IdCookieModel idCookie) |
protected int |
size() |
java.lang.String |
toString() |
protected boolean isFull()
protected int size()
protected IdCookieModel add(IdCookieModel idCookie) throws IdCookieAlreadyExistsException
IdCookieAlreadyExistsExceptionprotected IdCookieModel put(IdCookieModel idCookie) throws IdCookieCollectionFullException
IdCookieCollectionFullExceptionprotected IdCookieModel remove(IdCookieModel idCookie)
protected java.util.Collection<IdCookieModel> getAll()
protected int getNextAvailableIdCookieIndex()
protected IdCookieModel findWithStudyResultId(long studyResultId)
public java.lang.String toString()
toString in class java.lang.Object