Package com.microstrategy.webapi.acm
Class ACMSessionId.ConfigSessionId
- java.lang.Object
 - 
- com.microstrategy.webapi.acm.ACMSessionId
 - 
- com.microstrategy.webapi.acm.ACMSessionId.ConfigSessionId
 
 
 
- 
- All Implemented Interfaces:
 IDSSXMLSessionId,IDSSXMLSessionId.IConfigSessionId,java.lang.Comparable<ACMSessionId>
- Enclosing class:
 - ACMSessionId
 
public static class ACMSessionId.ConfigSessionId extends ACMSessionId implements IDSSXMLSessionId.IConfigSessionId
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from class com.microstrategy.webapi.acm.ACMSessionId
ACMSessionId.ConfigSessionId, ACMSessionId.MasterSessionId, ACMSessionId.ProjectSessionId 
- 
Nested classes/interfaces inherited from interface com.microstrategy.webapi.IDSSXMLSessionId
IDSSXMLSessionId.Factory, IDSSXMLSessionId.IConfigSessionId, IDSSXMLSessionId.IMasterSessionId, IDSSXMLSessionId.IProjectSessionId, IDSSXMLSessionId.TYPE 
 - 
 
- 
Constructor Summary
Constructors Constructor Description ConfigSessionId(IDSSXMLSessionIdParser iSessionIdParser)ConfigSessionId(java.lang.String iAugmentedSessionId) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IDSSXMLSessionId.IConfigSessionIdcastConfigSessionId()castConfigSessionId returns the IConfigSessionId already cast.java.util.Optional<IDSSXMLSessionId.IConfigSessionId>castConfigSessionIdOpt()IDSSXMLSessionId.IMasterSessionIdcastMasterSessionId()castMasterSessionId returns the IMasterSessionId already cast.java.util.Optional<IDSSXMLSessionId.IMasterSessionId>castMasterSessionIdOpt()IDSSXMLSessionId.IProjectSessionIdcastProjectSessionId()castProjectSessionId returns the IPsid already cast.java.util.Optional<IDSSXMLSessionId.IProjectSessionId>castProjectSessionIdOpt()ACMSessionId.ConfigSessionIdClone()Clone will create a new copy of the IDSSXMLSessionId.java.util.Optional<IDSSXMLSessionId.IConfigSessionId>getConfigSessionId()java.util.Optional<IDSSXMLSessionId.IMasterSessionId>getMasterSessionId()java.util.Optional<IDSSXMLSessionId.IProjectSessionId>getProjectSessionId()- 
Methods inherited from class com.microstrategy.webapi.acm.ACMSessionId
addLocale, addMessageId, addProjectId, addRetVal, addSSProjectId, compareTo, equals, getAugmentedSessionId, getIServerNodeName, getLocale, getLocaleOpt, getMessageId, getMessageIdOpt, getObscuredAugmentedSessionId, getPort, getProjectId, getProjectIdOpt, getRetVal, getRetValOpt, getSessionId, getSSProjectId, getSSProjectIdOpt, getType, hashCode, hasLocale, hasMessageId, hasProjectId, hasRetVal, hasSSProjectId 
- 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface com.microstrategy.webapi.IDSSXMLSessionId
addLocale, addMessageId, addProjectId, addRetVal, addSSProjectId, getAugmentedSessionId, getIServerNodeName, getLocale, getLocaleOpt, getMessageId, getMessageIdOpt, getObscuredAugmentedSessionId, getPort, getProjectId, getProjectIdOpt, getRetVal, getRetValOpt, getSessionId, getSSProjectId, getSSProjectIdOpt, getType, hasLocale, hasMessageId, hasProjectId, hasRetVal, hasSSProjectId 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
ConfigSessionId
public ConfigSessionId(java.lang.String iAugmentedSessionId) throws MSTRWebAPIException- Throws:
 MSTRWebAPIException
 
- 
ConfigSessionId
public ConfigSessionId(IDSSXMLSessionIdParser iSessionIdParser) throws MSTRWebAPIException
- Throws:
 MSTRWebAPIException
 
 - 
 
