import org.apache.wicket.markup.html.WebPage;
/**
- * Bahevior that will expire a page when the page is disabled.
- * Implementations should implemnet
+ * Bahevior that will expire a page when the page is disabled. Implementations
+ * should implemnet
*
* @author Erik Brakkee
*
*/
public abstract class ExpireBehavior extends AbstractPageBehavior {
- private static final Logger LOGGER = Logger.getLogger(ExpireBehavior.class.getName());
+ private static final Logger LOGGER = Logger.getLogger(ExpireBehavior.class
+ .getName());
/**
* Constructs the behavior.
*/
- public ExpireBehavior() {
+ public ExpireBehavior() {
super();
}
aPage.getPageMap().remove(aPage);
}
}
-
+
/**
* Must be implemented to determine if a page is expired.
- * @param aPage Page to check. If a behavior instance is only used on one page then this
- * argument is always that page so it can bne ignored in that case.
+ *
+ * @param aPage
+ * Page to check. If a behavior instance is only used on one page
+ * then this argument is always that page so it can bne ignored
+ * in that case.
* @return
*/
- protected abstract boolean isExpired(WebPage aPage);
-
+ protected abstract boolean isExpired(WebPage aPage);
+
}