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

        return new Role(this.putJson(
                roleParam, WS.Path.Role.Version1.roleCreate()));
    }
public Role createRole(Role roleParam)
    {
        if(roleParam != null && this.serviceTicket != null)
        {
            roleParam.setServiceTicket(this.serviceTicket);
        }

        return new Role(this.putJson(
                roleParam, WS.Path.Role.Version1.roleCreate()));
    }
public Role createRole ( Role roleParam ) { if ( roleParam != null && this . serviceTicket != null ) { roleParam . setServiceTicket ( this . serviceTicket ) ; } return new Role ( this . putJson ( roleParam , WS . Path . Role . Version1 . roleCreate ( ) ) ) ; }
Creates a new {@code Role} with the privileges inside the {@code roleParam}.

@param roleParam The {@code Role} to create.
@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
Creates a new { @code Role } with the privileges inside the { @code roleParam } .