本文整理汇总了Java中org.identityconnectors.framework.common.objects.filter.FilterTranslator类的典型用法代码示例。如果您正苦于以下问题:Java FilterTranslator类的具体用法?Java FilterTranslator怎么用?Java FilterTranslator使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
FilterTranslator类属于org.identityconnectors.framework.common.objects.filter包,在下文中一共展示了FilterTranslator类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: createFilterTranslator
import org.identityconnectors.framework.common.objects.filter.FilterTranslator; //导入依赖的package包/类
@Override
public FilterTranslator<SapFilter> createFilterTranslator(ObjectClass objectClass, OperationOptions operationOptions) {
if (objectClass.is(ObjectClass.ACCOUNT_NAME)) {
return new SapAccountFilterTranslator();
}
else {
return new SapBasicFilterTranslator();
}
}
示例2: createFilterTranslator
import org.identityconnectors.framework.common.objects.filter.FilterTranslator; //导入依赖的package包/类
/**
* {@inheritDoc}
*/
public FilterTranslator<Filter> createFilterTranslator(ObjectClass objectClass, OperationOptions options) {
log.info("createFilterTranslator::begin");
validate(objectClass);
log.info("createFilterTranslator::end");
return new DummyFilterTranslator() {
};
}
示例3: createFilterTranslator
import org.identityconnectors.framework.common.objects.filter.FilterTranslator; //导入依赖的package包/类
@Override
public FilterTranslator<Filter> createFilterTranslator(ObjectClass objectClass, OperationOptions options) {
// Just return dummy filter translator that does not translate anything. We need better control over the
// filter translation than what the framework can provide.
return new FilterTranslator<Filter>() {
@Override
public List<Filter> translate(Filter filter) {
List<Filter> list = new ArrayList<Filter>(1);
list.add(filter);
return list;
}
};
}
示例4: createFilterTranslator
import org.identityconnectors.framework.common.objects.filter.FilterTranslator; //导入依赖的package包/类
/**
* {@inheritDoc}
*/
public FilterTranslator<String> createFilterTranslator(ObjectClass objectClass, OperationOptions options) {
return new KerberosFilterTranslator();
}
示例5: createFilterTranslator
import org.identityconnectors.framework.common.objects.filter.FilterTranslator; //导入依赖的package包/类
/**
* {@inheritDoc}
*/
public FilterTranslator<String> createFilterTranslator(ObjectClass objectClass, OperationOptions options) {
return new DummyFilterTranslator() {
};
}
示例6: createFilterTranslator
import org.identityconnectors.framework.common.objects.filter.FilterTranslator; //导入依赖的package包/类
@Override
public FilterTranslator<String> createFilterTranslator(ObjectClass objectClass, OperationOptions options) {
return new AbstractFilterTranslator<String>() {
};
}
示例7: createFilterTranslator
import org.identityconnectors.framework.common.objects.filter.FilterTranslator; //导入依赖的package包/类
public FilterTranslator<String> createFilterTranslator(ObjectClass objectClass,
OperationOptions operationOptions) {
return new AbstractFilterTranslator(){};
}