org.broadleafcommerce.core.marketing.dao
Class TargetContentDaoImpl

java.lang.Object
  extended by org.broadleafcommerce.core.marketing.dao.TargetContentDaoImpl
All Implemented Interfaces:
TargetContentDao

@Repository(value="blTargetContentDao")
public class TargetContentDaoImpl
extends java.lang.Object
implements TargetContentDao


Field Summary
protected  javax.persistence.EntityManager em
           
protected  EntityConfiguration entityConfiguration
           
 
Constructor Summary
TargetContentDaoImpl()
           
 
Method Summary
 void delete(java.lang.Long targetContentId)
           
 java.util.List<TargetContent> readCurrentTargetContentByNameType(java.lang.String name, java.lang.String type)
           
 java.util.List<TargetContent> readCurrentTargetContentsByPriority(int priority)
           
 TargetContent readTargetContentById(java.lang.Long targetContentId)
           
 java.util.List<TargetContent> readTargetContents()
           
 TargetContent save(TargetContent targetContent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

em

protected javax.persistence.EntityManager em

entityConfiguration

protected EntityConfiguration entityConfiguration
Constructor Detail

TargetContentDaoImpl

public TargetContentDaoImpl()
Method Detail

delete

public void delete(java.lang.Long targetContentId)
Specified by:
delete in interface TargetContentDao

save

public TargetContent save(TargetContent targetContent)
Specified by:
save in interface TargetContentDao

readCurrentTargetContentByNameType

public java.util.List<TargetContent> readCurrentTargetContentByNameType(java.lang.String name,
                                                                        java.lang.String type)
Specified by:
readCurrentTargetContentByNameType in interface TargetContentDao

readCurrentTargetContentsByPriority

public java.util.List<TargetContent> readCurrentTargetContentsByPriority(int priority)
Specified by:
readCurrentTargetContentsByPriority in interface TargetContentDao

readTargetContentById

public TargetContent readTargetContentById(java.lang.Long targetContentId)
Specified by:
readTargetContentById in interface TargetContentDao

readTargetContents

public java.util.List<TargetContent> readTargetContents()
Specified by:
readTargetContents in interface TargetContentDao


Copyright © 2012. All Rights Reserved.