org.broadleafcommerce.openadmin.server.service
Class DynamicEntityRemoteService

java.lang.Object
  extended by org.broadleafcommerce.openadmin.server.service.DynamicEntityRemoteService
All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService, DynamicEntityService, DynamicEntityRemote, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

@Service(value="blDynamicEntityRemoteService")
@Transactional(value="blTransactionManager",
               rollbackFor=org.broadleafcommerce.common.exception.ServiceException.class)
public class DynamicEntityRemoteService
extends Object
implements DynamicEntityService, DynamicEntityRemote, org.springframework.context.ApplicationContextAware

Author:
jfischer

Field Summary
static String DEFAULTPERSISTENCEMANAGERREF
           
protected  ExploitProtectionService exploitProtectionService
           
protected static Map<BatchPersistencePackage,BatchDynamicResultSet> METADATA_CACHE
           
protected  String persistenceManagerRef
           
 
Constructor Summary
DynamicEntityRemoteService()
           
 
Method Summary
 Entity add(PersistencePackage persistencePackage)
           
 BatchDynamicResultSet batchInspect(BatchPersistencePackage batchPersistencePackage)
           
protected  void cleanEntity(Entity entity)
           
 DynamicResultSet fetch(PersistencePackage persistencePackage, CriteriaTransferObject cto)
           
 String getPersistenceManagerRef()
           
 DynamicResultSet inspect(PersistencePackage persistencePackage)
           
 void remove(PersistencePackage persistencePackage)
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 void setPersistenceManagerRef(String persistenceManagerRef)
           
protected  com.anasoft.os.daofusion.cto.client.CriteriaTransferObject translateCto(CriteriaTransferObject cto)
           
 Entity update(PersistencePackage persistencePackage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULTPERSISTENCEMANAGERREF

public static final String DEFAULTPERSISTENCEMANAGERREF
See Also:
Constant Field Values

METADATA_CACHE

protected static final Map<BatchPersistencePackage,BatchDynamicResultSet> METADATA_CACHE

persistenceManagerRef

protected String persistenceManagerRef

exploitProtectionService

protected ExploitProtectionService exploitProtectionService
Constructor Detail

DynamicEntityRemoteService

public DynamicEntityRemoteService()
Method Detail

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
                           throws org.springframework.beans.BeansException
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
Throws:
org.springframework.beans.BeansException

batchInspect

public BatchDynamicResultSet batchInspect(BatchPersistencePackage batchPersistencePackage)
                                   throws ServiceException,
                                          com.gwtincubator.security.exception.ApplicationSecurityException
Specified by:
batchInspect in interface DynamicEntityService
Throws:
ServiceException
com.gwtincubator.security.exception.ApplicationSecurityException

inspect

public DynamicResultSet inspect(PersistencePackage persistencePackage)
                         throws ServiceException
Specified by:
inspect in interface DynamicEntityService
Throws:
ServiceException

fetch

public DynamicResultSet fetch(PersistencePackage persistencePackage,
                              CriteriaTransferObject cto)
                       throws ServiceException
Specified by:
fetch in interface DynamicEntityService
Throws:
ServiceException

translateCto

protected com.anasoft.os.daofusion.cto.client.CriteriaTransferObject translateCto(CriteriaTransferObject cto)

cleanEntity

protected void cleanEntity(Entity entity)
                    throws ServiceException
Throws:
ServiceException

add

public Entity add(PersistencePackage persistencePackage)
           throws ServiceException
Specified by:
add in interface DynamicEntityService
Throws:
ServiceException

update

public Entity update(PersistencePackage persistencePackage)
              throws ServiceException
Specified by:
update in interface DynamicEntityService
Throws:
ServiceException

remove

public void remove(PersistencePackage persistencePackage)
            throws ServiceException
Specified by:
remove in interface DynamicEntityService
Throws:
ServiceException

getPersistenceManagerRef

public String getPersistenceManagerRef()
Specified by:
getPersistenceManagerRef in interface DynamicEntityRemote

setPersistenceManagerRef

public void setPersistenceManagerRef(String persistenceManagerRef)
Specified by:
setPersistenceManagerRef in interface DynamicEntityRemote


Copyright © 2013. All Rights Reserved.