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 Response
addAssociations(String projectAreaId)
protected void
checkPermission(String projectAreaId)
Checks whether the connected user has the permission to access project area associations services for the given project area.Response
deleteAssociations(String projectAreaId, List<String> identifiers)
Response
getAssociations(String projectAreaId)
Response
getFriends(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
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
-
-