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, setName
public LDAPSourceExtended()
public ResourceDataSet loadResources()
DataSource
loadResources
in class DataSource
public void update(java.lang.Object obj)
DataSource
update
in class DataSource
obj
- the object to updatepublic boolean delete(java.lang.Object obj)
DataSource
delete
in class DataSource
obj
- the object to deletepublic java.lang.String insert(java.lang.Object obj)
DataSource
insert
in class DataSource
obj
- the object to insertpublic void importObj(java.lang.Object obj)
DataSource
importObj
in class DataSource
obj
- the object to insertpublic int execUpdate(java.lang.String query)
DataSource
execUpdate
in class DataSource
query
- the query to executepublic boolean authenticate(java.lang.String userid, java.lang.String password) throws YAuthenticationException
DataSource
authenticate
in class DataSource
userid
- the useridpassword
- the plain-text passwordYAuthenticationException
Copyright © 2004-2014 The YAWL Foundation.