Package com.emc.storageos.model.auth

Examples of com.emc.storageos.model.auth.RoleAssignments


     * @param id
     *        the ID of the tenant.
     * @return the list of RoleAssignmentEntry
     */
    public List<RoleAssignmentEntry> getRoleAssignments(URI id) {
        RoleAssignments response = client.get(RoleAssignments.class, getRoleAssignmentsUrl(), id);
        return ResourceUtils.defaultList(response.getAssignments());
    }
View Full Code Here


     * @param roleChanges
     *        Role assignment changes
     * @return the list of RoleAssignmentEntry
     */
    public List<RoleAssignmentEntry> updateRoleAssignments(URI id, RoleAssignmentChanges roleChanges) {
        RoleAssignments response = client.put(RoleAssignments.class, roleChanges, getRoleAssignmentsUrl(), id);
        return ResourceUtils.defaultList(response.getAssignments());
    }
View Full Code Here

     * Get Role Assignments for the VDC.
     *
     * @return the list of RoleAssignmentEntry
     */
    public List<RoleAssignmentEntry> getRoleAssignments() {
        RoleAssignments response = client.get(RoleAssignments.class, getRoleAssignmentsUrl());
        return ResourceUtils.defaultList(response.getAssignments());
    }
View Full Code Here

     * @param roleChanges
     *        Role assignment changes
     * @return the list of RoleAssignmentEntry
     */
    public List<RoleAssignmentEntry> updateRoleAssignments(RoleAssignmentChanges roleChanges) {
        RoleAssignments response = client.put(RoleAssignments.class, roleChanges, getRoleAssignmentsUrl());
        return ResourceUtils.defaultList(response.getAssignments());
    }
View Full Code Here

     * @param id
     *        the ID of the tenant.
     * @return the list of RoleAssignmentEntry
     */
    public List<RoleAssignmentEntry> getRoleAssignments(URI id) {
        RoleAssignments response = client.get(RoleAssignments.class, getRoleAssignmentsUrl(), id);
        return ResourceUtils.defaultList(response.getAssignments());
    }
View Full Code Here

     * @param roleChanges
     *        Role assignment changes
     * @return the list of RoleAssignmentEntry
     */
    public List<RoleAssignmentEntry> updateRoleAssignments(URI id, RoleAssignmentChanges roleChanges) {
        RoleAssignments response = client.put(RoleAssignments.class, roleChanges, getRoleAssignmentsUrl(), id);
        return ResourceUtils.defaultList(response.getAssignments());
    }
View Full Code Here

     * Get Role Assignments for the VDC.
     *
     * @return the list of RoleAssignmentEntry
     */
    public List<RoleAssignmentEntry> getRoleAssignments() {
        RoleAssignments response = client.get(RoleAssignments.class, getRoleAssignmentsUrl());
        return ResourceUtils.defaultList(response.getAssignments());
    }
View Full Code Here

     * @param roleChanges
     *        Role assignment changes
     * @return the list of RoleAssignmentEntry
     */
    public List<RoleAssignmentEntry> updateRoleAssignments(RoleAssignmentChanges roleChanges) {
        RoleAssignments response = client.put(RoleAssignments.class, roleChanges, getRoleAssignmentsUrl());
        return ResourceUtils.defaultList(response.getAssignments());
    }
View Full Code Here

TOP

Related Classes of com.emc.storageos.model.auth.RoleAssignments

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.