com.atlassian.gadgets.embedded.internal
Class GadgetViewFactoryImpl
java.lang.Object
com.atlassian.gadgets.embedded.internal.GadgetViewFactoryImpl
- All Implemented Interfaces:
- com.atlassian.gadgets.view.GadgetViewFactory
public class GadgetViewFactoryImpl
- extends Object
- implements com.atlassian.gadgets.view.GadgetViewFactory
Default implementation of GadgetViewFactory. Uses
RenderedGadgetUriBuilder to render gadget views.
|
Constructor Summary |
GadgetViewFactoryImpl(com.atlassian.gadgets.spec.GadgetSpecFactory specFactory,
com.atlassian.gadgets.view.RenderedGadgetUriBuilder renderedUriBuilder)
|
|
Method Summary |
boolean |
canRenderInViewType(com.atlassian.gadgets.GadgetState state,
com.atlassian.gadgets.view.ViewType viewType,
com.atlassian.gadgets.GadgetRequestContext gadgetRequestContext)
|
com.atlassian.gadgets.view.ViewComponent |
createGadgetView(com.atlassian.gadgets.GadgetState state,
com.atlassian.gadgets.view.ModuleId moduleId,
com.atlassian.gadgets.view.View view,
com.atlassian.gadgets.GadgetRequestContext gadgetRequestContext)
|
com.atlassian.gadgets.view.ViewComponent |
createGadgetView(com.atlassian.gadgets.GadgetState state,
com.atlassian.gadgets.view.View view,
com.atlassian.gadgets.GadgetRequestContext gadgetRequestContext)
Deprecated. as of 2.0, use GadgetViewFactory.createGadgetView(com.atlassian.gadgets.GadgetState,com.atlassian.gadgets.view.ModuleId,com.atlassian.gadgets.view.View,com.atlassian.gadgets.GadgetRequestContext) |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GadgetViewFactoryImpl
public GadgetViewFactoryImpl(com.atlassian.gadgets.spec.GadgetSpecFactory specFactory,
com.atlassian.gadgets.view.RenderedGadgetUriBuilder renderedUriBuilder)
createGadgetView
@Deprecated
public com.atlassian.gadgets.view.ViewComponent createGadgetView(com.atlassian.gadgets.GadgetState state,
com.atlassian.gadgets.view.View view,
com.atlassian.gadgets.GadgetRequestContext gadgetRequestContext)
throws com.atlassian.gadgets.GadgetParsingException,
com.atlassian.gadgets.view.GadgetRenderingException
- Deprecated. as of 2.0, use
GadgetViewFactory.createGadgetView(com.atlassian.gadgets.GadgetState,com.atlassian.gadgets.view.ModuleId,com.atlassian.gadgets.view.View,com.atlassian.gadgets.GadgetRequestContext)
-
- Specified by:
createGadgetView in interface com.atlassian.gadgets.view.GadgetViewFactory
- Throws:
com.atlassian.gadgets.GadgetParsingException
com.atlassian.gadgets.view.GadgetRenderingException
createGadgetView
public com.atlassian.gadgets.view.ViewComponent createGadgetView(com.atlassian.gadgets.GadgetState state,
com.atlassian.gadgets.view.ModuleId moduleId,
com.atlassian.gadgets.view.View view,
com.atlassian.gadgets.GadgetRequestContext gadgetRequestContext)
throws com.atlassian.gadgets.GadgetParsingException,
com.atlassian.gadgets.view.GadgetRenderingException
- Specified by:
createGadgetView in interface com.atlassian.gadgets.view.GadgetViewFactory
- Throws:
com.atlassian.gadgets.GadgetParsingException
com.atlassian.gadgets.view.GadgetRenderingException
canRenderInViewType
public boolean canRenderInViewType(com.atlassian.gadgets.GadgetState state,
com.atlassian.gadgets.view.ViewType viewType,
com.atlassian.gadgets.GadgetRequestContext gadgetRequestContext)
- Specified by:
canRenderInViewType in interface com.atlassian.gadgets.view.GadgetViewFactory
Copyright © 2013 Atlassian. All Rights Reserved.