|
||||||||||
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<SpaceEntity>
org.silverpeas.admin.web.SpaceEntity
public class SpaceEntity
The space instance light entity is a SpaceInstLight object that is exposed in the web as an entity (web entity). As such, it publishes only some of its attributes. It represents a SpaceInstLight in Silverpeas plus some additional information such as the URI for accessing it.
Field Summary | |
---|---|
static String |
TYPE
|
Constructor Summary | |
---|---|
protected |
SpaceEntity()
|
Method Summary | |
---|---|
SpaceEntity |
addUserFavorites(String favorite)
|
static SpaceEntity |
createFrom(SpaceInstLight space,
String language)
Creates a new SpaceInstLight entity from the specified SpaceInstLight. |
URI |
getAppearanceURI()
Gets the URI of the appearance of the space. |
URI |
getComponentsURI()
Gets the URI of components included in the space. |
URI |
getContentURI()
Gets the URI of the content included in the space. |
protected String |
getFavorite()
Gets the favorite data of the space |
int |
getLevel()
Gets the level of the space. |
URI |
getSpacesURI()
Gets the URI of spaces included in the space. |
protected String |
getStringBaseURI()
Gets the URI base of the current entity |
protected String |
getStringParentBaseURI()
Gets the parent URI base of the current entity |
boolean |
isSpaceDisplayedAtFirst()
Indicates if spaces have to be displayed before or not the applications. |
SpaceEntity |
withURI(URI uri)
Sets a URI to this entity. |
Methods inherited from class org.silverpeas.admin.web.StructureElementEntity |
---|
equals, getDescription, getId, getLabel, getParentURI, getRank, getStatus, getURI, getUsersAndGroupsRolesURI, hashCode, isInheritanceBlocked |
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 SpaceEntity()
Method Detail |
---|
public static SpaceEntity createFrom(SpaceInstLight space, String language)
space
- the SpaceInstLight to entitify.language
- the current language.
public SpaceEntity withURI(URI uri)
StructureElementEntity
withURI
in class StructureElementEntity<SpaceEntity>
uri
- the web entity URI.
public SpaceEntity addUserFavorites(String favorite)
public int getLevel()
public URI getSpacesURI()
public URI getComponentsURI()
public URI getContentURI()
public URI getAppearanceURI()
public boolean isSpaceDisplayedAtFirst()
protected final String getFavorite()
protected String getStringBaseURI()
getStringBaseURI
in class StructureElementEntity<SpaceEntity>
protected String getStringParentBaseURI()
StructureElementEntity
getStringParentBaseURI
in class StructureElementEntity<SpaceEntity>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |