Interface ProjectComponent

All Superinterfaces:
ProjectConstant
All Known Implementing Classes:
MockProjectComponent, MutableProjectComponent, ProjectComponentImpl

@PublicApi public interface ProjectComponent extends ProjectConstant
A key domain object representing a "working part" of a Project such that an Issue can be raised against or be relevant only to some parts. Typical usage in projects to develop a technology product have a ProjectComponent for each subsystem or module, e.g. GUI, Database, Indexing, Importing.

Components can have a lead, or user responsible for the issues raised against that component.

The AssigneeType value (AssigneeTypes) refers to the default assignee for issues raised on that component.

  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns the assignee type.
    Returns the lead for this project component.
    Returns the component description.
    org.ofbiz.core.entity.GenericValue
    Deprecated.
    use this object instead of the stinky GenericValue!
    Returns the component ID.
    Returns the key of the lead for this project component.
    Returns the name of this project component.
    Returns the id of the project of this component.
    boolean
    Returns archived status of the component.
    boolean
    Returns the deletion status of the component.
  • Method Details

    • getId

      Long getId()
      Returns the component ID.
      Specified by:
      getId in interface ProjectConstant
      Returns:
      component ID
    • getDescription

      String getDescription()
      Returns the component description.
      Specified by:
      getDescription in interface ProjectConstant
      Returns:
      component description
    • getLead

      String getLead()
      Returns the key of the lead for this project component.
      Returns:
      userkey of the lead for this project component
    • getComponentLead

      ApplicationUser getComponentLead()
      Returns the lead for this project component.
      Returns:
      the lead for this project component
    • getName

      String getName()
      Returns the name of this project component.
      Specified by:
      getName in interface ProjectConstant
      Returns:
      name of this project component
    • getProjectId

      Long getProjectId()
      Returns the id of the project of this component.
      Specified by:
      getProjectId in interface ProjectConstant
      Returns:
      the project's id.
    • getAssigneeType

      long getAssigneeType()
      Returns the assignee type.
      Returns:
      the assignee type.
      See Also:
    • getGenericValue

      org.ofbiz.core.entity.GenericValue getGenericValue()
      Deprecated.
      use this object instead of the stinky GenericValue!
      Returns:
      the underlying GenericValue
    • isArchived

      boolean isArchived()
      Returns archived status of the component.
      Returns:
      true if component is archived.
    • isDeleted

      boolean isDeleted()
      Returns the deletion status of the component.
      Returns:
      true if the component is deleted.