fluid-ws-java-client/src/main/java/com/fluidbpm/ws/client/v1/role/RoleClient.java
public Role updateRole(Role roleParam)
    {
        if(roleParam != null && this.serviceTicket != null)
        {
            roleParam.setServiceTicket(this.serviceTicket);
        }

        return new Role(this.postJson(
                roleParam, WS.Path.Role.Version1.roleUpdate()));
    }
public Role updateRole(Role roleParam)
    {
        if(roleParam != null && this.serviceTicket != null)
        {
            roleParam.setServiceTicket(this.serviceTicket);
        }

        return new Role(this.postJson(
                roleParam, WS.Path.Role.Version1.roleUpdate()));
    }
Updates an existing {@code Role} with the privileges inside the {@code roleParam}.

@param roleParam The {@code Role} to update.
@return The Created Role.

@see Role
@see com.fluidbpm.program.api.vo.role.RoleToFormDefinition
@see com.fluidbpm.program.api.vo.role.RoleToFormFieldToFormDefinition
@see com.fluidbpm.program.api.vo.role.RoleToJobView