Class ComponentInstLight

    • Constructor Detail

      • ComponentInstLight

        public ComponentInstLight()
        Constructor
    • Method Detail

      • getId

        public String getId()
        Description copied from interface: Identifiable
        Gets the unique identifier of the object in Silverpeas. If he's also identified by a local identifier, then this method should return the one global to Silverpeas.
        Specified by:
        getId in interface Identifiable
        Returns:
        the identifier encoded as a String. If the identifier is a complex one, that is made up of several identification parts, then the returned representation should take care of such a structure.
      • getLocalId

        public int getLocalId()
      • setLocalId

        public void setLocalId​(int id)
      • setDomainFatherId

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

        public String getDomainFatherId()
        Get the domain father id
        Returns:
        the component instance father id. If the component instance has no father, returns an empty string.
      • hasDomainFather

        public boolean hasDomainFather()
        Has this component instance a domain father? In the case of a component instance, a domain father is a space. For example, a component instance has no domain father when it belongs to the user's personal space.
        Returns:
        true if this component has a domain father, false otherwise.
      • setLabel

        public void setLabel​(String label)
      • getRemovalDate

        public Date getRemovalDate()
      • getStatus

        public String getStatus()
      • setStatus

        public void setStatus​(String status)
      • getLastUpdateDate

        public Date getLastUpdateDate()
        Description copied from interface: SilverpeasResource
        Gets the date at which the resource has been lastly updated. If the resource doesn't have such an information, then this method should return the date of the resource creation.
        Specified by:
        getLastUpdateDate in interface SilverpeasResource
        Returns:
        the date of the last update of the resource.
      • 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()
      • getLastUpdater

        public User getLastUpdater()
        Description copied from interface: SilverpeasResource
        Gets the user that has lastly updated the resource. If the resource doesn't have such an information, then this method should return the user that has created the resource.
        Specified by:
        getLastUpdater in interface SilverpeasResource
        Returns:
        a User in Silverpeas.
      • 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)
      • getIcon

        public String getIcon​(boolean bigOne)