Package org.apache.ofbiz.entity.model
Class ModelGroupReader
java.lang.Object
org.apache.ofbiz.entity.model.ModelGroupReader
- All Implemented Interfaces:
Serializable
Generic Entity - Entity Group Definition Reader
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetEntityGroupName
(String entityName, String delegatorBaseName) Gets a group name based on a definition from the specified XML Entity Group descriptor file.getEntityNamesByGroup
(String delegatorBaseName, String groupName) Creates a Set with names of all of the entities for a given groupgetGroupCache
(String delegatorName) Gets group cache.getGroupNames
(String delegatorBaseName) Creates a Set with all of the groupNames defined in the specified XML Entity Group Descriptor file.static ModelGroupReader
getModelGroupReader
(String delegatorName)
-
Constructor Details
-
ModelGroupReader
- Throws:
GenericEntityConfException
-
-
Method Details
-
getModelGroupReader
public static ModelGroupReader getModelGroupReader(String delegatorName) throws GenericEntityConfException - Throws:
GenericEntityConfException
-
getGroupCache
Gets group cache.- Parameters:
delegatorName
- the delegator name- Returns:
- the group cache
-
getEntityGroupName
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
Creates a Set with all of the groupNames defined in the specified XML Entity Group Descriptor file.- Returns:
- A Set of groupNames Strings
-
getEntityNamesByGroup
Creates a Set with names of all of the entities for a given group- Parameters:
groupName
-- Returns:
- A Set of entityName Strings
-