public class jdbcImpl extends DataSource
_name| Constructor and Description | 
|---|
| jdbcImpl() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | authenticate(java.lang.String userid,
            java.lang.String password)Allows a user/password pair to be passed to an external data source for
 validation. | 
| boolean | delete(java.lang.Object obj)deletes the object from the database | 
| int | execUpdate(java.lang.String sql)Executes an UPDATE, INSERT or DELETE statement | 
| void | importObj(java.lang.Object obj)imports (persists) a new object into the datastore. | 
| java.lang.String | insert(java.lang.Object obj)inserts the object into the database | 
| ResourceDataSet | loadResources()Loads the entire contents of the org datastores into the relevant Participant,
 Role, Capability, Position and OrgGroup objects | 
| void | printDump()Dump database connection metadata | 
| void | update(java.lang.Object obj)updates an existing object in the database with new values | 
getName, getNextID, setNamepublic int execUpdate(java.lang.String sql)
execUpdate in class DataSourcesql - the statement to executepublic void printDump()
public ResourceDataSet loadResources()
DataSourceloadResources in class DataSourcepublic java.lang.String insert(java.lang.Object obj)
insert in class DataSourceobj - the object to insertpublic void importObj(java.lang.Object obj)
DataSourceimportObj in class DataSourceobj - the object to insertpublic void update(java.lang.Object obj)
update in class DataSourceobj - the object to updatepublic boolean delete(java.lang.Object obj)
delete in class DataSourceobj - the object to deletepublic boolean authenticate(java.lang.String userid,
                            java.lang.String password)
                     throws YAuthenticationException
DataSourceauthenticate in class DataSourceuserid - the useridpassword - the plain-text passwordYAuthenticationExceptionCopyright © 2004-2014 The YAWL Foundation.