|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.yawlfoundation.yawl.resourcing.datastore.orgdata.DataSource
org.yawlfoundation.yawl.resourcing.datastore.orgdata.EmptyDataSource
public class EmptyDataSource
This class provides a default DataSource object to the ResourceManager in the event that there is no actual Datasource set and/or initialised. Author: Michael Adams Date: 10/04/2008
| Field Summary |
|---|
| Fields inherited from class org.yawlfoundation.yawl.resourcing.datastore.orgdata.DataSource |
|---|
_name |
| Constructor Summary | |
|---|---|
EmptyDataSource()
|
|
| Method Summary | |
|---|---|
boolean |
authenticate(String userid,
String password)
Allows a user/password pair to be passed to an external data source for validation. |
boolean |
delete(Object obj)
deletes a persisted object |
int |
execUpdate(String query)
Executes an low-level update command |
ResourceDataSet |
getDataSource()
|
void |
importObj(Object obj)
imports (persists) a new object into the datastore. |
String |
insert(Object obj)
inserts (persists) a new object record into the datastore |
ResourceDataSet |
loadResources()
Loads the entire contents of the org datastores into the relevant Participant, Role, Capability, Position and OrgGroup objects |
void |
update(Object obj)
updates a persisted object |
| Methods inherited from class org.yawlfoundation.yawl.resourcing.datastore.orgdata.DataSource |
|---|
getName, getNextID, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EmptyDataSource()
| Method Detail |
|---|
public ResourceDataSet getDataSource()
public ResourceDataSet loadResources()
DataSource
loadResources in class DataSourcepublic void update(Object obj)
DataSource
update in class DataSourceobj - the object to updatepublic boolean delete(Object obj)
DataSource
delete in class DataSourceobj - the object to deletepublic String insert(Object obj)
DataSource
insert in class DataSourceobj - the object to insert
public void importObj(Object obj)
DataSource
importObj in class DataSourceobj - the object to insertpublic int execUpdate(String query)
DataSource
execUpdate in class DataSourcequery - the query to execute
public boolean authenticate(String userid,
String password)
throws YAuthenticationException
DataSource
authenticate in class DataSourceuserid - the useridpassword - the plain-text password
YAuthenticationException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||