|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.silverpeas.admin.web.AbstractTypeEntity
org.silverpeas.admin.web.StructureElementEntity<ComponentEntity>
org.silverpeas.admin.web.ComponentEntity
public class ComponentEntity
The component instance light entity is a ComponentInstLight object that is exposed in the web as an entity (web entity). As such, it publishes only some of its attributes. It represents a ComponentInstLight in Silverpeas plus some additional information such as the URI for accessing it.
Field Summary | |
---|---|
static String |
TYPE
|
Constructor Summary | |
---|---|
protected |
ComponentEntity()
|
Method Summary | |
---|---|
static ComponentEntity |
createFrom(ComponentInstLight component,
String language)
Creates a new ComponentInstLight entity from the specified ComponentInstLight. |
String |
getName()
Gets the name of the component. |
protected String |
getStringBaseURI()
Gets the URI base of the current entity |
protected String |
getStringParentBaseURI()
Gets the parent URI base of the current entity |
String |
getUrl()
Gets the url of the component. |
Methods inherited from class org.silverpeas.admin.web.StructureElementEntity |
---|
equals, getDescription, getId, getLabel, getParentURI, getRank, getStatus, getURI, getUsersAndGroupsRolesURI, hashCode, isInheritanceBlocked, withURI |
Methods inherited from class org.silverpeas.admin.web.AbstractTypeEntity |
---|
getType |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String TYPE
Constructor Detail |
---|
protected ComponentEntity()
Method Detail |
---|
public static ComponentEntity createFrom(ComponentInstLight component, String language)
component
- the ComponentInstLight to entitify.language
- the current language.
public String getName()
public String getUrl()
protected String getStringBaseURI()
StructureElementEntity
getStringBaseURI
in class StructureElementEntity<ComponentEntity>
protected String getStringParentBaseURI()
StructureElementEntity
getStringParentBaseURI
in class StructureElementEntity<ComponentEntity>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |