fr.paris.lutece.plugins.jsr168.pluto
Class LuteceToPlutoConnector

java.lang.Object
  extended by fr.paris.lutece.plugins.jsr168.pluto.LuteceToPlutoConnector

public final class LuteceToPlutoConnector
extends java.lang.Object

Main access point for connect Lutece container with Pluto container


Field Summary
static int STATE_INIT_DONE
          Value greater than STATE_INIT_DONE means: initialization is done, but this don't inform about success or faillure.
static int STATE_INIT_DONE_KO
          The initialization is done, but in faillure
static int STATE_INIT_DONE_OK
          The initialization is done with success
static int STATE_INIT_NOTYET
          The initialization isn't launched
static int STATE_INIT_WORKING
          The initialization is working
 
Method Summary
static Buttons getButtons(int nPortletID, java.lang.String strPortletName)
          Return list of buttons that must be displayed on the portlet titlebar.
static fr.paris.lutece.util.ReferenceList getPortletTitles()
          Return titles list of defined portlets
static java.lang.String render(int nPortletID, java.lang.String strPortletName)
          Render the portlet fragment
static boolean request(int nPortletId, java.lang.String strPortletName)
          Realise an action (render or action)
static void shutdown()
          TODO Not implemented: must be called (and coded) for shutdown Pluto container.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STATE_INIT_NOTYET

public static final int STATE_INIT_NOTYET
The initialization isn't launched

See Also:
Constant Field Values

STATE_INIT_WORKING

public static final int STATE_INIT_WORKING
The initialization is working

See Also:
Constant Field Values

STATE_INIT_DONE

public static final int STATE_INIT_DONE
Value greater than STATE_INIT_DONE means: initialization is done, but this don't inform about success or faillure.

See Also:
Constant Field Values

STATE_INIT_DONE_OK

public static final int STATE_INIT_DONE_OK
The initialization is done with success

See Also:
Constant Field Values

STATE_INIT_DONE_KO

public static final int STATE_INIT_DONE_KO
The initialization is done, but in faillure

See Also:
Constant Field Values
Method Detail

shutdown

public static void shutdown()
TODO Not implemented: must be called (and coded) for shutdown Pluto container.


render

public static java.lang.String render(int nPortletID,
                                      java.lang.String strPortletName)
Render the portlet fragment

Parameters:
nPortletID - Lutece portlet ID
strPortletName - JSR 168 portlet name (ID)
Returns:
the portlet fragment page

request

public static boolean request(int nPortletId,
                              java.lang.String strPortletName)
Realise an action (render or action)

Parameters:
nPortletId - Lutece portlet ID
strPortletName - JSR 168 portlet name (ID)
Returns:
true for a normal processing, false for the need to send a redirect to the client.

getPortletTitles

public static fr.paris.lutece.util.ReferenceList getPortletTitles()
Return titles list of defined portlets

Returns:
titles list of defined portlets

getButtons

public static Buttons getButtons(int nPortletID,
                                 java.lang.String strPortletName)
Return list of buttons that must be displayed on the portlet titlebar.

Parameters:
nPortletID - Lutece portlet ID
strPortletName - JSR 168 portlet name (ID)
Returns:
Return button defined for this


Copyright © 2008 Mairie de Paris. All Rights Reserved.