it.eng.spagobi.services.session.service
Class SessionServiceImpl
java.lang.Object
it.eng.spagobi.services.session.service.SessionServiceImpl
public class SessionServiceImpl
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionServiceImpl
public SessionServiceImpl()
openSession
public void openSession(java.lang.String userId,
java.lang.String password)
throws it.eng.spagobi.services.session.exceptions.AuthenticationException
- Throws:
it.eng.spagobi.services.session.exceptions.AuthenticationException
openSessionWithToken
public void openSessionWithToken(java.lang.String userId,
java.lang.String token)
throws it.eng.spagobi.services.session.exceptions.AuthenticationException
- Throws:
it.eng.spagobi.services.session.exceptions.AuthenticationException
isValidSession
public boolean isValidSession()
closeSession
public void closeSession()
getUserProfile
public static it.eng.spago.security.IEngUserProfile getUserProfile()
getDocuments
public it.eng.spagobi.services.session.bo.Document[] getDocuments(java.lang.String type,
java.lang.String state,
java.lang.String folderPath)
getCorrectRolesForExecution
public java.lang.String[] getCorrectRolesForExecution(java.lang.Integer documentId)
throws it.eng.spagobi.services.session.exceptions.NonExecutableDocumentException
- Throws:
it.eng.spagobi.services.session.exceptions.NonExecutableDocumentException
getDocumentParameters
public it.eng.spagobi.services.session.bo.DocumentParameter[] getDocumentParameters(java.lang.Integer documentId,
java.lang.String roleName)
throws it.eng.spagobi.services.session.exceptions.NonExecutableDocumentException
- Throws:
it.eng.spagobi.services.session.exceptions.NonExecutableDocumentException
getAdmissibleValues
public java.util.HashMap getAdmissibleValues(java.lang.Integer documentParameterId,
java.lang.String roleName)
throws it.eng.spagobi.services.session.exceptions.NonExecutableDocumentException
- Throws:
it.eng.spagobi.services.session.exceptions.NonExecutableDocumentException