com.day.cq.mcm.core.predicate
Class NewsletterActivityObjectPredicate
java.lang.Object
com.day.cq.mcm.core.predicate.NewsletterActivityObjectPredicate
- All Implemented Interfaces:
- org.apache.commons.collections.Predicate
@Property(name="predicate.name",
value="activityObjectTypePredicate",
propertyPrivate=true)
@Service(value=org.apache.commons.collections.Predicate.class)
public class NewsletterActivityObjectPredicate- extends Object
- implements org.apache.commons.collections.Predicate
Predicate evaluating an ActivityObject's type property (resource type) against a configurable resource type.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PREDICATE_NAME
public static final String PREDICATE_NAME
- The predicate name used to register the predicate to the
PredicateProvider = "activityObjectTypePredicate"
- See Also:
- Constant Field Values
NewsletterActivityObjectPredicate
public NewsletterActivityObjectPredicate()
evaluate
public boolean evaluate(Object object)
- Evaluates
true if:
False for all other cases.
- Specified by:
evaluate in interface org.apache.commons.collections.Predicate
- See Also:
Predicate.evaluate(java.lang.Object)
activate
protected void activate(ComponentContext context)
throws RepositoryException
- Throws:
RepositoryException
deactivate
protected void deactivate(ComponentContext context)
Copyright © 2011-2013 Adobe Systems Incorporated. All Rights Reserved.