org.silverpeas.admin.web
Class PersonalComponentEntity

java.lang.Object
  extended by org.silverpeas.admin.web.AbstractTypeEntity
      extended by org.silverpeas.admin.web.AbstractPersonnalEntity
          extended by org.silverpeas.admin.web.PersonalComponentEntity
All Implemented Interfaces:
Exposable, Serializable

public class PersonalComponentEntity
extends AbstractPersonnalEntity

The personal component entity.

Author:
Yohann Chastagnier
See Also:
Serialized Form

Field Summary
static String TYPE
           
 
Constructor Summary
protected PersonalComponentEntity()
           
 
Method Summary
static PersonalComponentEntity createFrom(ComponentInst component)
          Creates a new personal component entity from the specified ComponentInst.
static PersonalComponentEntity createFrom(WAComponent component, String componentLabel, String language)
          Creates a new personal component entity from the specified WAComponent.
protected  String getUriIdentifier()
           
 
Methods inherited from class org.silverpeas.admin.web.AbstractPersonnalEntity
equals, getDescription, getId, getLabel, getName, getNb, getURI, getUrl, hashCode, withUriBase
 
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

TYPE

public static final String TYPE
See Also:
Constant Field Values
Constructor Detail

PersonalComponentEntity

protected PersonalComponentEntity()
Method Detail

createFrom

public static PersonalComponentEntity createFrom(WAComponent component,
                                                 String componentLabel,
                                                 String language)
Creates a new personal component entity from the specified WAComponent.

Parameters:
component - the tool to entitify.

createFrom

public static PersonalComponentEntity createFrom(ComponentInst component)
Creates a new personal component entity from the specified ComponentInst.

Parameters:
component - the tool to entitify.

getUriIdentifier

protected String getUriIdentifier()
Specified by:
getUriIdentifier in class AbstractPersonnalEntity


Copyright © 2016 Silverpeas. All Rights Reserved.