Class TickerManager
- java.lang.Object
-
- de.uplanet.lucy.server.auxiliaries.TickerManager
-
@VelocityCallable("singleton") public final class TickerManager extends ObjectVelocity context class to access anRssProvider.
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROP_TICKER_URLTicker-URL propertyurn:schemas-unitedplanet-de:portlet:ticker:url.static StringPROP_TIME_TO_LIVETime-to-live propertyurn:schemas-unitedplanet-de:portlet:ticker:ttl.static StringPROP_TRANSFORMTransformation propertyurn:schemas-unitedplanet-de:portlet:ticker:transform.static StringPROP_TRANSFORM_PARAMSTransformation propertyurn:schemas-unitedplanet-de:portlet:ticker:transform:parameters.
-
Constructor Summary
Constructors Constructor Description TickerManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetTickerContent(de.uplanet.lucy.server.portlet.velocity.IVelocityPortlet p_portlet, Object[] p_params)Get the content of a ticker that is associated with a portlet.StringgetTickerContent(de.uplanet.lucy.server.portlet.velocity.IVelocityPortlet p_portlet, String p_strParam, Object p_oValue)Get the content of a ticker that is associated with a portlet.StringgetTickerContent(de.uplanet.lucy.server.portlet.velocity.IVelocityPortlet p_portlet, List<Object> p_params)Get the content of a ticker that is associated with a portlet.StringgetTickerContent(String p_strUrl, String p_strTransform, int p_lTimeToLive, Object[] p_params)Get the content of a ticker.StringgetTickerContent(String p_strUrl, String p_strTransform, int p_lTimeToLive, String p_strParam, Object p_oValue)Get the content of a ticker.StringgetTickerContent(String p_strUrl, String p_strTransform, int p_lTimeToLive, List<Object> p_params)Get the content of a ticker.
-
-
-
Field Detail
-
PROP_TIME_TO_LIVE
public static final String PROP_TIME_TO_LIVE
Time-to-live propertyurn:schemas-unitedplanet-de:portlet:ticker:ttl.- See Also:
- Constant Field Values
-
PROP_TICKER_URL
public static final String PROP_TICKER_URL
Ticker-URL propertyurn:schemas-unitedplanet-de:portlet:ticker:url.- See Also:
- Constant Field Values
-
PROP_TRANSFORM
public static final String PROP_TRANSFORM
Transformation propertyurn:schemas-unitedplanet-de:portlet:ticker:transform.- See Also:
- Constant Field Values
-
PROP_TRANSFORM_PARAMS
public static final String PROP_TRANSFORM_PARAMS
Transformation propertyurn:schemas-unitedplanet-de:portlet:ticker:transform:parameters.- See Also:
- Constant Field Values
-
-
Method Detail
-
getTickerContent
public String getTickerContent(de.uplanet.lucy.server.portlet.velocity.IVelocityPortlet p_portlet, String p_strParam, 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 String getTickerContent(de.uplanet.lucy.server.portlet.velocity.IVelocityPortlet p_portlet, List<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 String getTickerContent(de.uplanet.lucy.server.portlet.velocity.IVelocityPortlet p_portlet, 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 String getTickerContent(String p_strUrl, String p_strTransform, int p_lTimeToLive, String p_strParam, 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 String getTickerContent(String p_strUrl, String p_strTransform, int p_lTimeToLive, List<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 String getTickerContent(String p_strUrl, String p_strTransform, int p_lTimeToLive, 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.
-
-