Rev 1775 |
Go to most recent revision |
Blame |
Compare with Previous |
Last modification |
View Log
| RSS feed
package pt.estgp.estgweb.domain;
import sun.reflect.generics.reflectiveObjects.NotImplementedException;
/**
* 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 NotImplementedException
();
}
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 NotImplementedException
();
}
}