Interface CallInfoViewContext
-
- All Superinterfaces:
CallProvider
,IssueProvider
,IssueViewContext
,UserProvider
,ViewContext
- All Known Subinterfaces:
ArchiveAccessCallInfoViewContext
,BacklogCallInfoViewContext
,SearchResultCallInfoViewContext
public interface CallInfoViewContext extends IssueViewContext, CallProvider
This interface provides information and functionality for view context sensitive data and operations.- Since:
- 11.27
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getViewUrl(java.lang.String viewPath)
This method should be used to prepare the call info view url-
Methods inherited from interface com.novomind.ecom.api.iagent.provider.CallProvider
getCall
-
Methods inherited from interface com.novomind.ecom.api.iagent.frontend.IssueViewContext
getIssue
-
Methods inherited from interface com.novomind.ecom.api.iagent.frontend.ViewContext
getUser
-
-
-
-
Method Detail
-
getViewUrl
java.lang.String getViewUrl(java.lang.String viewPath)
This method should be used to prepare the call info view url- Parameters:
viewPath
- the relative path to the view (.xhtml) or an absolute url. Supported formats: 1. Absolute path without protocol: //host.domain.com/... 2. Absolute path with protocol: http://host.domain.com/... https://host.domain.com/... 3. Relative path to .xhtml file: /callinfo/helloworld/helloWorldCallInfoTab.xhtml Example:public class HelloWorldCallInfoTabProvider implements CallInfoTabProvider { @Override public CallInfoTab getCallInfoTab(CallInfoViewContext context) { return new CallInfoTab(name, displayName, context.getViewUrl("/callinfo/helloworld/helloWorldCallInfoTab.xhtml")); } }
- Returns:
- the correct url to render the view that can be passed to
CallInfoTab
- Since:
- 11.27
-
-