@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.ApplicationContextAware
org.springframework.beans.BeansException
protected ServiceException recreateSpecificServiceException(ServiceException e, String message, Throwable cause)
public DynamicResultSet inspect(PersistencePackage persistencePackage) throws ServiceException
inspect
in interface DynamicEntityService
ServiceException
public DynamicResultSet fetch(PersistencePackage persistencePackage, CriteriaTransferObject cto) throws ServiceException
fetch
in interface DynamicEntityService
ServiceException
protected void cleanEntity(Entity entity) throws ServiceException
ServiceException
public Entity add(PersistencePackage persistencePackage) throws ServiceException
add
in interface DynamicEntityService
ServiceException
public Entity update(PersistencePackage persistencePackage) throws ServiceException
update
in interface DynamicEntityService
ServiceException
public void remove(PersistencePackage persistencePackage) throws ServiceException
remove
in interface DynamicEntityService
ServiceException
public String getPersistenceManagerRef()
getPersistenceManagerRef
in interface DynamicEntityRemote
public void setPersistenceManagerRef(String persistenceManagerRef)
setPersistenceManagerRef
in interface DynamicEntityRemote
Copyright © 2014. All rights reserved.