org.alfresco.cmis.search
Class CMISResultSetMetaDataImpl

java.lang.Object
  extended by org.alfresco.cmis.search.CMISResultSetMetaDataImpl
All Implemented Interfaces:
CMISResultSetMetaData, ResultSetMetaData

public class CMISResultSetMetaDataImpl
extends java.lang.Object
implements CMISResultSetMetaData


Constructor Summary
CMISResultSetMetaDataImpl(CMISQueryOptions options, Query query, CMISDictionaryService cmisDictionaryService, DictionaryService alfrescoDictionaryService)
           
 
Method Summary
 CMISResultSetColumn getColumn(java.lang.String name)
          Get the column meta-data by column name.
 java.lang.String[] getColumnNames()
          Get the column names.
 CMISResultSetColumn[] getColumns()
          The column meta-data.
 LimitBy getLimitedBy()
          Return how, in fact, the result set was limited.
 PermissionEvaluationMode getPermissionEvaluationMode()
          Return how permission evaluations are being made.
 CMISQueryOptions getQueryOptions()
          Get the query options used to create this result set
 ResultSetType getResultSetType()
          Get the result set type
 SearchParameters getSearchParameters()
          Get the parameters that were specified to define this search.
 CMISResultSetSelector getSelector(java.lang.String name)
          Get the selector meta-data by name.
 java.lang.String[] getSelectorNames()
          Get the names of the selectors.
 CMISResultSetSelector[] getSelectors()
          The selector meta-data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMISResultSetMetaDataImpl

public CMISResultSetMetaDataImpl(CMISQueryOptions options,
                                 Query query,
                                 CMISDictionaryService cmisDictionaryService,
                                 DictionaryService alfrescoDictionaryService)
Method Detail

getColumnNames

public java.lang.String[] getColumnNames()
Description copied from interface: CMISResultSetMetaData
Get the column names.

Specified by:
getColumnNames in interface CMISResultSetMetaData
Specified by:
getColumnNames in interface ResultSetMetaData
Returns:
- the names of the columns.

getColumns

public CMISResultSetColumn[] getColumns()
Description copied from interface: CMISResultSetMetaData
The column meta-data.

Specified by:
getColumns in interface CMISResultSetMetaData
Specified by:
getColumns in interface ResultSetMetaData
Returns:
- the column meta-data.

getColumn

public CMISResultSetColumn getColumn(java.lang.String name)
Description copied from interface: CMISResultSetMetaData
Get the column meta-data by column name.

Specified by:
getColumn in interface CMISResultSetMetaData
Specified by:
getColumn in interface ResultSetMetaData
Returns:
- the column meta-data.

getQueryOptions

public CMISQueryOptions getQueryOptions()
Description copied from interface: CMISResultSetMetaData
Get the query options used to create this result set

Specified by:
getQueryOptions in interface CMISResultSetMetaData
Returns:
the query options

getSelector

public CMISResultSetSelector getSelector(java.lang.String name)
Description copied from interface: CMISResultSetMetaData
Get the selector meta-data by name.

Specified by:
getSelector in interface CMISResultSetMetaData
Specified by:
getSelector in interface ResultSetMetaData
Returns:
- the selector meta-data.

getSelectorNames

public java.lang.String[] getSelectorNames()
Description copied from interface: CMISResultSetMetaData
Get the names of the selectors.

Specified by:
getSelectorNames in interface CMISResultSetMetaData
Specified by:
getSelectorNames in interface ResultSetMetaData
Returns:
- the selector names.

getSelectors

public CMISResultSetSelector[] getSelectors()
Description copied from interface: CMISResultSetMetaData
The selector meta-data.

Specified by:
getSelectors in interface CMISResultSetMetaData
Specified by:
getSelectors in interface ResultSetMetaData
Returns:
- the selector meta-data.

getLimitedBy

public LimitBy getLimitedBy()
Description copied from interface: ResultSetMetaData
Return how, in fact, the result set was limited. This may not be how it was requested. If a limit of 100 were requested and there were 100 or less actual results this will report LimitBy.UNLIMITED.

Specified by:
getLimitedBy in interface ResultSetMetaData
Returns:

getPermissionEvaluationMode

public PermissionEvaluationMode getPermissionEvaluationMode()
Description copied from interface: ResultSetMetaData
Return how permission evaluations are being made.

Specified by:
getPermissionEvaluationMode in interface ResultSetMetaData
Returns:

getResultSetType

public ResultSetType getResultSetType()
Description copied from interface: ResultSetMetaData
Get the result set type

Specified by:
getResultSetType in interface ResultSetMetaData
Returns:

getSearchParameters

public SearchParameters getSearchParameters()
Description copied from interface: ResultSetMetaData
Get the parameters that were specified to define this search.

Specified by:
getSearchParameters in interface ResultSetMetaData
Returns:


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.