当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
WSRPUtils - JBOSS Portal 2.4 API 英文版文档
org.jboss.portal.wsrp
Class WSRPUtils
java.lang.Object
org.jboss.portal.wsrp.WSRPUtils
- public class WSRPUtils
- extends java.lang.Object
- Since:
- 2.4
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSRPUtils
public WSRPUtils()
getJSR168WindowStateFromWSRPName
public static WindowState getJSR168WindowStateFromWSRPName(java.lang.String wsrpWindowStateName)
convertJSR168WindowStateNameToWSRPName
public static java.lang.String convertJSR168WindowStateNameToWSRPName(java.lang.String jsr168WindowStateName)
getWSRPNameFromJSR168WindowState
public static java.lang.String getWSRPNameFromJSR168WindowState(WindowState windowState)
getJSR168PortletModeFromWSRPName
public static Mode getJSR168PortletModeFromWSRPName(java.lang.String wsrpPortletModeName)
convertJSR168PortletModeNameToWSRPName
public static java.lang.String convertJSR168PortletModeNameToWSRPName(java.lang.String jsr168PortletModeName)
getWSRPNameFromJSR168PortletMode
public static java.lang.String getWSRPNameFromJSR168PortletMode(Mode portletMode)
getAccessModeFromStateChange
public static AccessMode getAccessModeFromStateChange(StateChange stateChange)
getStateChangeFromAccessMode
public static StateChange getStateChangeFromAccessMode(AccessMode accessMode)
getWSRPURLTypeFrom
public static java.lang.String getWSRPURLTypeFrom(PortletURL url)
convertRequestAuthTypeToWSRPAuthType
public static java.lang.String convertRequestAuthTypeToWSRPAuthType(java.lang.String authType)
convertLocalesToRFC3066LanguageTagArray
public static java.lang.String[] convertLocalesToRFC3066LanguageTagArray(java.util.List localesOrderedByPreference)
createOperationFailedFault
public static OperationFailedFault createOperationFailedFault(java.lang.Throwable cause)
- Create a new OperationFailedFault based on the specified cause.
- Parameters:
cause
- the cause why the operation failed
- Returns:
- a new OperationFailedFault based on the specified cause.
createFaultFrom
public static Fault createFaultFrom(java.lang.Class faultClass,
java.lang.Throwable cause)
throwMissingParametersFaultIfValueIsMissing
public static void throwMissingParametersFaultIfValueIsMissing(java.lang.Object valueToCheck,
java.lang.String valueName,
java.lang.String context)
throws MissingParametersFault
- Throws:
MissingParametersFault
throwOperationFailedFaultIfValueIsMissing
public static void throwOperationFailedFaultIfValueIsMissing(java.lang.Object valueToCheck,
java.lang.String valueName)
throws OperationFailedFault
- Throws:
OperationFailedFault