public class PropertiesBasedSyncOptions extends Object implements ISyncOptions
DEFAULT_CONDITION| Constructor and Description |
|---|
PropertiesBasedSyncOptions() |
| 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
|
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 |
getDelimiter(String name)
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 |
getUpdateCondition()
Returns the condition for an update
|
void |
initialize(TaskType task)
Initialize the synchronization options policy.
|
public void initialize(TaskType task)
ISyncOptionsinitialize in interface ISyncOptionstask - the task configuration object on which applying syncoptspublic final PolicyType getStatus(String id, String attributeName)
ISyncOptionsgetStatus in interface ISyncOptionsid - the object identifier according to the datasourceattributeName - the attribute namepublic final List<String> getDefaultValues(String id, String attributeName)
ISyncOptionsgetDefaultValues in interface ISyncOptionsid - the object identifier according to the datasourceattributeName - the attribute namepublic final List<String> getCreateValues(String id, String attributeName)
ISyncOptionsgetCreateValues in interface ISyncOptionsid - the object identifier according to the datasourceattributeName - the attribute namepublic final List<String> getForceValues(String id, String attributeName)
ISyncOptionsgetForceValues in interface ISyncOptionsid - the object identifier according to the datasourceattributeName - the attribute namepublic Set<String> getCreateAttributeNames()
ISyncOptionsgetCreateAttributeNames in interface ISyncOptionspublic Set<String> getDefaultValuedAttributeNames()
ISyncOptionsgetDefaultValuedAttributeNames in interface ISyncOptionspublic Set<String> getForceValuedAttributeNames()
ISyncOptionsgetForceValuedAttributeNames in interface ISyncOptionspublic String getDn()
ISyncOptionsgetDn in interface ISyncOptionspublic 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 getDelimiter(String name)
ISyncOptionsgetDelimiter in interface ISyncOptionsname - dataset nameCopyright © 2005-2017 LSC project. All Rights Reserved.