com.anasoft.os.daofusion.cto.server
Interface CriteriaTransferObjectConverter

All Known Implementing Classes:
NestedPropertyCriteriaBasedConverter

public interface CriteriaTransferObjectConverter

Persistent entity criteria transfer object converter contract defining conversion pattern between client-side CriteriaTransferObject instances and their corresponding server-side PersistentEntityCriteria counterparts.

Author:
vojtech.szocs
See Also:
CriteriaTransferObject, PersistentEntityCriteria

Method Summary
 PersistentEntityCriteria convert(CriteriaTransferObject transferObject, java.lang.String mappingGroupName)
          Converts the given CriteriaTransferObject instance into a corresponding PersistentEntityCriteria according to property mappings defined by the requested property mapping group.
 

Method Detail

convert

PersistentEntityCriteria convert(CriteriaTransferObject transferObject,
                                 java.lang.String mappingGroupName)
Converts the given CriteriaTransferObject instance into a corresponding PersistentEntityCriteria according to property mappings defined by the requested property mapping group.

Parameters:
transferObject - CriteriaTransferObject instance to convert.
mappingGroupName - Name of the property mapping group to use.
Returns:
Resulting PersistentEntityCriteria instance.


Copyright © 2008-2009 ANASOFT and contributors. All Rights Reserved.