package oracle.portal.sample.v2.devguide.invalidation;

import oracle.portal.provider.v2.*;
import oracle.portal.provider.v2.personalize.*;

public class InvalidationPersonalizationObject extends NameValuePersonalizationObject
{
    // Key to retrieve the customized greeting.
    public static final String GREETING = "mpo_greeting";

    // Override the init method to provide default values for the items we wish
    // to customize.
    public void init(PortletReference pr)
    {
        // Always be sure to call super.init() first.
        super.init(pr);

        // Call super class method to set the default title for this portlet.
        setPortletTitle("Cache Portlet");

        // Write the default greeting into the data object using super class
        // method.
        putString(GREETING,"Greetings...");
    }

}

