<commit_before>/**
 * @author <a href="mailto:<EMAIL>"><NAME></a>
 * @version $Id$
 */
package org.gridlab.gridsphere.portlet.impl;

/**
 * <code>SportletProperties</code> conatins all the "hidden" variable names
 * that get transmitted between the portlet container and the portlets to
 * request a particular portlet lifecycle action.
 * <p>
 * SportletProperties comtains three kinds of attributes
 * <ul>
 * <li>Lifecycle atttributes specify the lifecycle method to invoke on a
 * portlet</li>
 * <li>Portlet object attributes contain the actual portlet object e.g.
 * PortletConfig, PortletSettings which must be transferred in the
 * servlet request.</li>
 * <li>Portlet event objects</li>
 * </ul>
 */
public interface SportletProperties {

    /**
     *  Determines which lifecycle command to invoke
     */
    public static final String PORTLET_LIFECYCLE_METHOD = "org.gridlab.gridsphere.portlet.portletLifecycleMethod";

    // Portlet Lifecyle methods
    /**
     * Command to perform the init method on a portlet
     */
    public static final String INIT = "org.gridlab.gridsphere.portlet.lifecycle.init";

    /**
     * Command to perform the destroy method on a portlet
     */
    public static final String DESTROY = "org.gridlab.gridsphere.portlet.lifecycle.destroy";

    /**
     * Command to perform the init concrete method on a portlet
     */
    public static final String INIT_CONCRETE = "org.gridlab.gridsphere.portlet.lifecycle.initConcrete";

    /**
     * Command to perform the destroy concrete method on a portlet
     */
    public static final String DESTROY_CONCRETE = "org.gridlab.gridsphere.portlet.lifecycle.destroyConcrete";

    /**
     * Command to perform the login method on a portlet
     */
    public static final String LOGIN = "gs_login";

    /**
     * Command to perform the logout method on a portlet
     */
    public static final String LOGOUT = "gs_logout";

    /**
     * Command to perform the service method on a portlet
     */
    public static final String SERVICE = "org.gridlab.gridsphere.portlet.lifecycle.service";

    // Portlet obects
    /**
     * The variable name of the PortletApplication object
     */
    public static final String PORTLET_APPLICATION = "org.gridlab.gridsphere.portletcontainer.PortletApplication";

    /**
     *  The variable name of the PortletSettings object
     */
    public static final String PORTLET_SETTINGS = "org.gridlab.gridsphere.portlet.PortletSettings";

    // Portlet events
    /**
     *  The variable name of the ActionEvent object
     */
    public static final String ACTION_EVENT = "org.gridlab.gridsphere.event.ActionEvent";

    /**
     *  The variable name of the MessageEvent object
     */
    public static final String MESSAGE_EVENT = "org.gridlab.gridsphere.event.MessageEvent";

    /**
     *  The variable name of the WindowEvent object
     */
    public static final String WINDOW_EVENT = "org.gridlab.gridsphere.event.WindowEvent";

    /**
     *  Determines which event listener to notify
     */
    public static final String PORTLET_ACTION_METHOD = "org.gridlab.gridsphere.portlet.lifecycle.portletActionMethod";

    /**
     * Command to perform the actionPerformed method on a portlet
     */
    public static final String ACTION_PERFORMED = "org.gridlab.gridsphere.portlet.lifecycle.actionPerformed";

    /**
     * Command to perform the messageReceived method on a portlet
     */
    public static final String MESSAGE_RECEIVED = "org.gridlab.gridsphere.portlet.lifecycle.messageReceived";

    /**
     * Command to perform the windowDetached method on a portlet
     */
    public static final String WINDOW_DETACHED = "org.gridlab.gridsphere.portlet.lifecycle.windowDetached";

    /**
     * Command to perform the windowMinimized method on a portlet
     */
    public static final String WINDOW_MINIMIZED = "org.gridlab.gridsphere.portlet.lifecycle.windowMinimized";

    /**
     * Command to perform the windowMaximized method on a portlet
     */
    public static final String WINDOW_MAXIMIZED = "org.gridlab.gridsphere.portlet.lifecycle.windowMaximized";

    /**
     * Command to perform the windowClosing method on a portlet
     *
     * *NOT IMPLEMENTED*
     */
    public static final String WINDOW_CLOSING = "org.gridlab.gridsphere.portlet.lifecycle.windowClosing";

    /**
     * Command to perform the windowRestored method on a portlet
     */
    public static final String WINDOW_RESTORED = "org.gridlab.gridsphere.portlet.lifecycle.windowRestored";

    public static final String INIT_PAGE = "org.gridlab.gridsphere.layout.INIT_PAGE";
    /**
     * Command to perform the doTitle method on a portlet
     */
    public static final String DO_TITLE = "org.gridlab.gridsphere.portlet.lifecycle.doTitle";

    public static final String COMPONENT_ID = "cid";

    // Used for "action component model" in grid portlets currently
    public static final String GP_COMPONENT_ID = "gp_compid";

    public static final String DEFAULT_PORTLET_ACTION = "gs_action";

    public static final String DEFAULT_PORTLET_MESSAGE = "message";

    public static final String PORTLETID = "pid";

    public static final String ERROR = "org.gridlab.gridsphere.portlet.error";
    // Portlet API objects

