Skip navigation links


com.fatwire.assetapi.query
Class AssetSearcherImpl

java.lang.Object
  extended by com.fatwire.assetapi.query.AssetSearcherImpl

All Implemented Interfaces:
AssetSearcher

public class AssetSearcherImpl
extends java.lang.Object
implements AssetSearcher

The default implementation class for an AssetSearcher


Field Summary
protected static org.apache.commons.logging.Log _logger
           

 

Constructor Summary
AssetSearcherImpl(ICS ics)
           

 

Method Summary
protected  AssetTypeDef _getAssetTypeDef(java.lang.String assettype, java.lang.String subtype)
           
protected  AssetSearchResult performQuery(Query query, java.lang.String assettype, java.lang.String subtype, AssetTypeDef def)
           
 AssetSearchResult search(Query query)
          Search Content Server database with given query

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

_logger

protected static final org.apache.commons.logging.Log _logger

Constructor Detail

AssetSearcherImpl

public AssetSearcherImpl(ICS ics)

Method Detail

search

public AssetSearchResult search(Query query)
                         throws AssetAccessException
Description copied from interface: AssetSearcher
Search Content Server database with given query
Specified by:
search in interface AssetSearcher
Parameters:
query - the query that specifies the searching condition for this search
Returns:
the AssetSearchResult object with assets meet given condition
Throws:
AssetAccessException - throw this exception if any error occured

_getAssetTypeDef

protected AssetTypeDef _getAssetTypeDef(java.lang.String assettype,
                                        java.lang.String subtype)
                                 throws AssetAccessException
Throws:
AssetAccessException

performQuery

protected AssetSearchResult performQuery(Query query,
                                         java.lang.String assettype,
                                         java.lang.String subtype,
                                         AssetTypeDef def)
                                  throws AssetAccessException
Throws:
AssetAccessException

Skip navigation links


Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.