public class ResponsibilitiesImpl extends AbstractResourceImpl implements Responsibilities
AbstractResourceImpl
abstract class and implements
Responsibilities
interface.Constructor and Description |
---|
ResponsibilitiesImpl(javax.ws.rs.client.WebTarget apiRootV2,
Client client,
Session session) |
Modifier and Type | Method and Description |
---|---|
Responsibility |
addGlobalResponsibility(String ownerId,
String roleId) |
Responsibility |
addResourceResponsibility(String ownerId,
String roleId,
String associatedResourceId) |
List<Responsibility> |
find(String ownerId,
String roleId,
String resourceId) |
cookies
public Responsibility addGlobalResponsibility(String ownerId, String roleId)
addGlobalResponsibility
in interface Responsibilities
ownerId
- owner idroleId
- role idResponsibility
public Responsibility addResourceResponsibility(String ownerId, String roleId, String associatedResourceId)
addResourceResponsibility
in interface Responsibilities
ownerId
- owner idroleId
- role idassociatedResourceId
- associated resource idResponsibility
public List<Responsibility> find(String ownerId, String roleId, String resourceId)
find
in interface Responsibilities
ownerId
- owner idroleId
- role idresourceId
- resource idList
of Responsibility
Copyright © 2010–2019. All rights reserved.