    public static final String CLIENT = "org.gridlab.gridsphere.portlet.Client";
<commit_msg>*. Changed gp_compid to gpcompid<commit_after>/**
 * @author <a href="mailto:<EMAIL>"><NAME></a>
 * @version $Id$
 */
package org.gridlab.gridsphere.portlet.impl;

/**
 * <code>SportletProperties</code> conatins all the "hidden" variable names
 * that get transmitted between the portlet container and the portlets to
 * request a particular portlet lifecycle action.
 * <p>
 * SportletProperties comtains three kinds of attributes
 * <ul>
 * <li>Lifecycle atttributes specify the lifecycle method to invoke on a
 * portlet</li>
 * <li>Portlet object attributes contain the actual portlet object e.g.
 * PortletConfig, PortletSettings which must be transferred in the
 * servlet request.</li>
 * <li>Portlet event objects</li>
 * </ul>
 */
public interface SportletProperties {

    /**
     *  Determines which lifecycle command to invoke
     */
    public static final String PORTLET_LIFECYCLE_METHOD = "org.gridlab.gridsphere.portlet.portletLifecycleMethod";

    // Portlet Lifecyle methods
    /**
     * Command to perform the init method on a portlet
     */
    public static final String INIT = "org.gridlab.gridsphere.portlet.lifecycle.init";

    /**
     * Command to perform the destroy method on a portlet
     */
    public static final String DESTROY = "org.gridlab.gridsphere.portlet.lifecycle.destroy";

    /**
     * Command to perform the init concrete method on a portlet
     */
    public static final String INIT_CONCRETE = "org.gridlab.gridsphere.portlet.lifecycle.initConcrete";

    /**
     * Command to perform the destroy concrete method on a portlet
     */
    public static final String DESTROY_CONCRETE = "org.gridlab.gridsphere.portlet.lifecycle.destroyConcrete";

    /**
     * Command to perform the login method on a portlet
     */
    public static final String LOGIN = "gs_login";

    /**
     * Command to perform the logout method on a portlet
     */
    public static final String LOGOUT = "gs_logout";

    /**
     * Command to perform the service method on a portlet
     */
    public static final String SERVICE = "org.gridlab.gridsphere.portlet.lifecycle.service";

    // Portlet obects
    /**
     * The variable name of the PortletApplication object
     */
    public static final String PORTLET_APPLICATION = "org.gridlab.gridsphere.portletcontainer.PortletApplication";

    /**
     *  The variable name of the PortletSettings object
     */
    public static final String PORTLET_SETTINGS = "org.gridlab.gridsphere.portlet.PortletSettings";

    // Portlet events
    /**
     *  The variable name of the ActionEvent object
     */
    public static final String ACTION_EVENT = "org.gridlab.gridsphere.event.ActionEvent";

    /**
     *  The variable name of the MessageEvent object
     */
    public static final String MESSAGE_EVENT = "org.gridlab.gridsphere.event.MessageEvent";

    /**
     *  The variable name of the WindowEvent object
     */
    public static final String WINDOW_EVENT = "org.gridlab.gridsphere.event.WindowEvent";

    /**
     *  Determines which event listener to notify
     */
    public static final String PORTLET_ACTION_METHOD = "org.gridlab.gridsphere.portlet.lifecycle.portletActionMethod";

    /**
     * Command to perform the actionPerformed method on a portlet
     */
    public static final String ACTION_PERFORMED = "org.gridlab.gridsphere.portlet.lifecycle.actionPerformed";

    /**
     * Command to perform the messageReceived method on a portlet
     */
    public static final String MESSAGE_RECEIVED = "org.gridlab.gridsphere.portlet.lifecycle.messageReceived";

    /**
     * Command to perform the windowDetached method on a portlet
     */
    public static final String WINDOW_DETACHED = "org.gridlab.gridsphere.portlet.lifecycle.windowDetached";

    /**
     * Command to perform the windowMinimized method on a portlet
     */
    public static final String WINDOW_MINIMIZED = "org.gridlab.gridsphere.portlet.lifecycle.windowMinimized";

    /**
     * Command to perform the windowMaximized method on a portlet
     */
    public static final String WINDOW_MAXIMIZED = "org.gridlab.gridsphere.portlet.lifecycle.windowMaximized";

    /**
     * Command to perform the windowClosing method on a portlet
     *
     * *NOT IMPLEMENTED*
     */
    public static final String WINDOW_CLOSING = "org.gridlab.gridsphere.portlet.lifecycle.windowClosing";

    /**
     * Command to perform the windowRestored method on a portlet
     */
    public static final String WINDOW_RESTORED = "org.gridlab.gridsphere.portlet.lifecycle.windowRestored";

    public static final String INIT_PAGE = "org.gridlab.gridsphere.layout.INIT_PAGE";
    /**
     * Command to perform the doTitle method on a portlet
     */
    public static final String DO_TITLE = "org.gridlab.gridsphere.portlet.lifecycle.doTitle";

    public static final String COMPONENT_ID = "cid";

    // Used for "action component model" in grid portlets currently
    public static final String GP_COMPONENT_ID = "gpcompid";

    public static final String DEFAULT_PORTLET_ACTION = "gs_action";

    public static final String DEFAULT_PORTLET_MESSAGE = "message";

    public static final String PORTLETID = "pid";

    public static final String ERROR = "org.gridlab.gridsphere.portlet.error";
    // Portlet API objects

    public static final String CLIENT = "org.gridlab.gridsphere.portlet.Client";

{'fraction_non_alphanumeric': 0.08561325144239718, 'fraction_numerical': 0.0, 'mean_word_length': 3.211206896551724, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3871568', 'n_tokens_mistral': 3130, 'n_tokens_neox': 3011, 'n_words': 928}