|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sage.orion.sdata.servlet.BaseServiceOperation
com.sage.orion.sdata.servlet.accpac.CloseSessionOperation
com.sage.orion.sdata.servlet.accpac.CloseCRMSessionOperation
public class CloseCRMSessionOperation
The CloseCRMSessionOperation class provides the ability to close a session by
extending the CloseSessionOperation
class to allow for sessions
opened by CRM.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.sage.orion.sdata.servlet.BaseServiceOperation |
---|
BaseServiceOperation.FieldData, BaseServiceOperation.FieldNames |
Field Summary |
---|
Fields inherited from class com.sage.orion.sdata.servlet.accpac.CloseSessionOperation |
---|
LOGGER |
Constructor Summary | |
---|---|
CloseCRMSessionOperation()
|
Method Summary | |
---|---|
java.lang.String |
getDescription()
Get a description of the service operation, for use in service lists |
java.lang.String |
getName()
Get the full name of this service operation, i.e. |
protected java.lang.String |
getOperationName()
Get the short name of this service operation, i.e. |
protected java.lang.String |
getPath()
Get the URL to this service operation. |
protected void |
removeFromSessionMap(SDataRequest request,
java.lang.String sessionID)
removes the given client session GUID from whichever session map is holding it, using the request to find the map. |
Methods inherited from class com.sage.orion.sdata.servlet.accpac.CloseSessionOperation |
---|
createRequestFields, createResponseFields, createTemplateFields, execute |
Methods inherited from class com.sage.orion.sdata.servlet.BaseServiceOperation |
---|
getResponseFields, getSchema, handleRequest, shutdown |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CloseCRMSessionOperation()
Method Detail |
---|
protected java.lang.String getOperationName()
BaseServiceOperation
getOperationName
in class CloseSessionOperation
protected java.lang.String getPath()
BaseServiceOperation
getPath
in class CloseSessionOperation
public java.lang.String getName()
ServiceOperation
getName
in interface ServiceOperation
getName
in class CloseSessionOperation
String
containing the full name of the service
operationpublic java.lang.String getDescription()
ServiceOperation
It defaults to the full name of this service operation, i.e. the operation name prefixed with resource name(s)
The description should be in the language required by the user
getDescription
in interface ServiceOperation
getDescription
in class CloseSessionOperation
String
containing the description of the
service operationprotected void removeFromSessionMap(SDataRequest request, java.lang.String sessionID)
removes the given client session GUID from whichever session map is holding it, using the request to find the map.
The base implementation removes the GUID from the HttpSessionMap
associated with the request's HttpSession
.
Override this method to specify a different method for locating and removing the GUID
The removeFromSessionMap(com.sage.orion.sdata.servlet.SDataRequest, java.lang.String)
implementation allows
for the session GUID being still on the CRMSessionMap
rather than
on a particular HttpSession
.
removeFromSessionMap
in class CloseSessionOperation
request
- the request being served, which can be used to locate the map
holding the GUIDsessionID
- the client session GUID to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |