Esempio n. 1
0
 public boolean has(final String bokType) {
   assert !Bok.SITE.equals(bokType) && !Bok.PROJECT.equals(bokType)
       : "ClientSession: use get methods instead";
   return byType.get(bokType) != null;
 }
Esempio n. 2
0
 public Bok getProjectBok(final String bokType) {
   assert !Bok.SITE.equals(bokType) && !Bok.PROJECT.equals(bokType)
       : "ClientSession: use get methods instead";
   return byType.get(bokType);
 }