com.wewebu.ow.server.ecmimpl.opencmis.objectclass
Interface OwCMISQueryResultConverter<O extends org.apache.chemistry.opencmis.client.api.TransientCmisObject>

All Known Implementing Classes:
OwCMISAlfrescoQueryResultConverterImpl, OwCMISQueryResultConverterImpl

public interface OwCMISQueryResultConverter<O extends org.apache.chemistry.opencmis.client.api.TransientCmisObject>

Implementors convert QueryResult objects to corresponding TransientCmisObject instances.

Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.

For licensing information read the license.txt file or
go to: http://wiki.alfresco.com


Method Summary
 O toCmisObject(org.apache.chemistry.opencmis.client.api.QueryResult queryResult, com.wewebu.ow.csqlc.ast.OwQueryStatement statement, org.apache.chemistry.opencmis.client.api.OperationContext operationContext)
          Converts a given CMIS query result object to an OPEN CMIS transient object based on query result properties , SQL statement that produced the result and the context in which it was ran.
 

Method Detail

toCmisObject

O toCmisObject(org.apache.chemistry.opencmis.client.api.QueryResult queryResult,
               com.wewebu.ow.csqlc.ast.OwQueryStatement statement,
               org.apache.chemistry.opencmis.client.api.OperationContext operationContext)
                                                                                    throws com.wewebu.ow.server.exceptions.OwException
Converts a given CMIS query result object to an OPEN CMIS transient object based on query result properties , SQL statement that produced the result and the context in which it was ran.

Parameters:
queryResult - a QueryResult
statement - OwQueryStatement that produced the QueryResult
operationContext - the operation context in which the statement was ran
Returns:
a TransientCmisObject corresponding to the given QueryResult of the given CMIS OwQueryStatement in the given OperationContext
Throws:
com.wewebu.ow.server.exceptions.OwException


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.