org.globus.cog.gridface.interfaces
Interface BookmarkPanel

All Superinterfaces:
GridFace

public interface BookmarkPanel
extends GridFace


Method Summary
 void addGroup(String name)
          Adds a group to the bokmarks.
 void addKeyword(String key)
          Adds a keyword to an object.
 void addObject(String group, String name, String[] keywords, Object o)
           
 Object[] getGroup(String name)
          returns all object within the group.
 Object[] getKeyword(String key)
          returns all object within the keyword.
 void getSelected()
          Returns the selected object or group.
 void removeGroup(String name)
          Removes a group to the bokmarks.
 void removeKeyword(String key, Object object)
          Removes a keyword from an object.
 void removeObject(String name)
           
 void removeObject(String group, String name)
           
 void setSelected(String name)
          Sets the selected object.
 
Methods inherited from interface org.globus.cog.gridface.interfaces.GridFace
lastUpdateTime, register, setLabel, setName, update
 

Method Detail

addGroup

public void addGroup(String name)
Adds a group to the bokmarks.

Parameters:
name - a String that contanins the group name.

removeGroup

public void removeGroup(String name)
Removes a group to the bokmarks. If the child is used in another group, the child will not be deleted.

Parameters:
name - a String that contanins the group name.

getGroup

public Object[] getGroup(String name)
returns all object within the group.

Parameters:
name - a String that contanins the group name.

addKeyword

public void addKeyword(String key)
Adds a keyword to an object. (we need to also have keywords for groups)


removeKeyword

public void removeKeyword(String key,
                          Object object)
Removes a keyword from an object. If the child is used in another group, the child will not be deleted.

Parameters:
key - a String that contanins the group name.

getKeyword

public Object[] getKeyword(String key)
returns all object within the keyword.


getSelected

public void getSelected()
Returns the selected object or group.


setSelected

public void setSelected(String name)
Sets the selected object.

Parameters:
name - a String value that identifies the object to be selected.

addObject

public void addObject(String group,
                      String name,
                      String[] keywords,
                      Object o)

removeObject

public void removeObject(String group,
                         String name)

removeObject

public void removeObject(String name)