com.atlassian.jira.ofbiz
Class DefaultOfBizDelegator

java.lang.Object
  extended bycom.atlassian.jira.ofbiz.DefaultOfBizDelegator
All Implemented Interfaces:
OfBizDelegator

public class DefaultOfBizDelegator
extends java.lang.Object
implements OfBizDelegator


Field Summary
 
Fields inherited from interface com.atlassian.jira.ofbiz.OfBizDelegator
ISSUE_LINK, ISSUE_LINK_TYPE, VERSION
 
Constructor Summary
DefaultOfBizDelegator(org.ofbiz.core.entity.DelegatorInterface delegatorInterface)
           
 
Method Summary
 org.ofbiz.core.entity.GenericValue createValue(java.lang.String entity, java.util.Map params)
           
 java.util.List findAll(java.lang.String s)
           
 java.util.List findAll(java.lang.String s, java.util.List sortOrder)
           
 java.util.List findByAnd(java.lang.String s, java.util.Map map)
           
 java.util.List findByAnd(java.lang.String s, java.util.Map map, java.util.List orderClause)
           
 org.ofbiz.core.entity.GenericValue findByPrimaryKey(java.lang.String s, java.util.Map map)
           
 java.util.List getRelated(java.lang.String relationName, org.ofbiz.core.entity.GenericValue gv)
           
 void removeAll(java.util.List genericValues)
           
 int removeByAnd(java.lang.String s, java.util.Map map)
           
 int removeValue(org.ofbiz.core.entity.GenericValue value)
           
 void store(org.ofbiz.core.entity.GenericValue gv)
           
 void storeAll(java.util.List genericValues)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultOfBizDelegator

public DefaultOfBizDelegator(org.ofbiz.core.entity.DelegatorInterface delegatorInterface)
Method Detail

findByAnd

public java.util.List findByAnd(java.lang.String s,
                                java.util.Map map)
                         throws InfrastructureException
Specified by:
findByAnd in interface OfBizDelegator
Throws:
InfrastructureException

findByAnd

public java.util.List findByAnd(java.lang.String s,
                                java.util.Map map,
                                java.util.List orderClause)
                         throws DataAccessException
Specified by:
findByAnd in interface OfBizDelegator
Throws:
DataAccessException

removeAll

public void removeAll(java.util.List genericValues)
               throws DataAccessException
Specified by:
removeAll in interface OfBizDelegator
Throws:
DataAccessException

removeByAnd

public int removeByAnd(java.lang.String s,
                       java.util.Map map)
                throws DataAccessException
Specified by:
removeByAnd in interface OfBizDelegator
Throws:
DataAccessException

removeValue

public int removeValue(org.ofbiz.core.entity.GenericValue value)
                throws DataAccessException
Specified by:
removeValue in interface OfBizDelegator
Throws:
DataAccessException

storeAll

public void storeAll(java.util.List genericValues)
              throws DataAccessException
Specified by:
storeAll in interface OfBizDelegator
Throws:
DataAccessException

findAll

public java.util.List findAll(java.lang.String s)
Specified by:
findAll in interface OfBizDelegator

findAll

public java.util.List findAll(java.lang.String s,
                              java.util.List sortOrder)
                       throws DataAccessException
Specified by:
findAll in interface OfBizDelegator
Throws:
DataAccessException

store

public void store(org.ofbiz.core.entity.GenericValue gv)
           throws DataAccessException
Specified by:
store in interface OfBizDelegator
Throws:
DataAccessException

createValue

public org.ofbiz.core.entity.GenericValue createValue(java.lang.String entity,
                                                      java.util.Map params)
Specified by:
createValue in interface OfBizDelegator

findByPrimaryKey

public org.ofbiz.core.entity.GenericValue findByPrimaryKey(java.lang.String s,
                                                           java.util.Map map)
Specified by:
findByPrimaryKey in interface OfBizDelegator

getRelated

public java.util.List getRelated(java.lang.String relationName,
                                 org.ofbiz.core.entity.GenericValue gv)
Specified by:
getRelated in interface OfBizDelegator


Copyright © 2002-2005 Atlassian. All Rights Reserved.