public class SessionManager
extends org.bedework.util.misc.Logged
| Constructor and Description |
|---|
SessionManager() |
audit, debug, enableAuditLogger, enableErrorLogger, enableMetricsLogger, error, error, getAuditLoggerIfEnabled, getErrorLoggerIfEnabled, getLogger, getLogger, getMetricsLoggerIfEnabled, info, isAuditLoggerEnabled, isErrorLoggerEnabled, isMetricsLoggerEnabled, metrics, warnpublic SessionManager()
throws EventregException
EventregExceptionpublic EventregSvcMBean getSysInfo() throws EventregException
EventregExceptionpublic ChangeManager getChangeManager()
public void setEventregDb(EventregDb db) throws Throwable
db - - object to handle db transactions.Throwablepublic boolean closeDb()
public boolean queueRequest(EventregRequest request) throws Throwable
request - to add to queueThrowablepublic void setCurrentUser(String val)
val - public String getCurrentUser()
public void resetCurrentCalsuite()
public void setCurrentCalsuite(String val)
val - hrefpublic String getCurrentCalsuite()
public String getCurrentFormName()
public boolean getAdminUser()
throws Throwable
Throwablepublic void flushCurrEvent()
public Event getCurrEvent() throws Throwable
Throwablepublic String getCurrEmail() throws Throwable
Throwablepublic Event getCurrEvent(String href) throws Throwable
Throwablepublic List<Change> getChanges(String ts) throws Throwable
ts - Throwablepublic void addRegistration(Registration r) throws Throwable
r - Throwablepublic void removeRegistration(Registration reg) throws Throwable
reg - Throwablepublic void updateRegistration(Registration reg) throws Throwable
reg - Throwablepublic List<Registration> getRegistrationsByUser(String user) throws Throwable
user - Throwablepublic Registration getRegistrationById(long id) throws Throwable
id - Throwablepublic List<Registration> getAllRegistrations() throws Throwable
Throwablepublic List<Registration> getWaiting(String href) throws Throwable
href - Throwablepublic List<Registration> getRegistrationsByHref(String href) throws Throwable
href - Throwablepublic Registration getRegistration() throws Throwable
Throwablepublic boolean getIsRegistered()
throws Throwable
Throwablepublic boolean getIsWaiting()
throws Throwable
Throwablepublic boolean getRegistrationFull()
public void setRegistrationFull(boolean val)
val - public long getRegistrantCount()
throws Throwable
Throwablepublic long getRegTicketCount()
throws Throwable
Throwablepublic long getWaitingTicketCount()
throws Throwable
Throwablepublic long getTicketCount()
throws Throwable
Throwablepublic long getUserTicketCount()
throws Throwable
Throwablepublic boolean getDeadlinePassed()
public void setDeadlinePassed(boolean val)
val - public String getMessage()
public void setMessage(String message)
message - public Event retrieveEvent(String href) throws Throwable
href - of eventThrowablepublic Event retrieveEvent(Registration reg) throws Throwable
reg - Throwablepublic void logout()
public Request getReq()
public Long getNextRegistrationId() throws Throwable
ThrowableCopyright © 2018 Bedework. All rights reserved.