org.broadleafcommerce.openadmin.server.service
Class DynamicEntityRemoteService

java.lang.Object
  extended by org.broadleafcommerce.openadmin.server.service.DynamicEntityRemoteService
All Implemented Interfaces:
DynamicEntityService

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

Author:
jfischer

Field Summary
protected  ExploitProtectionService exploitProtectionService
           
protected static Map<BatchPersistencePackage,BatchDynamicResultSet> METADATA_CACHE
           
protected  PersistenceThreadManager persistenceThreadManager
           
 
Constructor Summary
DynamicEntityRemoteService()
           
 
Method Summary
 PersistenceResponse add(PersistencePackage persistencePackage)
           
protected  void cleanEntity(Entity entity)
           
 PersistenceResponse fetch(PersistencePackage persistencePackage, CriteriaTransferObject cto)
           
 PersistenceResponse inspect(PersistencePackage persistencePackage)
           
protected  ServiceException recreateSpecificServiceException(ServiceException e, String message, Throwable cause)
           
 PersistenceResponse remove(PersistencePackage persistencePackage)
           
 PersistenceResponse update(PersistencePackage persistencePackage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

METADATA_CACHE

protected static final Map<BatchPersistencePackage,BatchDynamicResultSet> METADATA_CACHE

exploitProtectionService

protected ExploitProtectionService exploitProtectionService

persistenceThreadManager

protected PersistenceThreadManager persistenceThreadManager
Constructor Detail

DynamicEntityRemoteService

public DynamicEntityRemoteService()
Method Detail

recreateSpecificServiceException

protected ServiceException recreateSpecificServiceException(ServiceException e,
                                                            String message,
                                                            Throwable cause)

inspect

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

fetch

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

cleanEntity

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

add

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

update

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

remove

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


Copyright © 2013. All Rights Reserved.