示例#1
0
 /**
  * Returns names of entity groups
  *
  * @return names of entity groups
  * @throws DynamicExtensionsSystemException
  * @throws DynamicExtensionsApplicationException
  */
 public List<String> serviceNamesByEntityGroups()
     throws DynamicExtensionsSystemException, DynamicExtensionsApplicationException {
   final List<String> serviceNames = new ArrayList<String>();
   for (EntityGroupInterface entityGroup : getEntityGroups()) {
     serviceNames.add(entityGroup.getName());
   }
   return serviceNames;
 }
示例#2
0
 /**
  * @param request
  * @param entityGroup
  * @return
  */
 private String getGroupDetailsXML(HttpServletRequest request, EntityGroupInterface entityGroup) {
   String groupDescription = null;
   if (entityGroup != null) {
     groupDescription = entityGroup.getDescription();
   }
   if (groupDescription == null) {
     groupDescription = "";
   }
   String groupDetailsXML = createGroupDetailsXML(groupDescription);
   if (groupDetailsXML == null) {
     groupDetailsXML = "";
   }
   return groupDetailsXML;
 }