|
Oracle Secure Global Desktop Web Services API Documentation Release 4.7 E21396-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tarantella.tta.webservices.client.views.WebtopGroupContainer
public class WebtopGroupContainer
The WebtopGroupContainer class manages personalised grouping of assigned
applications. The groups can be applied to the generateView...
methods on WebtopViewBean
to modify the view.
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_GROUP_NAME
Name of the default group (ungrouped content). |
Constructor Summary | |
---|---|
WebtopGroupContainer()
Constructor. |
|
WebtopGroupContainer(java.lang.String name)
Constructor. |
Method Summary | |
---|---|
int |
addGroup(WebtopGroup group)
Adds a new group to the container. |
int |
addGroup(WebtopGroup group,
int location)
Adds a new group to the container. |
void |
clear()
Clears the contents. |
boolean |
copyFrom(WebtopGroupContainer source)
Replaces the contents of the container with those from another. |
Item[] |
dumpPreferences()
Gets the data to store as preferences. |
WebtopGroup |
getDefaultGroup()
Gets the default group. |
WebtopGroup |
getGroup(int location)
Gets the group at the specified location. |
WebtopGroup |
getGroupById(int id)
Gets the group with the specified ID. |
int |
getGroupCount()
Gets the number of groups in the container. |
java.util.Vector<WebtopGroup> |
getGroups()
Gets the webtop groups. |
java.lang.String |
getName()
Gets the name of the container. |
java.lang.String[] |
getPreferences()
Gets the preferences used to store the groupings. |
boolean |
getValid()
Gets the valid flag. |
void |
loadPreferences(java.lang.String xml)
Loads the data in the XML. |
boolean |
removeGroup(int location)
Removes the group at the specified location. |
WebtopGroup |
removeGroupById(int id)
Removes the group with the specified ID. |
void |
setName(java.lang.String name)
Sets the name of the container. |
void |
setValid(boolean valid)
Sets the valid flag. |
void |
stampIt()
Burns a timestamp into the container. |
boolean |
stampsDiffer(WebtopGroupContainer other)
Tests if the timestamps in the containers are the same. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_GROUP_NAME
Constructor Detail |
---|
public WebtopGroupContainer()
public WebtopGroupContainer(java.lang.String name)
name
- The name of the assigned applications groupings container.Method Detail |
---|
public void clear()
public java.lang.String[] getPreferences()
public void loadPreferences(java.lang.String xml)
WebtopGroup
groupings are created.
xml
- XML representation of the data.public Item[] dumpPreferences()
public int addGroup(WebtopGroup group)
group
- The assigned applications group.
public int addGroup(WebtopGroup group, int location)
group
- The assigned applications group.location
- The location/index where the group should be stored.
public boolean removeGroup(int location)
location
- The location/index of the group to be remove.
true | group successfully removed |
false | group not removed |
public WebtopGroup getGroup(int location)
location
- The location/index of the group to be retrieved.
public int getGroupCount()
public boolean copyFrom(WebtopGroupContainer source)
source
- The source container.
true | contents successfully copied |
false | contents not copied |
public void stampIt()
public boolean stampsDiffer(WebtopGroupContainer other)
other
- The other container.
true | timestamps differ |
false | timestamps are the same |
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name to set on the assigned applications group container.public WebtopGroup getDefaultGroup()
public boolean getValid()
public void setValid(boolean valid)
valid
- New valid flag value.public java.util.Vector<WebtopGroup> getGroups()
public WebtopGroup getGroupById(int id)
id
- The ID of the group to be retrieved.
public WebtopGroup removeGroupById(int id)
id
- The ID of the group to be removed.
|
Oracle Secure Global Desktop Web Services API Documentation Release 4.7 E21396-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |