コード例 #1
0
 def findAsView(self, objectType, filters, view):
     """
     @param objectType: type of the object
     @param filters: filters. list of dicts
     @param view: view to return
     """
     return BaseServer.findAsView(self, objectType, filters, view)
コード例 #2
0
    def findAsView(self, type_, filter_, view):
        '''Perform a filter operation on the server

        @param type_: Root object type name
        @type type_: string
        @param filter_: Filter definition
        @type filter_: L{OsisFilterObject}
        @param view: View to return
        @type view: string

        @return: List of GUIDs or OsisList of data
        @rtype: list
        '''
        filter_data = filter_.filters

        return BaseServer.findAsView(self, type_, filter_data, view)
コード例 #3
0
ファイル: local.py プロジェクト: racktivity/ext-OSIS
    def findAsView(self, type_, filter_, view):
        '''Perform a filter operation on the server

        @param type_: Root object type name
        @type type_: string
        @param filter_: Filter definition
        @type filter_: L{OsisFilterObject}
        @param view: View to return
        @type view: string

        @return: List of GUIDs or OsisList of data
        @rtype: list
        '''
        filter_data = filter_.filters

        return BaseServer.findAsView(self, type_, filter_data, view)