bacoAlunos
ENGSOFT2019
BlueGrey
calm
Elegant
Català-Valencià - Catalan
中文 - Chinese (Simplified)
中文 - Chinese (Traditional)
Česky - Czech
Dansk - Danish
Nederlands - Dutch
English - English
Suomi - Finnish
Français - French
Deutsch - German
עברית - Hebrew
हिंदी - Hindi
Magyar - Hungarian
Bahasa Indonesia - Indonesian
Italiano - Italian
日本語 - Japanese
한국어 - Korean
मराठी - Marathi
Norsk - Norwegian
Polski - Polish
Português - Portuguese
Português - Portuguese (Brazil)
Русский - Russian
Slovenčina - Slovak
Slovenščina - Slovenian
Español - Spanish
Svenska - Swedish
Türkçe - Turkish
Oëzbekcha - Uzbek
Subversion Repositories
bacoAlunos
(root)
/
branches
/
v3
/
impl
/
src
/
java
/
pt
/
estgp
/
estgweb
/
domain
/
BpmnActorPoolImpl.java
@ 1827
- Rev 1827
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"
)
;
}
}