View Javadoc

1   package com.atlassian.jira.referentiel.entities;
2   
3   import java.util.List;
4   
5   import org.ofbiz.core.entity.GenericEntityException;
6   import org.ofbiz.core.entity.GenericValue;
7   
8   public interface IExternalEntityManager {
9   
10  	/** 
11  	 * @return List of all entities (GenericValue)
12  	 * @throws GenericEntityException 
13  	 */
14  	public List getEntities(final String _entityName) throws GenericEntityException;
15  
16  	/** 
17  	 * @return an Entity identified by _id
18  	 * @throws GenericEntityException 
19  	 */
20  	public GenericValue getEntity(final String _entityName, final Object _id) throws GenericEntityException;
21  	
22  	/** 
23  	 * @return an Entity's Field identified by _id. All Exception are caught
24  	 */
25  	public String getEntityFieldOrValue(final String _entityName, final Object _id, final String _fieldName ) ;
26  	
27  }