| java.lang.Object com.sourcetap.sfa.util.EntityHelper
EntityHelper | public class EntityHelper (Code) | | author: Steve Fowler |
Method Summary | |
public static DynamicViewEntity | createDynamicViewEntity(GenericDelegator delegator, String entityName) Create a dynamic view entity using the specified entity as the source. | public static DynamicViewEntity | createDynamicViewEntity(GenericDelegator delegator, ModelEntity modelEntity) Create a dynamic view entity using the specified entity as the source. | public static List | findByClause(GenericDelegator delegator, String mainEntityName, List entityClauses, Map fields, List orderBy) | public static List | findByCondition(GenericDelegator delegator, DynamicViewEntity dve, EntityCondition condition, List orderBy) | public static EntityListIterator | findIteratorByCondition(GenericDelegator delegator, DynamicViewEntity dve, EntityCondition condition, List orderBy) | public static EntityListIterator | findIteratorByCondition(GenericDelegator delegator, DynamicViewEntity dve, EntityCondition condition, List selectFields, List orderBy) | public static String | getEntityOperator(int operatorId) | public static GenericValue | getPrimaryGVFromDynamicGV(GenericDelegator delegator, GenericValue dynamicGV, String primaryEntityName) | public static List | getPrimaryGVLFromDynamicGVL(GenericDelegator delegator, List dynamicGVL, String primaryEntityName) |
createDynamicViewEntity | public static DynamicViewEntity createDynamicViewEntity(GenericDelegator delegator, String entityName)(Code) | | Create a dynamic view entity using the specified entity as the source. This can be used
as a starting point when building a dynamic view with most fields from a single entity.
All fields from the specified entity will be added to the view entity. Other entities
and fields can be added to the returned dynamic view
Parameters: modelEntiy - Primary Entity to be used to create the dynamic view entity. a dynamic view entity that is based on the specified modelEntity |
createDynamicViewEntity | public static DynamicViewEntity createDynamicViewEntity(GenericDelegator delegator, ModelEntity modelEntity)(Code) | | Create a dynamic view entity using the specified entity as the source. This can be used
as a starting point when building a dynamic view with most fields from a single entity.
All fields from the specified entity will be added to the view entity. Other entities
and fields can be added to the returned dynamic view
Parameters: modelEntiy - Primary Entity to be used to create the dynamic view entity. a dynamic view entity that is based on the specified modelEntity |
getEntityOperator | public static String getEntityOperator(int operatorId)(Code) | | |
|
|