org.broadleafcommerce.openadmin.server.service
Class DynamicEntityRemoteService
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
DynamicEntityRemoteService
public DynamicEntityRemoteService()
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
recreateSpecificServiceException
protected ServiceException recreateSpecificServiceException(ServiceException e,
String message,
Throwable cause)
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.