com.day.cq.collab.blog
Class ParentPathEntryFilter

java.lang.Object
  extended by com.day.cq.collab.blog.ParentPathEntryFilter
All Implemented Interfaces:
BlogEntryFilter

public class ParentPathEntryFilter
extends Object
implements BlogEntryFilter

Used to filter blog entries by the path of their parent(s).


Constructor Summary
ParentPathEntryFilter(String path)
          Creates a ParentPathEntryFilter using the specified parent path.
 
Method Summary
 boolean pass(BlogEntry entry)
          Checks if the specified blog entry passes the filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParentPathEntryFilter

public ParentPathEntryFilter(String path)
Creates a ParentPathEntryFilter using the specified parent path.

Parameters:
path - The parent path (or substring matching at the end)
Method Detail

pass

public boolean pass(BlogEntry entry)
Checks if the specified blog entry passes the filter.

Specified by:
pass in interface BlogEntryFilter
Parameters:
entry - The blog entry
Returns:
true if the blog entry passes, false otherwise


Copyright © 2009 Day Management AG. All Rights Reserved.