com.fatwire.gst.foundation.facade.assetapi.asset
Class DateFilterClosure

java.lang.Object
  extended by com.fatwire.gst.foundation.facade.assetapi.asset.DateFilterClosure
All Implemented Interfaces:
AssetClosure

public class DateFilterClosure
extends Object
implements AssetClosure

Since:
Apr 6, 2011
Author:
Dolf Dijkstra

Constructor Summary
DateFilterClosure(Date cuttoff, AssetClosure target)
           
DateFilterClosure(String cutoff, AssetClosure target)
           
 
Method Summary
 boolean work(com.fatwire.assetapi.data.AssetData assetData)
          Perform work based on asset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateFilterClosure

public DateFilterClosure(String cutoff,
                         AssetClosure target)
Parameters:
cutoff - the cutoff date in the cs date format.
target -

DateFilterClosure

public DateFilterClosure(Date cuttoff,
                         AssetClosure target)
Parameters:
cuttoff -
target -
Method Detail

work

public boolean work(com.fatwire.assetapi.data.AssetData assetData)
Description copied from interface: AssetClosure
Perform work based on asset

Specified by:
work in interface AssetClosure
Parameters:
assetData - asset to work with
Returns:
false if you want to iteration to stop


Copyright © 2010-2013 Oracle Corporation. All Rights Reserved.