|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stratelia.webactiv.beans.admin.AbstractDomainDriver
public abstract class AbstractDomainDriver
Field Summary | |
---|---|
protected int |
domainId
|
protected List<DomainProperty> |
domainProperties
|
protected String[] |
keys
|
protected String[] |
m_mapParameters
|
protected Map<String,HashMap<String,String>> |
m_PropertiesDescriptions
|
protected Map<String,HashMap<String,String>> |
m_PropertiesLabels
|
protected String |
m_PropertiesMultilang
|
protected boolean |
synchroInProcess
|
protected boolean |
x509Enabled
|
Fields inherited from interface com.stratelia.webactiv.beans.admin.DomainDriver |
---|
ACTION_CREATE_GROUP, ACTION_CREATE_USER, ACTION_DELETE_GROUP, ACTION_DELETE_USER, ACTION_EDIT_USER_IN_GROUP, ACTION_IMPORT_GROUP, ACTION_IMPORT_USER, ACTION_MASK_ALL, ACTION_MASK_MIXED_GROUPS, ACTION_MASK_RO, ACTION_MASK_RW, ACTION_NONE, ACTION_READ_GROUP, ACTION_READ_USER, ACTION_REMOVE_GROUP, ACTION_REMOVE_USER, ACTION_SYNCHRO_GROUP, ACTION_SYNCHRO_USER, ACTION_UPDATE_GROUP, ACTION_UPDATE_USER, ACTION_X509_USER |
Constructor Summary | |
---|---|
AbstractDomainDriver()
|
Method Summary | |
---|---|
void |
addPropertiesToImport(List<DomainProperty> props)
|
void |
addPropertiesToImport(List<DomainProperty> props,
Map<String,String> theDescriptions)
|
void |
beginSynchronization()
Called when Admin starts the synchronization |
String |
endSynchronization(boolean cancelSynchro)
Called when Admin ends the synchronization |
long |
getDriverActions()
Called when Admin starts the synchronization |
String[] |
getMapParameters()
|
Map<String,String> |
getPropertiesDescriptions(String language)
|
Map<String,String> |
getPropertiesLabels(String language)
|
String[] |
getPropertiesNames()
|
List<DomainProperty> |
getPropertiesToImport(String language)
|
DomainProperty |
getProperty(String propName)
|
String |
getTimeStamp(String minTimeStamp)
|
String |
getTimeStampField()
|
protected static int |
idAsInt(String id)
|
protected static String |
idAsString(int id)
Convert int Id to String Id |
void |
init(int domainId,
String initParam,
String authenticationServer)
Initialize the domain driver with the initialization parameter stocked in table This parameter could be a table name or a ressource file name or whatever specified by the domain driver Default : ressource file name |
void |
initFromProperties(ResourceLocator rs)
Virtual method that performs extra initialization from a properties file. |
boolean |
isGroupsInheritProfiles()
|
boolean |
isSynchroInProcess()
|
boolean |
isSynchroOnLoginEnabled()
|
boolean |
isSynchroOnLoginRecursToGroups()
|
boolean |
isSynchroThreaded()
|
boolean |
isX509CertificateEnabled()
|
boolean |
mustImportUsers()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.stratelia.webactiv.beans.admin.DomainDriver |
---|
commit, createGroup, createUser, deleteGroup, deleteUser, getAllChangedGroups, getAllChangedUsers, getAllGroups, getAllRootGroups, getAllUsers, getGroup, getGroupByName, getGroupMemberGroupIds, getGroups, getUser, getUserAttributes, getUserFull, getUserMemberGroupIds, getUsersByQuery, getUsersBySpecificProperty, importGroup, importUser, removeGroup, removeUser, resetEncryptedPassword, resetPassword, rollback, startTransaction, synchroGroup, synchroUser, updateGroup, updateUserDetail, updateUserFull |
Field Detail |
---|
protected int domainId
protected List<DomainProperty> domainProperties
protected String[] keys
protected String m_PropertiesMultilang
protected Map<String,HashMap<String,String>> m_PropertiesLabels
protected Map<String,HashMap<String,String>> m_PropertiesDescriptions
protected String[] m_mapParameters
protected boolean synchroInProcess
protected boolean x509Enabled
Constructor Detail |
---|
public AbstractDomainDriver()
Method Detail |
---|
public void init(int domainId, String initParam, String authenticationServer) throws Exception
init
in interface DomainDriver
domainId
- id of domaininitParam
- name of resource fileauthenticationServer
- name of the authentication server (no more used yet)
Exception
public String[] getPropertiesNames()
getPropertiesNames
in interface DomainDriver
public DomainProperty getProperty(String propName)
getProperty
in interface DomainDriver
public String[] getMapParameters()
getMapParameters
in interface DomainDriver
public List<DomainProperty> getPropertiesToImport(String language)
getPropertiesToImport
in interface DomainDriver
public void addPropertiesToImport(List<DomainProperty> props)
addPropertiesToImport
in interface DomainDriver
public void addPropertiesToImport(List<DomainProperty> props, Map<String,String> theDescriptions)
addPropertiesToImport
in interface DomainDriver
props
- theDescriptions
- public Map<String,String> getPropertiesLabels(String language)
getPropertiesLabels
in interface DomainDriver
public Map<String,String> getPropertiesDescriptions(String language)
getPropertiesDescriptions
in interface DomainDriver
public void initFromProperties(ResourceLocator rs) throws Exception
initFromProperties
in interface DomainDriver
rs
- name of resource file
Exception
public long getDriverActions()
getDriverActions
in interface DomainDriver
public boolean isSynchroOnLoginEnabled()
isSynchroOnLoginEnabled
in interface DomainDriver
public boolean isSynchroThreaded()
isSynchroThreaded
in interface DomainDriver
public boolean isSynchroOnLoginRecursToGroups()
isSynchroOnLoginRecursToGroups
in interface DomainDriver
public boolean isGroupsInheritProfiles()
isGroupsInheritProfiles
in interface DomainDriver
public boolean mustImportUsers()
mustImportUsers
in interface DomainDriver
public String getTimeStamp(String minTimeStamp) throws Exception
getTimeStamp
in interface DomainDriver
Exception
public String getTimeStampField() throws Exception
getTimeStampField
in interface DomainDriver
Exception
public boolean isX509CertificateEnabled()
isX509CertificateEnabled
in interface DomainDriver
public void beginSynchronization() throws Exception
beginSynchronization
in interface DomainDriver
Exception
public boolean isSynchroInProcess() throws Exception
isSynchroInProcess
in interface DomainDriver
Exception
public String endSynchronization(boolean cancelSynchro) throws Exception
endSynchronization
in interface DomainDriver
cancelSynchro
- true if the synchronization is cancelled, false if it ends normally
Exception
protected static int idAsInt(String id)
protected static String idAsString(int id)
id
- id to convert
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |