Package org.silverpeas.core.webapi.admin
Class PersonalComponentEntity
- java.lang.Object
-
- org.silverpeas.core.webapi.admin.AbstractTypeEntity
-
- org.silverpeas.core.webapi.admin.AbstractPersonnalEntity
-
- org.silverpeas.core.webapi.admin.PersonalComponentEntity
-
- All Implemented Interfaces:
Serializable
,WebEntity
public class PersonalComponentEntity extends AbstractPersonnalEntity
The personal component entity.- Author:
- Yohann Chastagnier
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
PersonalComponentEntity()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PersonalComponentEntity
createFrom(SilverpeasComponentInstance component)
Creates a new personal component entity from the specified ComponentInst.static PersonalComponentEntity
createFrom(SilverpeasComponent component, String componentLabel, String language)
Creates a new personal component entity from the specified WAComponent.protected String
getUriIdentifier()
-
Methods inherited from class org.silverpeas.core.webapi.admin.AbstractPersonnalEntity
equals, getDescription, getId, getLabel, getName, getNb, getURI, getUrl, hashCode, withUriBase
-
Methods inherited from class org.silverpeas.core.webapi.admin.AbstractTypeEntity
getType
-
-
-
-
Field Detail
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
createFrom
public static PersonalComponentEntity createFrom(SilverpeasComponent component, String componentLabel, String language)
Creates a new personal component entity from the specified WAComponent.- Parameters:
component
- the tool to entitify.- Returns:
- new personal component entity
-
createFrom
public static PersonalComponentEntity createFrom(SilverpeasComponentInstance component)
Creates a new personal component entity from the specified ComponentInst.- Parameters:
component
- the tool to entitify.- Returns:
- new personal component entity
-
getUriIdentifier
protected String getUriIdentifier()
- Specified by:
getUriIdentifier
in classAbstractPersonnalEntity
-
-