@Service(value="ProcessInstanceStoreage") public class ProcessInstanceStoreDAOImpl extends Object implements ProcessInstanceStoreDAO
ProcessInstanceStoreDAO
interface.Constructor and Description |
---|
ProcessInstanceStoreDAOImpl() |
Modifier and Type | Method and Description |
---|---|
ProcessInstanceStore |
load(String processInstanceId)
Returns a
ProcessInstanceStore , defined by
processInstanceID from the database, or null if the
object could not be found. |
void |
remove(String processInstanceId)
Deletes the
ProcessInstance corresponding with the
processInstanceId . |
void |
saveOrUpdate(ProcessInstanceStore pIStore)
Stores a
ProcessInstance defined by pIStore in the
database. |
public void saveOrUpdate(ProcessInstanceStore pIStore) throws at.gv.egovernment.moa.id.commons.db.ex.MOADatabaseException
ProcessInstanceStoreDAO
ProcessInstance
defined by pIStore
in the
database.saveOrUpdate
in interface ProcessInstanceStoreDAO
pIStore
- the ProcessInstanceStore
to persist.at.gv.egovernment.moa.id.commons.db.ex.MOADatabaseException
- is thrown if a problem occurs while accessing the database.public ProcessInstanceStore load(String processInstanceId) throws at.gv.egovernment.moa.id.commons.db.ex.MOADatabaseException
ProcessInstanceStoreDAO
ProcessInstanceStore
, defined by
processInstanceID
from the database, or null
if the
object could not be found.load
in interface ProcessInstanceStoreDAO
processInstanceId
- the id of the ProcessInstanceStore
to retrieve.null
.at.gv.egovernment.moa.id.commons.db.ex.MOADatabaseException
- is thrown if a problem occurs while accessing the database.public void remove(String processInstanceId) throws at.gv.egovernment.moa.id.commons.db.ex.MOADatabaseException
ProcessInstanceStoreDAO
ProcessInstance
corresponding with the
processInstanceId
.remove
in interface ProcessInstanceStoreDAO
processInstanceId
- the id of the ProcessInstance
to be deleted.at.gv.egovernment.moa.id.commons.db.ex.MOADatabaseException
- is thrown if a problem occurs while accessing the database.Copyright © 2017. All rights reserved.