|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.lsc.beans.syncoptions.PropertiesBasedSyncOptions
public class PropertiesBasedSyncOptions
Synchronization options based on a properties file This class interprets properties to get detailed options for synchronization, including behavior and values for the general case or attribute by attribute.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.lsc.beans.syncoptions.ISyncOptions |
|---|
ISyncOptions.STATUS_TYPE |
| Constructor Summary | |
|---|---|
PropertiesBasedSyncOptions()
|
|
| Method Summary | |
|---|---|
String |
getCondition(JndiModificationType operation)
Returns the condition for this operation |
Set<String> |
getCreateAttributeNames()
Return the names of attributes to be created. |
String |
getCreateCondition()
Returns the condition for a creation |
List<String> |
getCreateValues(String id,
String attributeName)
Return the create value for a given attribute name. |
Set<String> |
getDefaultValuedAttributeNames()
Return the default valued attributes |
List<String> |
getDefaultValues(String id,
String attributeName)
Return the default values for a given attribute name. |
String |
getDeleteCondition()
Returns the condition for a delete |
String |
getDn()
Get the setting to generate a DN |
Set<String> |
getForceValuedAttributeNames()
Return the force valued attributes |
List<String> |
getForceValues(String id,
String attributeName)
Return the force value for a given attribute name. |
String |
getModrdnCondition()
Returns the condition for a modrdn |
ISyncOptions.STATUS_TYPE |
getStatus(String id,
String attributeName)
Analyze the context to get the right synchronization status to apply. |
String |
getTaskName()
Get the task name |
String |
getUpdateCondition()
Returns the condition for an update |
List<String> |
getWriteAttributes()
Get all the attributes that must be written in the destination |
void |
initialize(String syncName)
When initiating a new object, needs <ul> <li>the synchronization name</li> to read properties in general configuration file <li>the general default status</li> (force if not specified) which will be used if no default status has been specified for this synchronization name <ul> |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertiesBasedSyncOptions()
| Method Detail |
|---|
public final void initialize(String syncName)
initialize in interface ISyncOptionssyncName -
public final ISyncOptions.STATUS_TYPE getStatus(String id,
String attributeName)
ISyncOptions
getStatus in interface ISyncOptionsid - the object identifier according to the datasourceattributeName - the attribute name
public final List<String> getDefaultValues(String id,
String attributeName)
ISyncOptions
getDefaultValues in interface ISyncOptionsid - the object identifier according to the datasourceattributeName - the attribute name
public final List<String> getCreateValues(String id,
String attributeName)
ISyncOptions
getCreateValues in interface ISyncOptionsid - the object identifier according to the datasourceattributeName - the attribute name
public final List<String> getForceValues(String id,
String attributeName)
ISyncOptions
getForceValues in interface ISyncOptionsid - the object identifier according to the datasourceattributeName - the attribute name
public final Set<String> getCreateAttributeNames()
ISyncOptions
getCreateAttributeNames in interface ISyncOptionspublic final Set<String> getDefaultValuedAttributeNames()
ISyncOptions
getDefaultValuedAttributeNames in interface ISyncOptionspublic final Set<String> getForceValuedAttributeNames()
ISyncOptions
getForceValuedAttributeNames in interface ISyncOptionspublic List<String> getWriteAttributes()
ISyncOptions
getWriteAttributes in interface ISyncOptionspublic String getCreateCondition()
ISyncOptions
getCreateCondition in interface ISyncOptionspublic String getDeleteCondition()
ISyncOptions
getDeleteCondition in interface ISyncOptionspublic String getUpdateCondition()
ISyncOptions
getUpdateCondition in interface ISyncOptionspublic String getModrdnCondition()
ISyncOptions
getModrdnCondition in interface ISyncOptionspublic String getCondition(JndiModificationType operation)
ISyncOptions
getCondition in interface ISyncOptionsoperation - The operation type
public String getDn()
getDn in interface ISyncOptionspublic String getTaskName()
getTaskName in interface ISyncOptions
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||