/* Copyright (c) 2000, 2001, Oracle Corporation. All rights reserved. */
package oracle.portal.provider.v2.personalize;

import oracle.portal.provider.v2.preference.PreferenceDataObject;

/**
 * Interface for tagging PreferenceDataObjects as being usable by 
 * PortletPersonalizationManagers
 * <P>
 */
public interface PersonalizationObject extends PreferenceDataObject
{
    /**
     *  Init method used to initialize the data object after instantiation via
     *  its null constructor.  Defined by the PersonalizationObject interface.
     *  Personalization manager is expected to call the init method of data
     *  objects that implement the PersonalizationObject interface.<p>
     *
     *  Behavior is to initialize the title using the (static) title from the
     *  portlet metadata (<code>portlet.getTitle()</code>). The portlet's
     *  default Locale is used to retrieve the title.
     *
     *  @param params collection of parameters that can be used to initialize
     *         this object. Currently 1 parameter is expected - the PortletReference
     */
    public void init(PortletReference ref); 

}

