|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.services.StandardManager
wt.vc.sessioniteration.StandardSessionIterationService
Use the newStandardSessionIterationService
static factory
method(s), not the StandardSessionIterationService
constructor,
to construct instances of this class. Instances must be constructed
using the static factory(s), in order to ensure proper initialization
of the instance.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static Boolean |
NULL
|
private static String |
RESOURCE
|
private static String |
SESSION_DELETE_KEY
|
private static String |
SESSION_ITERATION_DOMAIN_PATH
|
private static String |
SESSIONITERATION_KEY
|
Fields inherited from class wt.services.StandardManager |
|
Fields inherited from interface wt.services.Manager |
MANAGER_SERVICE, STARTUP_AUTOMATIC, STARTUP_MANUAL, STATUS_EMERGENCY_SHUTDOWN, STATUS_EMERGENCY_SHUTTING_DOWN, STATUS_SHUTDOWN, STATUS_SHUTDOWN_ERRORS, STATUS_SHUTDOWN_FAILURE, STATUS_SHUTTING_DOWN, STATUS_STARTED, STATUS_STARTED_ERRORS, STATUS_STARTING_UP, STATUS_STARTUP_FAILURE |
Constructor Summary | |
StandardSessionIterationService()
|
Method Summary | |
SessionEditedIteration |
commitSessionIteration(SessionEditedIteration sessionIteration,
String comment)
Commits the session iteration. |
SessionEditedIteration |
createSessionIteration(SessionEditedIteration iteration,
WTPrincipal principal,
String comment)
Creates a session iteration for the specified principal from the given iteration. |
SessionEditedIteration |
deleteSessionIteration(SessionEditedIteration sessionIteration)
Deletes the session iteration. |
String |
getConceptualClassname()
Deprecated. |
SessionEditedIteration |
getSessionIteration(SessionEditedIteration iteration,
WTPrincipal principal)
Returns a session iteration for the principal specified (or the current principal if null is passed in) -- if one exists -- that was created from the iteration provided. |
QueryResult |
getSessionIterations(SessionEditedIteration iteration)
Supported API: false |
static StandardSessionIterationService |
newStandardSessionIterationService()
Default factory for the class. |
protected void |
performStartupProcess()
Dummy method to be overridden by subclasses. |
void |
registerEvents(ManagerService managerService)
Register events with the passed ManagerService. |
void |
validateCommitSessionIteration(SessionEditedIteration sessionIteration)
Returns true if the session iteration can be commited. |
void |
validateCreateSessionIteration(SessionEditedIteration iteration,
WTPrincipal principal)
Returns true if the principal can create a session iteration from the specified iteration. |
void |
validateDeleteSessionIteration(SessionEditedIteration sessionIteration)
Validates that the session iteration can be deleted. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static final String SESSION_ITERATION_DOMAIN_PATH
private static final String SESSION_DELETE_KEY
private static final Boolean NULL
private static String SESSIONITERATION_KEY
Constructor Detail |
public StandardSessionIterationService()
Method Detail |
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
getConceptualClassname
in class StandardManager
public void registerEvents(ManagerService managerService)
registerEvents
in interface Manager
registerEvents
in class StandardManager
managerService
- the ManagerService with which to register events.protected void performStartupProcess() throws ManagerException
performStartupProcess
in class StandardManager
ManagerException
public static StandardSessionIterationService newStandardSessionIterationService() throws WTException
WTException
public SessionEditedIteration getSessionIteration(SessionEditedIteration iteration, WTPrincipal principal) throws WTException
getSessionIteration
in interface SessionIterationService
iteration
- principal
-
WTException
public void validateCreateSessionIteration(SessionEditedIteration iteration, WTPrincipal principal) throws WTException
validateCreateSessionIteration
in interface SessionIterationService
iteration
- principal
-
WTException
public SessionEditedIteration createSessionIteration(SessionEditedIteration iteration, WTPrincipal principal, String comment) throws WTException
createSessionIteration
in interface SessionIterationService
iteration
- principal
- comment
-
WTException
public void validateCommitSessionIteration(SessionEditedIteration sessionIteration) throws WTException
validateCommitSessionIteration
in interface SessionIterationService
sessionIteration
-
WTException
public SessionEditedIteration commitSessionIteration(SessionEditedIteration sessionIteration, String comment) throws WTException
commitSessionIteration
in interface SessionIterationService
sessionIteration
- comment
-
WTException
public void validateDeleteSessionIteration(SessionEditedIteration sessionIteration) throws WTException
validateDeleteSessionIteration
in interface SessionIterationService
sessionIteration
-
WTException
public SessionEditedIteration deleteSessionIteration(SessionEditedIteration sessionIteration) throws WTException
deleteSessionIteration
in interface SessionIterationService
sessionIteration
-
WTException
public QueryResult getSessionIterations(SessionEditedIteration iteration) throws WTException
getSessionIterations
in interface SessionIterationServerService
iteration
-
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |