|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Observable
com.tarantella.tta.webservices.client.views.WebtopViewBean
com.tarantella.tta.webservices.client.views.CombinedView
public class CombinedView
The class maintains a combined view of assigned applications and application sessions. The application sessions are stored as children of the application item from which they were launched.
Field Summary |
---|
Fields inherited from class com.tarantella.tta.webservices.client.views.WebtopViewBean |
---|
ATTR_ENABLED, ATTR_HIDDEN, ATTR_OPEN, EVENT_TOGGLE_GROUP, VALUE_CLOSED, VALUE_OPEN, VALUE_TRUE |
Constructor Summary | |
---|---|
CombinedView()
Constructor. |
Method Summary | |
---|---|
void |
generateSessionView(java.lang.String searchSpec,
java.lang.String[] attributes,
boolean forceRefresh)
Generates and caches a view of application sessions. |
java.util.Enumeration |
getCombinedView(java.lang.String webtopXml,
java.lang.String sessionsXml,
WebtopGroupContainer groups)
Gets an enumerator over the combined view. |
EmulatorSessionsView |
getEmulatorSessionsView()
Gets the application sessions view. |
boolean |
isEmulatorSession(IResponse object)
Tests if the object is an application session. |
boolean |
processEvent(java.lang.String[] eventNames,
java.lang.String[] eventActions,
java.lang.String[] eventData)
Processes events affecting this view. |
boolean |
processEvent(java.lang.String eventName,
java.lang.String eventAction,
java.lang.String eventData)
Processes events affecting this view. |
void |
setMergedXml(java.lang.String xml,
java.lang.String[] sessionAttrs)
Deprecated. Sets merged XML in the view. |
Methods inherited from class com.tarantella.tta.webservices.client.views.WebtopViewBean |
---|
generateView, generateViewHierarchy, getApplicationCount, getInstancesRemaining, getSortedWebtopViewEnumeration, getWebtopEnumeration, getWebtopViewEnumeration, isApplication, isDocument, isEnabled, isGroup, isInNewBrowserWindow, isInPlace, isVisible, lookupWebtopItems, searchWebtopContent, searchWebtopContentHierarchy |
Methods inherited from class java.util.Observable |
---|
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CombinedView()
Method Detail |
---|
public java.util.Enumeration getCombinedView(java.lang.String webtopXml, java.lang.String sessionsXml, WebtopGroupContainer groups)
webtopXml
- XML for assigned applicationssessionsXml
- XML for application sessionsgroups
- User's assigned applications grouping
public void setMergedXml(java.lang.String xml, java.lang.String[] sessionAttrs)
xml
- Merged XML for assigned applications and application sessions.sessionAttrs
- Application session attributes.public EmulatorSessionsView getEmulatorSessionsView()
public boolean processEvent(java.lang.String eventName, java.lang.String eventAction, java.lang.String eventData) throws java.rmi.RemoteException
WebtopViewBean.processEvent(String, String, String) |
EmulatorSessionsView.processEvent(String, String, String) |
processEvent
in class WebtopViewBean
eventName
- Name of the eventeventAction
- Event actioneventData
- Event data
true if the event was processed and the view updated |
false if the event was not processed, possibly leaving the view invalid |
java.rmi.RemoteException
- On receipt of a SOAP fault.public boolean processEvent(java.lang.String[] eventNames, java.lang.String[] eventActions, java.lang.String[] eventData) throws java.rmi.RemoteException
WebtopViewBean.processEvent(String, String, String) |
EmulatorSessionsView.processEvent(String, String, String) |
eventNames
- Ordered array of event names.eventActions
- Ordered array of event actions.eventData
- Ordered array of event data.
true if the events were processed and the view updated |
false if an event was not processed, possibly leaving the view invalid |
java.rmi.RemoteException
- On receipt of a SOAP fault.public boolean isEmulatorSession(IResponse object)
object
- Assigned application object
true if the object is an application session |
false if the object is not an application session |
public void generateSessionView(java.lang.String searchSpec, java.lang.String[] attributes, boolean forceRefresh) throws java.rmi.RemoteException
searchSpec
- RFC 2254 search specification to select matching
application sessionsattributes
- The attributes desired in the responseforceRefresh
- Flag controlling how the request is serviced.
true | request must be sent to the server |
false | request may be serviced from the cached view |
java.rmi.RemoteException
- On receipt of a SOAP fault.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |