@Service(value="blDynamicEntityRemoteService")
@Transactional(value="blTransactionManager",
rollbackFor=ServiceException.class)
public class DynamicEntityRemoteService
extends Object
implements DynamicEntityService, DynamicEntityRemote, org.springframework.context.ApplicationContextAware
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULTPERSISTENCEMANAGERREF |
protected ExploitProtectionService |
exploitProtectionService |
protected static Map<BatchPersistencePackage,BatchDynamicResultSet> |
METADATA_CACHE |
protected 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) |
String |
getPersistenceManagerRef() |
DynamicResultSet |
inspect(PersistencePackage persistencePackage) |
protected ServiceException |
recreateSpecificServiceException(ServiceException e,
String message,
Throwable cause) |
void |
remove(PersistencePackage persistencePackage) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setPersistenceManagerRef(String persistenceManagerRef) |
Entity |
update(PersistencePackage persistencePackage) |
public static final String DEFAULTPERSISTENCEMANAGERREF
protected static final Map<BatchPersistencePackage,BatchDynamicResultSet> METADATA_CACHE
protected 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, String message, 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 String getPersistenceManagerRef()
getPersistenceManagerRef in interface DynamicEntityRemotepublic void setPersistenceManagerRef(String persistenceManagerRef)
setPersistenceManagerRef in interface DynamicEntityRemoteCopyright © 2014. All rights reserved.