|
Oracle Secure Global Desktop Web Services API Documentation Release 4.6 E23734-01 |
||||||||
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. |
java.util.Enumeration<IResponse> |
getSortedEnumeration(java.util.Enumeration enm,
java.lang.String attName)
Gets an enumeration of IResponse objects, sorted by the value of the attribute. |
java.util.ArrayList<WSObject> |
getSortedWebtopObjects()
Returns a list of the assigned applications and application sessions. |
boolean |
isEmulatorSession(IResponse object)
Tests if the object is an application session. |
java.lang.String |
lookupFullName(java.lang.String hashName)
Looks up the full name based on the hash name. |
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. |
boolean |
storeSessionId(java.lang.String webtopItemName,
java.lang.String emSessId)
Adds an emulator session ID to a webtop item. |
Methods inherited from class com.tarantella.tta.webservices.client.views.WebtopViewBean |
---|
generateView, generateViewHierarchy, getAbsoluteURL, getApplicationCount, getDocumentBase, getInstancesRemaining, getObject, getSortedWebtopViewEnumeration, getWebtopEnumeration, getWebtopObjects, getWebtopViewEnumeration, hasDynamicHost, isApplication, isDocument, isDynamicApplication, isEnabled, isGroup, isInNewBrowserWindow, isInPlace, isVisible, lookupWebtopItems, searchWebtopContent, searchWebtopContentHierarchy, setDocumentBase |
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.ArrayList<WSObject> getSortedWebtopObjects()
getSortedWebtopObjects
in class WebtopViewBean
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.public boolean storeSessionId(java.lang.String webtopItemName, java.lang.String emSessId)
webtopItemName
- Name of the webtop item.emSessId
- Emulator session ID
true if the emulator session ID was added |
false if the emulator session ID was not added |
public java.lang.String lookupFullName(java.lang.String hashName)
hashName
- The hash name of the object.
public java.util.Enumeration<IResponse> getSortedEnumeration(java.util.Enumeration enm, java.lang.String attName)
enm
- Initial enumerationattName
- Name of the attribute on which to sort
|
Oracle Secure Global Desktop Web Services API Documentation Release 4.6 E23734-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |