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

/**
 * A <code>MobilePortlet</code> has the ability to render contents for
 * <code>MODE_LINK</code> and control how its meta data information is
 * requested.
 */
public interface MobilePortlet extends Portlet
{
    
    /**
     * Returns true if this Portlet is capable of rendering content for link
     * mode.
     *
     * @return returns true if this Portlet is capable of rendering content for
     * link mode.
     */
    public boolean hasShowLinkMode();

    /**
     * Returns true if 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.
     *
     * @return returns true if calls to <code>isPortletRunnable</code> should
     * be made to this Portlet.
     */
    public boolean callIsRunnable();

    /**
     * Returns true if 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.
     *
     * @return returns true if calls to retrieve this Portlet's meta data
     * should be made.
     */
    public boolean callGetPortlet();

}
