Class ProjectAreaService


  • public abstract class ProjectAreaService
    extends Object
    Manages the resolution of project areas.
    Since:
    3.7.0
    • Constructor Detail

      • ProjectAreaService

        public ProjectAreaService()
    • Method Detail

      • getProjectAreaHome

        protected abstract URI getProjectAreaHome​(ApplicationArtifact container)
        Gets the URI of a project area home page.
        Parameters:
        container - the ApplicationArtifact of the project area.
        Returns:
        the URI of the project area home page.
      • getProjectAreaHome

        public Response getProjectAreaHome​(String projectAreaId)
        Redirects a project area request to the corresponding home page.
        Parameters:
        projectAreaId - the project area identifier.
        Returns:
        a 307 (temporary redirect) response to the project area home page.
      • getProjectArea

        public Response getProjectArea​(String projectAreaId)
        Gets a ProjectArea resource given its identifier.
        Parameters:
        projectAreaId - the given project area identifier.
        Returns:
        the corresponding ProjectArea resource of projectAreaId.
      • getConfiguration

        public Response getConfiguration​(String projectAreaId)
        Determines whether Configuration Management is enabled on a given project area.
        Parameters:
        projectAreaId - the project area id.
        Returns:
        the ProjectArea shape.
      • setConfiguration

        public Response setConfiguration​(String projectAreaId)
        Updates the Configuration Management status on a given project area.
        Parameters:
        projectAreaId - the project area id.
        Returns:
        the ProjectArea shape.