org.nuxeo.opensocial.container.factory
Class ContainerManagerImpl
java.lang.Object
org.nuxeo.opensocial.container.factory.ContainerManagerImpl
- All Implemented Interfaces:
- ContainerManager
public class ContainerManagerImpl
- extends Object
- implements ContainerManager
DOC_REF
public static final String DOC_REF
- Constant of default container params key
- See Also:
- Constant Field Values
REPO_NAME
public static final String REPO_NAME
- See Also:
- Constant Field Values
RESET_GADGET_TITLE
public static final String RESET_GADGET_TITLE
- See Also:
- Constant Field Values
USER_LANGUAGE
public static final String USER_LANGUAGE
- See Also:
- Constant Field Values
DEFAULT_STRUCTURE
public static final int DEFAULT_STRUCTURE
- See Also:
- Constant Field Values
DEFAULT_LAYOUT
public static final String DEFAULT_LAYOUT
- See Also:
- Constant Field Values
ContainerManagerImpl
public ContainerManagerImpl()
createContainer
public Container createContainer(Map<String,String> containerParams)
throws ClientException
- Specified by:
createContainer
in interface ContainerManager
- Throws:
ClientException
addGadget
public GadgetBean addGadget(String gadgetName,
Map<String,String> gwtParams)
throws Exception
- Add Gadget to Container
- Specified by:
addGadget
in interface ContainerManager
- Parameters:
gadgetName
- : Name of gadgetgwtParams
- : Container parameters
- Returns:
- GadgetBean
- Throws:
Exception
getGadgetList
public Map<String,ArrayList<String>> getGadgetList()
throws ClientException
- Get a list of gadget
- Specified by:
getGadgetList
in interface ContainerManager
- Returns:
- Map of gadgets, key is category and value is list of gadget name
- Throws:
ClientException
saveLayout
public Container saveLayout(Map<String,String> containerParams,
String layout)
throws ClientException
- Specified by:
saveLayout
in interface ContainerManager
- Throws:
ClientException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.