/** Get the named Related Entity for the GenericValue from the persistent store * @param relationName String containing the relation name which is the * combination of relation.title and relation.rel-entity-name as * specified in the entity XML definition file * @param byAndFields the fields that must equal in order to keep; may be null * @param value GenericValue instance containing the entity * @return List of GenericValue instances as specified in the relation definition */ public List getRelatedByAnd(String relationName, Map byAndFields, GenericValue value) throws GenericEntityException { return this.getRelated(relationName, byAndFields, null, value); }
/** Get the named Related Entity for the GenericValue from the persistent store * @param relationName String containing the relation name which is the * combination of relation.title and relation.rel-entity-name as * specified in the entity XML definition file * @param value GenericValue instance containing the entity * @return List of GenericValue instances as specified in the relation definition */ public List getRelated(String relationName, GenericValue value) throws GenericEntityException { return getRelated(relationName, null, null, value); }
/** Get the named Related Entity for the GenericValue from the persistent store * @param relationName String containing the relation name which is the * combination of relation.title and relation.rel-entity-name as * specified in the entity XML definition file * @param value GenericValue instance containing the entity * @return List of GenericValue instances as specified in the relation definition */ public List getRelated(String relationName, GenericValue value) throws GenericEntityException { return getRelated(relationName, null, null, value); }
/** Get the named Related Entity for the GenericValue from the persistent store * @param relationName String containing the relation name which is the * combination of relation.title and relation.rel-entity-name as * specified in the entity XML definition file * @param byAndFields the fields that must equal in order to keep; may be null * @param value GenericValue instance containing the entity * @return List of GenericValue instances as specified in the relation definition */ public List getRelatedByAnd(String relationName, Map byAndFields, GenericValue value) throws GenericEntityException { return this.getRelated(relationName, byAndFields, null, value); }
/** Get the named Related Entity for the GenericValue from the persistent store * @param relationName String containing the relation name which is the * combination of relation.title and relation.rel-entity-name as * specified in the entity XML definition file * @param orderBy The fields of the named entity to order the query by; may be null; * optionally add a " ASC" for ascending or " DESC" for descending * @param value GenericValue instance containing the entity * @return List of GenericValue instances as specified in the relation definition */ public List getRelatedOrderBy(String relationName, List orderBy, GenericValue value) throws GenericEntityException { return this.getRelated(relationName, null, orderBy, value); }
/** Get the named Related Entity for the GenericValue from the persistent store * @param relationName String containing the relation name which is the * combination of relation.title and relation.rel-entity-name as * specified in the entity XML definition file * @param orderBy The fields of the named entity to order the query by; may be null; * optionally add a " ASC" for ascending or " DESC" for descending * @param value GenericValue instance containing the entity * @return List of GenericValue instances as specified in the relation definition */ public List getRelatedOrderBy(String relationName, List orderBy, GenericValue value) throws GenericEntityException { return this.getRelated(relationName, null, orderBy, value); }
/** * Get the named Related Entity for the GenericValue from the persistent store. * * @param relationName String containing the relation name which is the * combination of relation.title and relation.rel-entity-name as * specified in the entity XML definition file * @param orderBy The fields of the named entity to order the query by; may be null; * optionally add a " ASC" for ascending or " DESC" for descending * @param value GenericValue instance containing the entity * @return List of GenericValue instances as specified in the relation definition */ public List<GenericValue> getRelatedOrderBy( final String relationName, final List<String> orderBy, final GenericValue value) throws GenericEntityException { return getRelated(relationName, null, orderBy, value); }
@Override public List<GenericValue> getRelated(final String s, final Map<String, ?> map, final List<String> order) throws GenericEntityException { return CoreFactory.getGenericDelegator().getRelated(s, map, order, this); }
/** Get the named Related Entity for the GenericValue from the persistent store *@param relationName String containing the relation name which is the combination of relation.title and relation.rel-entity-name as specified in the entity XML definition file *@return List of GenericValue instances as specified in the relation definition */ public List getRelated(String relationName) throws GenericEntityException { return this.getDelegator().getRelated(relationName, this); }
/** * Get the named Related Entity for the GenericValue from the persistent store * * @param relationName String containing the relation name which is the combination of relation.title and relation.rel-entity-name as specified in the entity XML definition file * @param byAndFields the fields that must equal in order to keep; may be null * @param orderBy The fields of the named entity to order the query by; may be null; * optionally add a " ASC" for ascending or " DESC" for descending * @return List of GenericValue instances as specified in the relation definition */ public List<GenericValue> getRelated(String relationName, Map<String, ?> byAndFields, List<String> orderBy) throws GenericEntityException { return this.getDelegator().getRelated(relationName, byAndFields, orderBy, this); }
/** * Get the named Related Entity for the GenericValue from the persistent store * * @param relationName String containing the relation name which is the * combination of relation.title and relation.rel-entity-name as * specified in the entity XML definition file * @param value GenericValue instance containing the entity * @return List of GenericValue instances as specified in the relation definition */ public List<GenericValue> getRelated(final String relationName, final GenericValue value) throws GenericEntityException { checkIfLocked(); return getRelated(relationName, null, null, value); }
/** Get the named Related Entity for the GenericValue from the persistent store *@param relationName String containing the relation name which is the combination of relation.title and relation.rel-entity-name as specified in the entity XML definition file * @param byAndFields the fields that must equal in order to keep; may be null * @param orderBy The fields of the named entity to order the query by; may be null; * optionally add a " ASC" for ascending or " DESC" for descending *@return List of GenericValue instances as specified in the relation definition */ public List getRelated(String relationName, Map byAndFields, List orderBy) throws GenericEntityException { return this.getDelegator().getRelated(relationName, byAndFields, orderBy, this); }
/** * Get the named Related Entity for the GenericValue from the persistent store * * @param relationName String containing the relation name which is the combination of relation.title and relation.rel-entity-name as specified in the entity XML definition file * @return List of GenericValue instances as specified in the relation definition */ public List<GenericValue> getRelated(String relationName) throws GenericEntityException { return this.getDelegator().getRelated(relationName, this); }
/** Get the named Related Entity for the GenericValue from the persistent store *@param relationName String containing the relation name which is the combination of relation.title and relation.rel-entity-name as specified in the entity XML definition file *@return List of GenericValue instances as specified in the relation definition */ public List getRelated(String relationName) throws GenericEntityException { return this.getDelegator().getRelated(relationName, this); }
/** Get the named Related Entity for the GenericValue from the persistent store *@param relationName String containing the relation name which is the combination of relation.title and relation.rel-entity-name as specified in the entity XML definition file * @param byAndFields the fields that must equal in order to keep; may be null * @param orderBy The fields of the named entity to order the query by; may be null; * optionally add a " ASC" for ascending or " DESC" for descending *@return List of GenericValue instances as specified in the relation definition */ public List getRelated(String relationName, Map byAndFields, List orderBy) throws GenericEntityException { return this.getDelegator().getRelated(relationName, byAndFields, orderBy, this); }
/** * Get the named Related Entity for the GenericValue from the persistent store. * * @param relationName String containing the relation name which is the * combination of relation.title and relation.rel-entity-name as * specified in the entity XML definition file * @param byAndFields the fields that must equal in order to keep; may be null * @param value GenericValue instance containing the entity * @return List of GenericValue instances as specified in the relation definition */ public List<GenericValue> getRelatedByAnd( final String relationName, final Map<String, ?> byAndFields, final GenericValue value) throws GenericEntityException { checkIfLocked(); return getRelated(relationName, byAndFields, null, value); }