Class ModelGroupReader

java.lang.Object
org.ofbiz.core.entity.model.ModelGroupReader

public class ModelGroupReader extends Object
Generic Entity - Entity Group Definition Reader
Since:
2.0
Version:
$Revision: 1.1 $
Author:
David E. Jones
  • Field Details

  • Constructor Details

  • Method Details

    • getModelGroupReader

      public static ModelGroupReader getModelGroupReader(String delegatorName) throws GenericEntityConfException
      Throws:
      GenericEntityConfException
    • getGroupCache

      public Map<String,String> getGroupCache()
    • getEntityGroupName

      public String getEntityGroupName(String entityName)
      Gets a group name based on a definition from the specified XML Entity Group descriptor file.
      Parameters:
      entityName - The entityName of the Entity Group definition to use.
      Returns:
      A group name
    • getGroupNames

      public Collection<String> getGroupNames()
      Creates a Collection with all of the groupNames defined in the specified XML Entity Group Descriptor file.
      Returns:
      A Collection of groupNames Strings
    • getEntityNamesByGroup

      public Collection<String> getEntityNamesByGroup(String groupName)
      Creates a Collection with names of all of the entities for a given group
      Returns:
      A Collection of entityName Strings