- 
Method Detail
- 
castMasterSessionId
public IDSSXMLSessionId.IMasterSessionId castMasterSessionId() throws MSTRWebAPIException
Description copied from interface:IDSSXMLSessionIdcastMasterSessionId returns the IMasterSessionId already cast. If this object is not a MasterSessionId it will throw MSTRWebAPIException. To avoid the throw use getType to find out what type it is before casting- Specified by:
 castMasterSessionIdin interfaceIDSSXMLSessionId- Returns:
 - the cast Master Session Id
 - Throws:
 MSTRWebAPIException- when it is not a Master Session Id
 
- 
castMasterSessionIdOpt
public java.util.Optional<IDSSXMLSessionId.IMasterSessionId> castMasterSessionIdOpt()
- Specified by:
 castMasterSessionIdOptin interfaceIDSSXMLSessionId
 
- 
getMasterSessionId
public java.util.Optional<IDSSXMLSessionId.IMasterSessionId> getMasterSessionId()
- Specified by:
 getMasterSessionIdin interfaceIDSSXMLSessionId
 
- 
castConfigSessionId
public IDSSXMLSessionId.IConfigSessionId castConfigSessionId() throws MSTRWebAPIException
Description copied from interface:IDSSXMLSessionIdcastConfigSessionId returns the IConfigSessionId already cast. If this object is not a ConfigSessionId it will throw MSTRWebAPIException. To avoid the throw use getType to find out what type it is before casting- Specified by:
 castConfigSessionIdin interfaceIDSSXMLSessionId- Specified by:
 castConfigSessionIdin classACMSessionId- Returns:
 - the cast Configuration Session Id
 - Throws:
 MSTRWebAPIException- when it is not a Configuration Session Id
 
- 
castConfigSessionIdOpt
public java.util.Optional<IDSSXMLSessionId.IConfigSessionId> castConfigSessionIdOpt()
- Specified by:
 castConfigSessionIdOptin interfaceIDSSXMLSessionId- Specified by:
 castConfigSessionIdOptin classACMSessionId
 
- 
getConfigSessionId
public java.util.Optional<IDSSXMLSessionId.IConfigSessionId> getConfigSessionId()
- Specified by:
 getConfigSessionIdin interfaceIDSSXMLSessionId
 
- 
castProjectSessionId
public IDSSXMLSessionId.IProjectSessionId castProjectSessionId() throws MSTRWebAPIException
Description copied from interface:IDSSXMLSessionIdcastProjectSessionId returns the IPsid already cast. If this object is not a ProjectSessionId it will throw MSTRWebAPIException. To avoid the throw use getType to find out what type it is before casting- Specified by:
 castProjectSessionIdin interfaceIDSSXMLSessionId- Specified by:
 castProjectSessionIdin classACMSessionId- Returns:
 - the cast Project Session Id
 - Throws:
 MSTRWebAPIException- when it is not a Project Session Id
 
- 
castProjectSessionIdOpt
public java.util.Optional<IDSSXMLSessionId.IProjectSessionId> castProjectSessionIdOpt()
- Specified by:
 castProjectSessionIdOptin interfaceIDSSXMLSessionId- Specified by:
 castProjectSessionIdOptin classACMSessionId
 
- 
getProjectSessionId
public java.util.Optional<IDSSXMLSessionId.IProjectSessionId> getProjectSessionId()
- Specified by:
 getProjectSessionIdin interfaceIDSSXMLSessionId
 
- 
Clone
public ACMSessionId.ConfigSessionId Clone() throws MSTRWebAPIException
Description copied from interface:IDSSXMLSessionIdClone will create a new copy of the IDSSXMLSessionId. This is good because the ConfigSessionIds and ProjectSessionIds are held inside a number of maps and will be accessed on different threads. To avoid locking, it is good to create a Clone that you can use temporarily- Specified by:
 Clonein interfaceIDSSXMLSessionId- Specified by:
 Clonein interfaceIDSSXMLSessionId.IConfigSessionId- Specified by:
 Clonein classACMSessionId- Returns:
 - the cloned Session Id
 - Throws:
 MSTRWebAPIException
 
 - 
 
 -