Class DrupalProvider
java.lang.Object
com.tremolosecurity.unison.drupal.drupal6.provisioning.DrupalProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
beginUpdate
(Connection con, int id, Map<String, Object> request) void
clearField
(Connection con, int id, Map<String, Object> request, String attributeName, String oldValue) void
completeUpdate
(Connection con, int id, Map<String, Object> request) int
createUser
(Connection con, User user, Map<String, Attribute> attributes, Map<String, Object> request) void
deleteGroup
(Connection con, int id, String name, Map<String, Object> request) void
deleteUser
(Connection con, int id, Map<String, Object> request) findGroups
(Connection con, int id, Map<String, Object> request) boolean
void
loadPofileNameID
(PreparedStatement psField, String fieldName, Map<String, Object> request) void
setTargetName
(String name) void
updateField
(Connection con, int id, Map<String, Object> request, String attributeName, String oldValue, String newValue)
-
Constructor Details
-
DrupalProvider
public DrupalProvider()
-
-
Method Details
-
createUser
public int createUser(Connection con, User user, Map<String, Attribute> attributes, Map<String, throws ProvisioningExceptionObject> request) - Specified by:
createUser
in interfaceCustomDB
- Throws:
ProvisioningException
-
loadPofileNameID
public void loadPofileNameID(PreparedStatement psField, String fieldName, Map<String, Object> request) throws SQLException, ProvisioningException- Throws:
SQLException
ProvisioningException
-
addGroup
public void addGroup(Connection con, int id, String name, Map<String, Object> request) throws ProvisioningException- Specified by:
addGroup
in interfaceCustomDB
- Throws:
ProvisioningException
-
deleteGroup
public void deleteGroup(Connection con, int id, String name, Map<String, Object> request) throws ProvisioningException- Specified by:
deleteGroup
in interfaceCustomDB
- Throws:
ProvisioningException
-
deleteUser
public void deleteUser(Connection con, int id, Map<String, Object> request) throws ProvisioningException- Specified by:
deleteUser
in interfaceCustomDB
- Throws:
ProvisioningException
-
beginUpdate
public void beginUpdate(Connection con, int id, Map<String, Object> request) throws ProvisioningException- Specified by:
beginUpdate
in interfaceCustomDB
- Throws:
ProvisioningException
-
updateField
public void updateField(Connection con, int id, Map<String, Object> request, String attributeName, String oldValue, String newValue) throws ProvisioningException- Specified by:
updateField
in interfaceCustomDB
- Throws:
ProvisioningException
-
clearField
public void clearField(Connection con, int id, Map<String, Object> request, String attributeName, String oldValue) throws ProvisioningException- Specified by:
clearField
in interfaceCustomDB
- Throws:
ProvisioningException
-
completeUpdate
public void completeUpdate(Connection con, int id, Map<String, Object> request) throws ProvisioningException- Specified by:
completeUpdate
in interfaceCustomDB
- Throws:
ProvisioningException
-
listCustomGroups
public boolean listCustomGroups()- Specified by:
listCustomGroups
in interfaceCustomDB
-
findGroups
public List<String> findGroups(Connection con, int id, Map<String, Object> request) throws ProvisioningException- Specified by:
findGroups
in interfaceCustomDB
- Throws:
ProvisioningException
-
setTargetName
- Specified by:
setTargetName
in interfaceCustomDB
-