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)
ISyncOptionsgetStatus in interface ISyncOptionsid - the object identifier according to the datasourceattributeName - the attribute namepublic final void initialize(TaskType task)
ISyncOptionsinitialize in interface ISyncOptionstask - the task configuration object on which applying syncoptspublic final Set<String> getCreateAttributeNames()
ISyncOptionsgetCreateAttributeNames in interface ISyncOptionspublic final Set<String> getDefaultValuedAttributeNames()
ISyncOptionsgetDefaultValuedAttributeNames in interface ISyncOptionspublic Set<String> getForceValuedAttributeNames()
ISyncOptionsgetForceValuedAttributeNames in interface ISyncOptionspublic List<String> getCreateValues(String id, String attributeName)
ISyncOptionsgetCreateValues in interface ISyncOptionsid - the object identifier according to the datasourceattributeName - the attribute namepublic List<String> getDefaultValues(String id, String attributeName)
ISyncOptionsgetDefaultValues in interface ISyncOptionsid - the object identifier according to the datasourceattributeName - the attribute namepublic String getTaskName()
public String getCreateCondition()
ISyncOptionsgetCreateCondition in interface ISyncOptionspublic String getDeleteCondition()
ISyncOptionsgetDeleteCondition in interface ISyncOptionspublic String getUpdateCondition()
ISyncOptionsgetUpdateCondition in interface ISyncOptionspublic String getChangeIdCondition()
ISyncOptionsgetChangeIdCondition in interface ISyncOptionspublic String getCondition(LscModificationType operation)
getCondition in interface ISyncOptionspublic String getDn()
ISyncOptionsgetDn in interface ISyncOptionspublic List<String> getForceValues(String id, String attributeName)
ISyncOptionsgetForceValues in interface ISyncOptionsid - the object identifier according to the datasourceattributeName - the attribute namepublic String getDelimiter(String attributeName)
ISyncOptionsgetDelimiter in interface ISyncOptionsattributeName - dataset nameCopyright © 2005-2017 LSC project. All Rights Reserved.