com.stratelia.webactiv.beans.admin
Class ComponentInstLight

java.lang.Object
  extended by com.silverpeas.util.i18n.AbstractI18NBean<ComponentI18N>
      extended by com.stratelia.webactiv.beans.admin.ComponentInstLight
All Implemented Interfaces:
I18NBean<ComponentI18N>, Serializable

public class ComponentInstLight
extends AbstractI18NBean<ComponentI18N>
implements Serializable

The class ComponentInstLight is the representation in memory of a component instance

See Also:
Serialized Form

Constructor Summary
ComponentInstLight()
          Constructor
ComponentInstLight(ComponentInstanceRow compo)
          Constructor
 
Method Summary
 boolean equals(Object obj)
           
 Date getCreateDate()
           
 int getCreatedBy()
           
 String getCreatorName()
           
 String getDomainFatherId()
          Get the domain father id
 String getIcon(boolean bigOne)
           
 String getId()
          Get the space id
 String getLabel()
          Get the component type
 String getLabel(String language)
          I18N
 String getName()
          Get the component name This method is a hack (technical debt)
 int getOrderNum()
           
 String getPath(String separator)
           
 Date getRemoveDate()
           
 int getRemovedBy()
           
 String getRemoverName()
           
 String getStatus()
           
 Date getUpdateDate()
           
 int getUpdatedBy()
           
 String getUpdaterName()
           
 int hashCode()
           
 boolean isHidden()
           
 boolean isInheritanceBlocked()
           
 boolean isPublic()
           
 boolean isWorkflow()
           
 void setCreatorName(String creatorName)
           
 void setDomainFatherId(String sDomainFatherId)
          Set the domain father id
 void setId(String sId)
          Set the space id
 void setInheritanceBlocked(boolean isInheritanceBlocked)
           
 void setLabel(String label)
           
 void setName(String name)
          This method is a hack (technical debt)
 void setOrderNum(int orderNum)
           
 void setPath(List<SpaceInstLight> path)
           
 void setRemoverName(String removerName)
           
 void setUpdaterName(String updaterName)
           
 
Methods inherited from class com.silverpeas.util.i18n.AbstractI18NBean
addTranslation, getClonedTranslations, getDescription, getDescription, getLanguage, getLanguages, getLanguageToDisplay, getName, getNextTranslation, getTranslation, getTranslationId, getTranslations, isRemoveTranslation, setDescription, setLanguage, setRemoveTranslation, setTranslationId, setTranslations, setTranslations, setTranslations
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentInstLight

public ComponentInstLight()
Constructor


ComponentInstLight

public ComponentInstLight(ComponentInstanceRow compo)
Constructor

Method Detail

setId

public void setId(String sId)
Set the space id


getId

public String getId()
Get the space id

Returns:
the requested space id

setDomainFatherId

public void setDomainFatherId(String sDomainFatherId)
Set the domain father id


getDomainFatherId

public String getDomainFatherId()
Get the domain father id

Returns:
the space father id. If space has no father, returns an empty string.

getName

public String getName()
Get the component name This method is a hack (technical debt)

Overrides:
getName in class AbstractI18NBean<ComponentI18N>
Returns:
the component name

getLabel

public String getLabel()
Get the component type

Returns:
the component type

setLabel

public void setLabel(String label)

getCreateDate

public Date getCreateDate()

getRemoveDate

public Date getRemoveDate()

getStatus

public String getStatus()

getUpdateDate

public Date getUpdateDate()

getCreatorName

public String getCreatorName()

setCreatorName

public void setCreatorName(String creatorName)

getRemoverName

public String getRemoverName()

setRemoverName

public void setRemoverName(String removerName)

getUpdaterName

public String getUpdaterName()

setUpdaterName

public void setUpdaterName(String updaterName)

getCreatedBy

public int getCreatedBy()

getRemovedBy

public int getRemovedBy()

getUpdatedBy

public int getUpdatedBy()

getPath

public String getPath(String separator)

setPath

public void setPath(List<SpaceInstLight> path)

getLabel

public String getLabel(String language)
I18N


setName

public void setName(String name)
This method is a hack (technical debt)

Overrides:
setName in class AbstractI18NBean<ComponentI18N>
Parameters:
name -

hashCode

public int hashCode()
Overrides:
hashCode in class Object

setOrderNum

public void setOrderNum(int orderNum)

getOrderNum

public int getOrderNum()

isInheritanceBlocked

public boolean isInheritanceBlocked()

setInheritanceBlocked

public void setInheritanceBlocked(boolean isInheritanceBlocked)

isHidden

public boolean isHidden()

isPublic

public boolean isPublic()

isWorkflow

public boolean isWorkflow()

getIcon

public String getIcon(boolean bigOne)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016 Silverpeas. All Rights Reserved.