com.fatwire.assetapi.query
Class AssetSearcherImpl
java.lang.Object
  
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
 
            | 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
_logger
protected static final org.apache.commons.logging.Log _logger
AssetSearcherImpl
public AssetSearcherImpl(ICS ics)
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
 
Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.