/* Copyright (c) 2001 Oracle Corporation. All Rights Reserved */
package oracle.portal.provider.v1;

/**
 * A <code>MutableMobilePortlet</code> is a {@link MobilePortlet} which can be
 * modified, either by direct calls or a suitably configured
 * <code>provider.xml</code>.
 */
public interface MutableMobilePortlet extends MutablePortlet
{
    
    /**
     * Controls whether this Portlet is capable of rendering content for link
     * mode.
     *
     * @param value boolean flag.
     */
    public void setShowLinkMode(boolean value);
    
    /**
     * Controls whether this Portlet is capable of rendering content for link
     * mode.
     *
     * @param value String representing a boolean.
     */
    public void setShowLinkMode(String value);

    /**
     * Controls whether calls to <code>isPortletRunnable</code> should be made
     * to this Portlet before displaying in the portlet repository. If false,
     * the portlet is treated as a public portlet visible to all users.
     *
     * @param value boolean flag.
     */
    public void setCallIsRunnable(boolean value);

    /**
     * Controls whether calls to <code>isPortletRunnable</code> should be made
     * to this Portlet before displaying in the portlet repository. If false,
     * the portlet is treated as a public portlet visible to all users.
     *
     * @param value String representing a boolean.
     */
    public void setCallIsRunnable(String value);

    /**
     * Controls whether calls to retrieve this Portlet's meta data should be
     * made before displaying in the portlet repository.  If false, the default
     * meta data will be displayed for all users.
     *
     * @param value boolean flag.
     */
    public void setCallGetPortlet(boolean value);

    /**
     * Controls whether calls to retrieve this Portlet's meta data should be
     * made before displaying in the portlet repository.  If false, the default
     * meta data will be displayed for all users.
     *
     * @param value String representing a boolean.
     */
    public void setCallGetPortlet(String value);

}
