org.broadleafcommerce.openadmin.server.service
Class DynamicEntityRemoteService

java.lang.Object
  extended by org.broadleafcommerce.openadmin.server.service.DynamicEntityRemoteService
All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService, DynamicEntityService, org.springframework.context.ApplicationContextAware

@Service(value="blDynamicEntityRemoteService")
public class DynamicEntityRemoteService
extends Object
implements DynamicEntityService, org.springframework.context.ApplicationContextAware

Author:
jfischer

Field Summary
static String DEFAULTPERSISTENCEMANAGERREF
           
protected  ExploitProtectionService exploitProtectionService
           
protected  String persistenceManagerRef
           
 
Constructor Summary
DynamicEntityRemoteService()
           
 
Method Summary
 Entity add(PersistencePackage persistencePackage)
           
protected  void cleanEntity(Entity entity)
           
 DynamicResultSet fetch(PersistencePackage persistencePackage, CriteriaTransferObject cto)
           
 String getPersistenceManagerRef()
           
 DynamicResultSet inspect(PersistencePackage persistencePackage)
           
 void remove(PersistencePackage persistencePackage)
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 void setPersistenceManagerRef(String persistenceManagerRef)
           
protected  com.anasoft.os.daofusion.cto.client.CriteriaTransferObject translateCto(CriteriaTransferObject cto)
           
 Entity update(PersistencePackage persistencePackage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULTPERSISTENCEMANAGERREF

public static final String DEFAULTPERSISTENCEMANAGERREF
See Also:
Constant Field Values

persistenceManagerRef

protected String persistenceManagerRef

exploitProtectionService

protected ExploitProtectionService exploitProtectionService
Constructor Detail

DynamicEntityRemoteService

public DynamicEntityRemoteService()
Method Detail

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

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()

setPersistenceManagerRef

public void setPersistenceManagerRef(String persistenceManagerRef)


Copyright © 2012. All Rights Reserved.