Class ProjectAreaAssociationService
- java.lang.Object
-
- com.sodius.oslc.server.process.services.ProjectAreaAssociationService
-
public class ProjectAreaAssociationService extends Object
Manages the edition of project associations.- Since:
- 2.0.0
- See Also:
ProjectAreaAssociation
-
-
Constructor Summary
Constructors Constructor Description ProjectAreaAssociationService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponseaddAssociations(String projectAreaId)protected voidcheckPermission(String projectAreaId)Checks whether the connected user has the permission to access project area associations services for the given project area.ResponsedeleteAssociations(String projectAreaId, List<String> identifiers)ResponsegetAssociations(String projectAreaId)ResponsegetFriends(String projectAreaId)
-
-
-
Method Detail
-
deleteAssociations
public Response deleteAssociations(String projectAreaId, List<String> identifiers)
-
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
ApplicationArtifactResolverto 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
-
-