public class ForceSyncOptions extends Object implements ISyncOptions
DEFAULT_CONDITION
Constructor and Description |
---|
ForceSyncOptions() |
Modifier and Type | Method and Description |
---|---|
String |
getChangeIdCondition()
Returns the condition for a id change
|
String |
getCondition(LscModificationType operation) |
Set<String> |
getCreateAttributeNames()
Return the names of attributes to be created.
|
String |
getCreateCondition()
Returns the condition for a creation
|
String |
getCreateValue(String id,
String attributeName) |
List<String> |
getCreateValues(String id,
String attributeName)
Return the create value for a given attribute name.
|
String |
getDefaultValue(String id,
String attributeName) |
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 |
getDelimiter(String attributeName)
Return the delimiter name for the corresponding dataset
|
String |
getDn()
Return the expression used to infer the new object 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.
|
PolicyType |
getStatus(String id,
String attributeName)
Analyze the context to get the right synchronization status to apply.
|
String |
getTaskName() |
String |
getUpdateCondition()
Returns the condition for an update
|
List<String> |
getWriteAttributes() |
void |
initialize(TaskType task)
Initialize the synchronization options policy.
|
public final PolicyType getStatus(String id, String attributeName)
ISyncOptions
getStatus
in interface ISyncOptions
id
- the object identifier according to the datasourceattributeName
- the attribute namepublic final void initialize(TaskType task)
ISyncOptions
initialize
in interface ISyncOptions
task
- the task configuration object on which applying syncoptspublic final Set<String> getCreateAttributeNames()
ISyncOptions
getCreateAttributeNames
in interface ISyncOptions
public final Set<String> getDefaultValuedAttributeNames()
ISyncOptions
getDefaultValuedAttributeNames
in interface ISyncOptions
public Set<String> getForceValuedAttributeNames()
ISyncOptions
getForceValuedAttributeNames
in interface ISyncOptions
public List<String> getCreateValues(String id, String attributeName)
ISyncOptions
getCreateValues
in interface ISyncOptions
id
- the object identifier according to the datasourceattributeName
- the attribute namepublic List<String> getDefaultValues(String id, String attributeName)
ISyncOptions
getDefaultValues
in interface ISyncOptions
id
- the object identifier according to the datasourceattributeName
- the attribute namepublic String getTaskName()
public String getCreateCondition()
ISyncOptions
getCreateCondition
in interface ISyncOptions
public String getDeleteCondition()
ISyncOptions
getDeleteCondition
in interface ISyncOptions
public String getUpdateCondition()
ISyncOptions
getUpdateCondition
in interface ISyncOptions
public String getChangeIdCondition()
ISyncOptions
getChangeIdCondition
in interface ISyncOptions
public String getCondition(LscModificationType operation)
getCondition
in interface ISyncOptions
public String getDn()
ISyncOptions
getDn
in interface ISyncOptions
public List<String> getForceValues(String id, String attributeName)
ISyncOptions
getForceValues
in interface ISyncOptions
id
- the object identifier according to the datasourceattributeName
- the attribute namepublic String getDelimiter(String attributeName)
ISyncOptions
getDelimiter
in interface ISyncOptions
attributeName
- dataset nameCopyright © 2005-2024 LSC project. All Rights Reserved.