Class CmsContextInfoDetailsFormatter
- java.lang.Object
-
- org.opencms.workplace.tools.scheduler.CmsContextInfoDetailsFormatter
-
- All Implemented Interfaces:
I_CmsListFormatter
public class CmsContextInfoDetailsFormatter extends java.lang.Object implements I_CmsListFormatter
This list item detail formatter creates a two column table to represent a context info object.- Since:
- 6.0.0
-
-
Constructor Summary
Constructors Constructor Description CmsContextInfoDetailsFormatter()
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
format(java.lang.Object data, java.util.Locale locale)
Returns a formatted string for the specified data.void
setEncodingMessage(org.opencms.i18n.CmsMessageContainer encodingMessage)
Sets the encoding Message.void
setLocaleMessage(org.opencms.i18n.CmsMessageContainer localeMessage)
Sets the locale Message.void
setProjectMessage(org.opencms.i18n.CmsMessageContainer projectMessage)
Sets the project Message.void
setRemoteAddrMessage(org.opencms.i18n.CmsMessageContainer remoteAddrMessage)
Sets the remote Address Message.void
setRequestedURIMessage(org.opencms.i18n.CmsMessageContainer requestedURIMessage)
Sets the requested URI Message.void
setRootSiteMessage(org.opencms.i18n.CmsMessageContainer rootSiteMessage)
Sets the rootSiteMessage.void
setUserMessage(org.opencms.i18n.CmsMessageContainer userMessage)
Sets the userMessage.
-
-
-
Constructor Detail
-
CmsContextInfoDetailsFormatter
public CmsContextInfoDetailsFormatter()
Default constructor.
-
-
Method Detail
-
format
public java.lang.String format(java.lang.Object data, java.util.Locale locale)
Description copied from interface:I_CmsListFormatter
Returns a formatted string for the specified data.Take care of
null
data.- Specified by:
format
in interfaceI_CmsListFormatter
- Parameters:
data
- the data to formatlocale
- the locale for formatting- Returns:
- formatted data
- See Also:
I_CmsListFormatter.format(java.lang.Object, java.util.Locale)
-
setEncodingMessage
public void setEncodingMessage(org.opencms.i18n.CmsMessageContainer encodingMessage)
Sets the encoding Message.- Parameters:
encodingMessage
- the encoding Message to set
-
setLocaleMessage
public void setLocaleMessage(org.opencms.i18n.CmsMessageContainer localeMessage)
Sets the locale Message.- Parameters:
localeMessage
- the locale Message to set
-
setProjectMessage
public void setProjectMessage(org.opencms.i18n.CmsMessageContainer projectMessage)
Sets the project Message.- Parameters:
projectMessage
- the project Message to set
-
setRemoteAddrMessage
public void setRemoteAddrMessage(org.opencms.i18n.CmsMessageContainer remoteAddrMessage)
Sets the remote Address Message.- Parameters:
remoteAddrMessage
- the remote Address Message to set
-
setRequestedURIMessage
public void setRequestedURIMessage(org.opencms.i18n.CmsMessageContainer requestedURIMessage)
Sets the requested URI Message.- Parameters:
requestedURIMessage
- the requested URI Message to set
-
setRootSiteMessage
public void setRootSiteMessage(org.opencms.i18n.CmsMessageContainer rootSiteMessage)
Sets the rootSiteMessage.- Parameters:
rootSiteMessage
- the rootSiteMessage to set
-
setUserMessage
public void setUserMessage(org.opencms.i18n.CmsMessageContainer userMessage)
Sets the userMessage.- Parameters:
userMessage
- the userMessage to set
-
-