Subversion Repositories bacoAlunos

Rev

Rev 1776 | Blame | Compare with Previous | Last modification | View Log | RSS feed

package pt.estgp.estgweb.domain;


/**
 * Created by jorgemachado on 03/02/17.
 */

public class BpmnActorPoolImpl extends BpmnActorPool
{
    public boolean hasRole(1.5.0/docs/api/java/lang/String.html">String r)
    {
        /*
        if (r == null || getSelectorRole() == null || getSelectorRole().getRoles() == null || getSelectorRole().getRoles().size() == 0)
            return false;
        for (DomainRoleProxy role : getSelectorRole().getRoles())
        {
            if (role.getRole().equals(r))
                return true;
        }
        return false;
        */

        throw new 1.5.0/docs/api/java/lang/RuntimeException.html">RuntimeException("Not Implemented");
    }

    public void replaceRole(1.5.0/docs/api/java/lang/String.html">String oldRole,1.5.0/docs/api/java/lang/String.html">String newRole)
    {
        /*
        if (oldRole == null || newRole == null || getSelectorRole() == null || getSelectorRole().getRoles() == null || getSelectorRole().getRoles().size() == 0)
            return;
        for (DomainRoleProxy role : getSelectorRole().getRoles())
        {
            if (role.getRole().equals(oldRole))
            {
                role.setRole(newRole);
                break;
            }
        }
        */

        throw new 1.5.0/docs/api/java/lang/RuntimeException.html">RuntimeException("Not Implemented");
    }


}