Class ProjectAreaAssociationService


  • public class ProjectAreaAssociationService
    extends Object
    Manages the edition of project associations.
    Since:
    2.0.0
    See Also:
    ProjectAreaAssociation
    • Constructor Detail

      • ProjectAreaAssociationService

        public ProjectAreaAssociationService()
    • Method Detail

      • getAssociations

        public Response getAssociations​(String projectAreaId)
      • addAssociations

        public Response addAssociations​(String projectAreaId)
      • checkPermission

        protected void checkPermission​(String projectAreaId)
        Checks whether the connected user has the permission to access project area associations services for the given project area.

        Default implementation is to use ApplicationArtifactResolver to resolve the given project and verify the user can edit. Subclasses may override to refine this behavior.

        Parameters:
        projectAreaId - the project area identifier
        See Also:
        ApplicationArtifactResolver