public interface OdsxSessionInterface extends FwkCompareInterface, javax.infobus.DataItem, javax.infobus.ImmediateAccess, javax.infobus.DataItemChangeManager, java.awt.datatransfer.Transferable, FwkControllerInterface
AUTHOR, BUILDNR, COMPANY, COPYRIGHT, DATE_FORMAT, DEFAULT_ICON, DESCRIPTION, INTERNET, LARGE_ICON, LARGE_KEY_EXT, LARGE_OPAQUE_ICON, LARGE_OPAQUE_KEY_EXT, OPAQUE_ICON, OPAQUE_KEY_EXT, RCS_DATE_FORMAT, SUPPORT_EMAIL, TITLE_NAME
Modifier and Type | Method and Description |
---|---|
void |
addExecuteStateListener(FwkExecuteStateListenerInterface l)
Add an execution state listener.
|
void |
close()
Close the sessoin to an ODS server.
|
void |
fireExecuteStateEvent(FwkExecuteStateEventInterface event)
Fire an execute state event.
|
java.lang.String |
getAuthentication()
This method returns the authentication information of the session.
|
AoSession |
getCheckedSession()
This method returns the ASAM-ODS session.
|
java.lang.String |
getName()
This method returns the name of the session.
|
java.lang.String |
getOptions()
This method returns all options to get the session.
|
java.lang.String |
getPlumName()
This method returns the name of the plugable Asam component.
|
AoService |
getService()
This method returns the service of the session.
|
java.lang.String |
getServiceName()
This method returns the service name of the session.
|
java.lang.String |
getServiceOptions()
This method returns the options of the service.
|
AoSession |
getSession()
This method returns the session.
|
java.lang.String |
getSessionName()
This method returns the unique name of the session.
|
java.lang.String |
getSessionOptions()
This method returns the options of the session.
|
boolean |
hasPermissions()
Test the permissions.
|
boolean |
isTheSame(AoSession aoSession)
Return a boolean whether the given AoSession is equal to this one.
|
boolean |
isValid()
Test the ASAM-ODS session.
|
void |
removeExecuteStateListener(FwkExecuteStateListenerInterface l)
Remove an execution state listener.
|
void |
setAuthentication(java.lang.String authentication)
This method sets the authentication information of the session.
|
void |
setName(java.lang.String name)
This method sets the name of the session.
|
void |
setPlumName(java.lang.String plumName)
This method sets the plugable component name of the session.
|
void |
setServiceName(java.lang.String serviceName)
This method sets the name of the service to which the
session belongs.
|
void |
setServiceOptions(java.lang.String options)
This method sets the options of the service.
|
void |
setSessionName(java.lang.String sessionName)
This method sets the unique name of the session.
|
void |
setSessionOptions(java.lang.String options)
This method sets the options of the session.
|
void |
setSessionOptions(java.lang.String options,
java.lang.String authentication)
This method sets the options of the session.
|
boolean |
wasCancelled()
Test the ASAM-ODS session whether it was canceled by the user.
|
getPresentationString, getValueAsObject, getValueAsString, setValue
addDataItemChangeListener, removeDataItemChangeListener
destroyController
getAuthor, getBuild, getClassName, getCompany, getCompanyInternetAddress, getCopyright, getCreationDate, getCreationDate, getDateFormatString, getDescription, getIcon, getIcon, getIconKey, getIconKey, getPresentationString, getPresentationString, getSupportEMail, getTitle, getTitleName, setAuthor, setBuild, setClassName, setCompany, setCompanyInternetAddress, setCopyright, setCreationDate, setCreationDate, setDateFormatString, setDescription, setDescriptor, setIcon, setIcon, setIconKey, setIconKey, setSupportEMail, setTitleName
getVersion, release
void close() throws java.lang.RuntimeException
java.lang.RuntimeException
java.lang.String getAuthentication()
java.lang.String getName()
getName
in interface FwkDescriptionInterface
java.lang.String getOptions()
java.lang.String getSessionOptions()
java.lang.String getServiceOptions()
java.lang.String getPlumName()
AoService getService() throws java.lang.RuntimeException
java.lang.RuntimeException
java.lang.String getServiceName()
AoSession getSession() throws java.lang.RuntimeException
java.lang.RuntimeException
AoSession getCheckedSession() throws java.lang.RuntimeException
java.lang.RuntimeException
AoFactory#getCheckedSession
java.lang.String getSessionName()
void setAuthentication(java.lang.String authentication)
authentication
- The authentication information.boolean isValid()
boolean hasPermissions()
void setName(java.lang.String name)
setName
in interface FwkDescriptionInterface
name
- The name of the session.FwkDescriptionInterface.getName()
void setSessionOptions(java.lang.String options)
options
- The options.void setSessionOptions(java.lang.String options, java.lang.String authentication)
options
- The options.authentication
- The authentication string.void setServiceOptions(java.lang.String options)
options
- The options.void setPlumName(java.lang.String plumName)
plumName
- The plugable component name.void setServiceName(java.lang.String serviceName)
serviceName
- The service name.void setSessionName(java.lang.String sessionName)
sessionName
- The unique name of the session.void addExecuteStateListener(FwkExecuteStateListenerInterface l)
l
- The listener.void removeExecuteStateListener(FwkExecuteStateListenerInterface l)
l
- The listener.void fireExecuteStateEvent(FwkExecuteStateEventInterface event)
event
- The event to be fired.boolean isTheSame(AoSession aoSession)
aoSession
- theAoSessionboolean wasCancelled()