fluid-ws-java-client/src/main/java/com/fluidbpm/ws/client/v1/role/RoleClient.java
public RoleListing getAllRoles()
    {
        RoleListing roleToGetInfoFor = new RoleListing();

        if(this.serviceTicket != null)
        {
            roleToGetInfoFor.setServiceTicket(this.serviceTicket);
        }

        try {
            return new RoleListing(this.postJson(
                    roleToGetInfoFor, WS.Path.Role.Version1.getAllRoles()));
        }
        //
        catch (JSONException jsonExcept) {
            throw new FluidClientException(jsonExcept.getMessage(),
                    FluidClientException.ErrorCode.JSON_PARSING);
        }
    }
public RoleListing getAllRoles()
    {
        RoleListing roleToGetInfoFor = new RoleListing();

        if(this.serviceTicket != null)
        {
            roleToGetInfoFor.setServiceTicket(this.serviceTicket);
        }

        try {
            return new RoleListing(this.postJson(
                    roleToGetInfoFor, WS.Path.Role.Version1.getAllRoles()));
        }
        //
        catch (JSONException jsonExcept) {
            throw new FluidClientException(jsonExcept.getMessage(),
                    FluidClientException.ErrorCode.JSON_PARSING);
        }
    }
Retrieves all role information.

@return Role information.

@see com.fluidbpm.program.api.vo.role.RoleListing