com.trendmicro.grid.acl.ds.jpa
Class JpaSourceDomainRepository

java.lang.Object
  extended by com.trendmicro.grid.acl.ds.jpa.JpaSourceDomainRepository
All Implemented Interfaces:
com.trendmicro.grid.acl.ds.Repository, com.trendmicro.grid.acl.ds.SourceDomainRepository

@Repository
@Transactional(readOnly=true)
public class JpaSourceDomainRepository
extends Object
implements com.trendmicro.grid.acl.ds.SourceDomainRepository

Implements SourceDomainRepository using JPA.

Version:
1.0
Author:
juergen_kellerer, 2010-06-01

Constructor Summary
JpaSourceDomainRepository()
           
 
Method Summary
 void createOrUpdate(com.trendmicro.grid.acl.l0.datatypes.SourceDomain domain)
           
 com.trendmicro.grid.acl.ds.datatypes.SharedSourceDomainListPage getAllPaged(int pageNumber)
           
 com.trendmicro.grid.acl.ds.datatypes.SharedSourceDomain getByName(String domainName)
           
 com.trendmicro.grid.acl.ds.datatypes.SharedSourceDomain getOrCreate(String domainName)
           
static int getPageSize()
           
static void setPageSize(int pageSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JpaSourceDomainRepository

public JpaSourceDomainRepository()
Method Detail

getPageSize

public static int getPageSize()

setPageSize

public static void setPageSize(int pageSize)

getAllPaged

public com.trendmicro.grid.acl.ds.datatypes.SharedSourceDomainListPage getAllPaged(int pageNumber)
Specified by:
getAllPaged in interface com.trendmicro.grid.acl.ds.SourceDomainRepository

getByName

public com.trendmicro.grid.acl.ds.datatypes.SharedSourceDomain getByName(String domainName)
Specified by:
getByName in interface com.trendmicro.grid.acl.ds.SourceDomainRepository

getOrCreate

@Transactional(readOnly=false)
public com.trendmicro.grid.acl.ds.datatypes.SharedSourceDomain getOrCreate(String domainName)
Specified by:
getOrCreate in interface com.trendmicro.grid.acl.ds.SourceDomainRepository

createOrUpdate

@Transactional(readOnly=false)
public void createOrUpdate(com.trendmicro.grid.acl.l0.datatypes.SourceDomain domain)
Specified by:
createOrUpdate in interface com.trendmicro.grid.acl.ds.SourceDomainRepository