org.kuali.rice.kew.rule.dao.impl
Class RuleAttributeDAOJpaImpl

java.lang.Object
  extended by org.kuali.rice.kew.rule.dao.impl.RuleAttributeDAOJpaImpl
All Implemented Interfaces:
RuleAttributeDAO

public class RuleAttributeDAOJpaImpl
extends Object
implements RuleAttributeDAO


Field Summary
private  javax.persistence.EntityManager entityManager
           
private static org.apache.log4j.Logger LOG
           
 
Constructor Summary
RuleAttributeDAOJpaImpl()
           
 
Method Summary
 void delete(Long ruleAttributeId)
           
 RuleAttribute findByClassName(String classname)
           
 RuleAttribute findByName(String name)
           
 List findByRuleAttribute(RuleAttribute ruleAttribute)
           
 RuleAttribute findByRuleAttributeId(Long ruleAttributeId)
           
 List getAllRuleAttributes()
           
 javax.persistence.EntityManager getEntityManager()
           
 void save(RuleAttribute ruleAttribute)
           
 void setEntityManager(javax.persistence.EntityManager entityManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entityManager

private javax.persistence.EntityManager entityManager

LOG

private static final org.apache.log4j.Logger LOG
Constructor Detail

RuleAttributeDAOJpaImpl

public RuleAttributeDAOJpaImpl()
Method Detail

getEntityManager

public javax.persistence.EntityManager getEntityManager()
Returns:
the entityManager

setEntityManager

public void setEntityManager(javax.persistence.EntityManager entityManager)
Parameters:
entityManager - the entityManager to set

save

public void save(RuleAttribute ruleAttribute)
Specified by:
save in interface RuleAttributeDAO

delete

public void delete(Long ruleAttributeId)
Specified by:
delete in interface RuleAttributeDAO

findByRuleAttributeId

public RuleAttribute findByRuleAttributeId(Long ruleAttributeId)
Specified by:
findByRuleAttributeId in interface RuleAttributeDAO

findByRuleAttribute

public List findByRuleAttribute(RuleAttribute ruleAttribute)
Specified by:
findByRuleAttribute in interface RuleAttributeDAO

getAllRuleAttributes

public List getAllRuleAttributes()
Specified by:
getAllRuleAttributes in interface RuleAttributeDAO

findByName

public RuleAttribute findByName(String name)
Specified by:
findByName in interface RuleAttributeDAO

findByClassName

public RuleAttribute findByClassName(String classname)
Specified by:
findByClassName in interface RuleAttributeDAO


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.