Class QueryResultSetConverter
java.lang.Object
com.emc.documentum.rest.dfc.conversion.QueryResultSetConverter
Convert for query result set
-
Constructor Summary
ConstructorDescriptionQueryResultSetConverter
(List<com.documentum.fc.client.IDfTypedObject> resultSet) Init the converter -
Method Summary
Modifier and TypeMethodDescriptionconvert()
Convert the objects in query result set to intances ofPersistentObject
<T extends PersistentObject>
List<T>Convert the objects in query result set to instances of typeT
-
Constructor Details
-
QueryResultSetConverter
Init the converter- Parameters:
resultSet
- query result set
-
-
Method Details
-
convert
public <T extends PersistentObject> List<T> convert(Class<T> clazz) throws com.documentum.fc.common.DfException Convert the objects in query result set to instances of typeT
- Type Parameters:
T
- target type for the query results- Parameters:
clazz
- Class object of typeT
- Returns:
- converted query result set
- Throws:
com.documentum.fc.common.DfException
- exception during the operation
-
convert
Convert the objects in query result set to intances ofPersistentObject
- Returns:
- converted query result set
- Throws:
com.documentum.fc.common.DfException
- exception during the operation
-