de.uplanet.lucy.server.auxiliaries
Class TickerManager

java.lang.Object
  extended by de.uplanet.lucy.server.auxiliaries.TickerManager

@VelocityCallable(value="singleton")
public final class TickerManager
extends java.lang.Object

Velocity context class to access an RssProvider.

Version:
$Revision: 64100 $

Field Summary
static java.lang.String PROP_TICKER_URL
          Ticker-URL property urn:schemas-unitedplanet-de:portlet:ticker:url.
static java.lang.String PROP_TIME_TO_LIVE
          Time-to-live property urn:schemas-unitedplanet-de:portlet:ticker:ttl.
static java.lang.String PROP_TRANSFORM
          Transformation property urn:schemas-unitedplanet-de:portlet:ticker:transform.
static java.lang.String PROP_TRANSFORM_PARAMS
          Transformation property urn:schemas-unitedplanet-de:portlet:ticker:transform:parameters.
 
Constructor Summary
TickerManager()
           
 
Method Summary
 java.lang.String getTickerContent(de.uplanet.lucy.server.portlet.Portlet p_portlet, java.util.List<java.lang.Object> p_params)
          Get the content of a ticker that is associated with a portlet.
 java.lang.String getTickerContent(de.uplanet.lucy.server.portlet.Portlet p_portlet, java.lang.Object[] p_params)
          Get the content of a ticker that is associated with a portlet.
 java.lang.String getTickerContent(de.uplanet.lucy.server.portlet.Portlet p_portlet, java.lang.String p_strParam, java.lang.Object p_oValue)
          Get the content of a ticker that is associated with a portlet.
 java.lang.String getTickerContent(java.lang.String p_strUrl, java.lang.String p_strTransform, int p_lTimeToLive, java.util.List<java.lang.Object> p_params)
          Get the content of a ticker.
 java.lang.String getTickerContent(java.lang.String p_strUrl, java.lang.String p_strTransform, int p_lTimeToLive, java.lang.Object[] p_params)
          Get the content of a ticker.
 java.lang.String getTickerContent(java.lang.String p_strUrl, java.lang.String p_strTransform, int p_lTimeToLive, java.lang.String p_strParam, java.lang.Object p_oValue)
          Get the content of a ticker.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_TIME_TO_LIVE

public static final java.lang.String PROP_TIME_TO_LIVE
Time-to-live property urn:schemas-unitedplanet-de:portlet:ticker:ttl.

See Also:
Constant Field Values

PROP_TICKER_URL

public static final java.lang.String PROP_TICKER_URL
Ticker-URL property urn:schemas-unitedplanet-de:portlet:ticker:url.

See Also:
Constant Field Values

PROP_TRANSFORM

public static final java.lang.String PROP_TRANSFORM
Transformation property urn:schemas-unitedplanet-de:portlet:ticker:transform.

See Also:
Constant Field Values

PROP_TRANSFORM_PARAMS

public static final java.lang.String PROP_TRANSFORM_PARAMS
Transformation property urn:schemas-unitedplanet-de:portlet:ticker:transform:parameters.

See Also:
Constant Field Values
Constructor Detail

TickerManager

public TickerManager()
Method Detail

getTickerContent

public java.lang.String getTickerContent(de.uplanet.lucy.server.portlet.Portlet p_portlet,
                                         java.lang.String p_strParam,
                                         java.lang.Object p_oValue)
Get the content of a ticker that is associated with a portlet.

Parameters:
p_portlet - The ticker portlet.
p_strParam - The name of the transformation parameter.
p_oValue - The value of the transformation parameter.
Returns:
The ticker content.

getTickerContent

public java.lang.String getTickerContent(de.uplanet.lucy.server.portlet.Portlet p_portlet,
                                         java.util.List<java.lang.Object> p_params)
Get the content of a ticker that is associated with a portlet.

Parameters:
p_portlet - The ticker portlet.
p_params - The transformation parameters as a list of alternating names and values .
Returns:
The ticker content.

getTickerContent

public java.lang.String getTickerContent(de.uplanet.lucy.server.portlet.Portlet p_portlet,
                                         java.lang.Object[] p_params)
Get the content of a ticker that is associated with a portlet.

Parameters:
p_portlet - The ticker portlet.
p_params - The transformation parameters as alternating names and values.
Returns:
The ticker content.

getTickerContent

public java.lang.String getTickerContent(java.lang.String p_strUrl,
                                         java.lang.String p_strTransform,
                                         int p_lTimeToLive,
                                         java.lang.String p_strParam,
                                         java.lang.Object p_oValue)
Get the content of a ticker.

Parameters:
p_strUrl - The ticker URL.
p_strTransform - The transformation to be used.
p_lTimeToLive - The time for which the transformed content should be cached.
p_strParam - The name of the transformation parameter.
p_oValue - The value of the transformation parameter.
Returns:
The transformed content.

getTickerContent

public java.lang.String getTickerContent(java.lang.String p_strUrl,
                                         java.lang.String p_strTransform,
                                         int p_lTimeToLive,
                                         java.util.List<java.lang.Object> p_params)
Get the content of a ticker.

Parameters:
p_strUrl - The ticker URL.
p_strTransform - The transformation to be used.
p_lTimeToLive - The time for which the transformed content should be cached.
p_params - The transformation parameters as a list of alternating names and values .
Returns:
The transformed content.

getTickerContent

public java.lang.String getTickerContent(java.lang.String p_strUrl,
                                         java.lang.String p_strTransform,
                                         int p_lTimeToLive,
                                         java.lang.Object[] p_params)
Get the content of a ticker.

Parameters:
p_strUrl - The ticker URL.
p_strTransform - The transformation to be used.
p_lTimeToLive - The time for which the transformed content should be cached.
p_params - The transformation parameters as alternating names and values .
Returns:
The transformed content.


Last updated: 2011-01-27
Copyright 2000-2010 United Planet. All Rights Reserved.