fluid-ws-java-client/src/main/java/com/fluidbpm/ws/client/v1/role/RoleClient.java
public Role getRoleById(Long roleIdParam)
    {
        Role roleToGetInfoFor = new Role();
        roleToGetInfoFor.setId(roleIdParam);

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

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

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

        try {
            return new Role(this.postJson(
                    roleToGetInfoFor, WS.Path.Role.Version1.getById()));
        }
        //
        catch (JSONException jsonExcept) {
            throw new FluidClientException(jsonExcept.getMessage(),
                    FluidClientException.ErrorCode.JSON_PARSING);
        }
    }
Retrieves role information for the provided {@code roleIdParam}.

@param roleIdParam The ID of the {@code Role} to retrieve info for.
@return Role information.

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