RS - platform dependent record set typeT - entity typeID - entity ID typepublic class PrcAccEntityCopy<RS,T extends org.beigesoft.model.IHasId<ID>,ID> extends Object implements org.beigesoft.service.IEntityProcessor<T,ID>
Service that make entity copy from DB.
| Constructor and Description |
|---|
PrcAccEntityCopy() |
| Modifier and Type | Method and Description |
|---|---|
org.beigesoft.service.IEntityProcessor<T,ID> |
getPrcEntityCopy()
Getter for prcEntityCopy.
|
ISrvAccSettings |
getSrvAccSettings()
Getter for srvAccSettings.
|
T |
process(Map<String,Object> pAddParam,
T pEntity,
org.beigesoft.model.IRequestData pRequestData)
Process entity request.
|
void |
setPrcEntityCopy(org.beigesoft.service.IEntityProcessor<T,ID> pPrcEntityCopy)
Setter for prcEntityCopy.
|
void |
setSrvAccSettings(ISrvAccSettings pSrvAccSettings)
Setter for srvAccSettings.
|
public final T process(Map<String,Object> pAddParam, T pEntity, org.beigesoft.model.IRequestData pRequestData) throws Exception
Process entity request.
process in interface org.beigesoft.service.IEntityProcessor<T extends org.beigesoft.model.IHasId<ID>,ID>pAddParam - additional param, e.g. return this line's
document in "nextEntity" for farther processpRequestData - Request DatapEntity - Entity to processException - - an exceptionpublic final org.beigesoft.service.IEntityProcessor<T,ID> getPrcEntityCopy()
Getter for prcEntityCopy.
public final void setPrcEntityCopy(org.beigesoft.service.IEntityProcessor<T,ID> pPrcEntityCopy)
Setter for prcEntityCopy.
pPrcEntityCopy - referencepublic final ISrvAccSettings getSrvAccSettings()
Getter for srvAccSettings.
public final void setSrvAccSettings(ISrvAccSettings pSrvAccSettings)
Setter for srvAccSettings.
pSrvAccSettings - referenceCopyright © 2016–2017. All rights reserved.