|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.admin.components.WAComponent
public class WAComponent
Java class for WAComponentType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="WAComponentType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="label" type="{http://silverpeas.org/xml/ns/component}multilang"/>
<element name="description" type="{http://silverpeas.org/xml/ns/component}multilang"/>
<element name="suite" type="{http://silverpeas.org/xml/ns/component}multilang"/>
<element name="visible" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="visibleInPersonalSpace" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="portlet" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="router" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="instanceClassName" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="profiles">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="profile" type="{http://silverpeas.org/xml/ns/component}ProfileType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="parameters" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="parameter" type="{http://silverpeas.org/xml/ns/component}ParameterType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected HashMap<String,String> |
description
|
protected List<GroupOfParameters> |
groupsOfParameters
|
protected Map<String,Parameter> |
indexedParametersByName
|
protected String |
instanceClassName
|
protected HashMap<String,String> |
label
|
protected String |
name
|
protected List<Parameter> |
parameters
|
protected boolean |
portlet
|
protected List<Profile> |
profiles
|
protected String |
router
|
protected HashMap<String,String> |
suite
|
protected boolean |
visible
|
protected boolean |
visibleInPersonalSpace
|
| Constructor Summary | |
|---|---|
WAComponent()
|
|
| Method Summary | |
|---|---|
ParameterList |
getAllParameters()
|
HashMap<String,String> |
getDescription()
Gets the value of the description property. |
String |
getDescription(String lang)
|
List<GroupOfParameters> |
getGroupsOfParameters()
|
String |
getInstanceClassName()
Gets the value of the instanceClassName property. |
HashMap<String,String> |
getLabel()
Gets the value of the label property. |
String |
getLabel(String lang)
|
String |
getName()
Gets the value of the name property. |
List<Parameter> |
getParameters()
Gets the value of the parameters property. |
Profile |
getProfile(String name)
|
List<Profile> |
getProfiles()
Gets the value of the profiles property. |
String |
getRouter()
Gets the value of the router property. |
List<GroupOfParameters> |
getSortedGroupsOfParameters()
|
List<Parameter> |
getSortedParameters()
|
HashMap<String,String> |
getSuite()
Gets the value of the suite property. |
String |
getSuite(String lang)
|
boolean |
hasParameterDefined(String parameterName)
Indicates if a parameter is defined which name is equal to the given method parameter. |
boolean |
isPortlet()
Gets the value of the portlet property. |
boolean |
isVisible()
Gets the value of the visible property. |
boolean |
isVisibleInPersonalSpace()
Gets the value of the visibleInPersonalSpace property. |
void |
setDescription(HashMap<String,String> value)
Sets the value of the description property. |
void |
setInstanceClassName(String value)
Sets the value of the instanceClassName property. |
void |
setLabel(HashMap<String,String> value)
Sets the value of the label property. |
void |
setName(String value)
Sets the value of the name property. |
void |
setParameters(List<Parameter> parameters)
Sets the value of the parameters property. |
void |
setPortlet(boolean value)
Sets the value of the portlet property. |
void |
setProfiles(List<Profile> profiles)
Sets the value of the profiles property. |
void |
setRouter(String value)
Sets the value of the router property. |
void |
setSuite(HashMap<String,String> value)
Sets the value of the suite property. |
void |
setVisible(boolean value)
Sets the value of the visible property. |
void |
setVisibleInPersonalSpace(boolean value)
Sets the value of the visibleInPersonalSpace property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String name
protected HashMap<String,String> label
protected HashMap<String,String> description
protected HashMap<String,String> suite
protected boolean visible
protected boolean visibleInPersonalSpace
protected boolean portlet
protected String router
protected String instanceClassName
protected List<Profile> profiles
protected List<GroupOfParameters> groupsOfParameters
protected List<Parameter> parameters
protected Map<String,Parameter> indexedParametersByName
| Constructor Detail |
|---|
public WAComponent()
| Method Detail |
|---|
public String getName()
Stringpublic void setName(String value)
value - allowed object is Stringpublic HashMap<String,String> getLabel()
Multilangpublic String getLabel(String lang)
public void setLabel(HashMap<String,String> value)
value - allowed object is Multilangpublic HashMap<String,String> getDescription()
Multilangpublic String getDescription(String lang)
public void setDescription(HashMap<String,String> value)
value - allowed object is Multilangpublic HashMap<String,String> getSuite()
Multilangpublic String getSuite(String lang)
public void setSuite(HashMap<String,String> value)
value - allowed object is Multilangpublic boolean isVisible()
public void setVisible(boolean value)
public boolean isVisibleInPersonalSpace()
Booleanpublic void setVisibleInPersonalSpace(boolean value)
value - allowed object is Booleanpublic boolean isPortlet()
public void setPortlet(boolean value)
public String getRouter()
Stringpublic void setRouter(String value)
value - allowed object is Stringpublic String getInstanceClassName()
Stringpublic void setInstanceClassName(String value)
value - allowed object is Stringpublic List<Profile> getProfiles()
Profilepublic Profile getProfile(String name)
public void setProfiles(List<Profile> profiles)
profiles - list of Profilepublic List<Parameter> getParameters()
Parameterpublic void setParameters(List<Parameter> parameters)
parameters - list of Parameterpublic boolean hasParameterDefined(String parameterName)
parameterName - the parameter name to perform.
public List<Parameter> getSortedParameters()
public ParameterList getAllParameters()
public List<GroupOfParameters> getGroupsOfParameters()
public List<GroupOfParameters> getSortedGroupsOfParameters()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||