Пример #1
0
 @Override
 public String getLinkFor(String corePath, String typeSimple) {
   for (LogicalModel lm : logicalModelSet) {
     if (lm.getId().equals(typeSimple))
       return collapse(corePath, guide.getPrefix() + lm.getId() + ".html");
   }
   return page.getLinkFor(corePath, typeSimple);
 }
Пример #2
0
 @Override
 public boolean hasLinkFor(String typeSimple) {
   for (LogicalModel lm : logicalModelSet) {
     if (lm.getId().equals(typeSimple)) return true;
   }
   return page.hasLinkFor(typeSimple);
 }