@Service(value="blDynamicEntityRemoteService")
@Transactional(value="blTransactionManager",
rollbackFor=org.broadleafcommerce.common.exception.ServiceException.class)
public class DynamicEntityRemoteService
extends java.lang.Object
implements DynamicEntityService, DynamicEntityRemote, org.springframework.context.ApplicationContextAware
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULTPERSISTENCEMANAGERREF |
protected ExploitProtectionService |
exploitProtectionService |
protected static java.util.Map<BatchPersistencePackage,BatchDynamicResultSet> |
METADATA_CACHE |
protected java.lang.String |
persistenceManagerRef |
| Constructor and Description |
|---|
DynamicEntityRemoteService() |
| Modifier and Type | Method and Description |
|---|---|
Entity |
add(PersistencePackage persistencePackage) |
protected void |
cleanEntity(Entity entity) |
DynamicResultSet |
fetch(PersistencePackage persistencePackage,
CriteriaTransferObject cto) |
java.lang.String |
getPersistenceManagerRef() |
DynamicResultSet |
inspect(PersistencePackage persistencePackage) |
protected ServiceException |
recreateSpecificServiceException(ServiceException e,
java.lang.String message,
java.lang.Throwable cause) |
void |
remove(PersistencePackage persistencePackage) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setPersistenceManagerRef(java.lang.String persistenceManagerRef) |
Entity |
update(PersistencePackage persistencePackage) |
public static final java.lang.String DEFAULTPERSISTENCEMANAGERREF
protected static final java.util.Map<BatchPersistencePackage,BatchDynamicResultSet> METADATA_CACHE
protected java.lang.String persistenceManagerRef
protected ExploitProtectionService exploitProtectionService
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionprotected ServiceException recreateSpecificServiceException(ServiceException e, java.lang.String message, java.lang.Throwable cause)
public DynamicResultSet inspect(PersistencePackage persistencePackage) throws ServiceException
inspect in interface DynamicEntityServiceServiceExceptionpublic DynamicResultSet fetch(PersistencePackage persistencePackage, CriteriaTransferObject cto) throws ServiceException
fetch in interface DynamicEntityServiceServiceExceptionprotected void cleanEntity(Entity entity) throws ServiceException
ServiceExceptionpublic Entity add(PersistencePackage persistencePackage) throws ServiceException
add in interface DynamicEntityServiceServiceExceptionpublic Entity update(PersistencePackage persistencePackage) throws ServiceException
update in interface DynamicEntityServiceServiceExceptionpublic void remove(PersistencePackage persistencePackage) throws ServiceException
remove in interface DynamicEntityServiceServiceExceptionpublic java.lang.String getPersistenceManagerRef()
getPersistenceManagerRef in interface DynamicEntityRemotepublic void setPersistenceManagerRef(java.lang.String persistenceManagerRef)
setPersistenceManagerRef in interface DynamicEntityRemoteCopyright © 2018. All Rights Reserved.