|
SilverStream Application Server 3.5 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
The base of the element hierarchy.
AgiAdmLBElement| Method Summary | |
void |
delete()
Delete the element. |
String |
getName()
Return the name of the element. |
String |
getType()
Return the type of the element. |
| Method Detail |
public String getName()
none -
// Enumerate all the forms residing in the Forms directory and
// print out their names.
Enumeration e = formsDir.getChildren(AgiAdmContainer.GET_CHILDREN_SORTED);
while(e.hasMoreElements())
{
AgiAdmDesignElement form = (AgiAdmDesignElement)e.nextElement();
String name = form.getName();
System.out.println("Form " + name);
}
public String getType()
none - Refer to the following list for a description of return values.
AgiAdmServer
AgiAdmDatabase
AgiAdmDesignElement
AgiAdmDirectory
AgiAdmGroup
AgiAdmUser
AgiAdmUserReference
AgiAdmLBClusterEnv
AgiAdmLBElement
AgiAdmLBContainer
AgiAdmElement el = ... String type = el.getType();
public void delete()
throws AgoUnrecoverableSystemException,
AgoSecurityException
// delete a particular SilverGroup AgiAdmGroup group = (AgiAdmGroup)server.getElement( "myGroup", AgiAdmGroup.SILVERGROUP, null); group.delete();
|
SilverStream Application Server 3.5 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||