|
||||||||||
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<T>
public abstract class StructureElementEntity<T extends StructureElementEntity<T>>
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.
Constructor Summary | |
---|---|
protected |
StructureElementEntity()
|
protected |
StructureElementEntity(String type,
String id,
String parentId,
String label,
String description,
String status,
int rank,
boolean isInheritanceBlocked)
Instantiating a new web entity from the corresponding data |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
protected String |
getDescription()
|
protected String |
getId()
|
protected String |
getLabel()
|
protected URI |
getParentURI()
|
protected int |
getRank()
|
protected String |
getStatus()
|
protected abstract String |
getStringBaseURI()
Gets the URI base of the current entity |
protected abstract String |
getStringParentBaseURI()
Gets the parent URI base of the current entity |
URI |
getURI()
Gets the URI at which this resource is published and can be accessed. |
URI |
getUsersAndGroupsRolesURI()
|
int |
hashCode()
|
protected boolean |
isInheritanceBlocked()
|
T |
withURI(URI uri)
Sets a URI to this entity. |
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 |
Constructor Detail |
---|
protected StructureElementEntity(String type, String id, String parentId, String label, String description, String status, int rank, boolean isInheritanceBlocked)
protected StructureElementEntity()
Method Detail |
---|
public T withURI(URI uri)
uri
- the web entity URI.
public URI getURI()
Exposable
protected URI getParentURI()
public URI getUsersAndGroupsRolesURI()
protected String getId()
protected String getLabel()
protected String getDescription()
protected String getStatus()
protected int getRank()
protected boolean isInheritanceBlocked()
protected abstract String getStringBaseURI()
protected abstract String getStringParentBaseURI()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |