public class LDAPSourceExtended extends DataSource
_name| Constructor and Description |
|---|
LDAPSourceExtended()
Default constructor loading properties and initialising internal maps.
|
| 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 a persisted object
|
int |
execUpdate(java.lang.String query)
Executes an low-level update command
|
void |
importObj(java.lang.Object obj)
imports (persists) a new object into the datastore.
|
java.lang.String |
insert(java.lang.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(java.lang.Object obj)
updates a persisted object
|
getName, getNextID, setNamepublic LDAPSourceExtended()
public ResourceDataSet loadResources()
DataSourceloadResources in class DataSourcepublic void update(java.lang.Object obj)
DataSourceupdate in class DataSourceobj - the object to updatepublic boolean delete(java.lang.Object obj)
DataSourcedelete in class DataSourceobj - the object to deletepublic java.lang.String insert(java.lang.Object obj)
DataSourceinsert in class DataSourceobj - the object to insertpublic void importObj(java.lang.Object obj)
DataSourceimportObj in class DataSourceobj - the object to insertpublic int execUpdate(java.lang.String query)
DataSourceexecUpdate in class DataSourcequery - the query to executepublic 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.