public abstract class AbstractLegacyConfiguredObjectController extends AbstractManagementController implements LegacyManagementController
USER_PREFERENCES, VISIBLE_USER_PREFERENCES| Constructor and Description |
|---|
AbstractLegacyConfiguredObjectController(String modelVersion,
ManagementController nextVersionManagementController) |
handleDelete, handleGet, handlePost, handlePutclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitformatConfiguredObject, handleDelete, handleGet, handlePost, handlePutpublic AbstractLegacyConfiguredObjectController(String modelVersion, ManagementController nextVersionManagementController)
public String getVersion()
getVersion in interface ManagementControllerpublic Collection<String> getCategories()
getCategories in interface ManagementControllerpublic String getCategoryMapping(String category)
getCategoryMapping in interface ManagementControllerpublic String getCategory(ConfiguredObject<?> managedObject)
getCategory in interface ManagementControllerpublic List<String> getCategoryHierarchy(ConfiguredObject<?> root, String categoryName)
getCategoryHierarchy in interface ManagementControllerpublic ManagementController getNextVersionManagementController()
getNextVersionManagementController in interface ManagementControllerpublic LegacyConfiguredObject createOrUpdate(ConfiguredObject<?> root, String category, List<String> path, Map<String,Object> attributes, boolean isPost) throws ManagementException
createOrUpdate in interface ManagementControllerManagementExceptionpublic Object get(ConfiguredObject<?> root, String category, List<String> path, Map<String,List<String>> parameters) throws ManagementException
get in interface ManagementControllerManagementExceptionpublic int delete(ConfiguredObject<?> root, String category, List<String> path, Map<String,List<String>> parameters) throws ManagementException
delete in interface ManagementControllerManagementExceptionpublic ManagementResponse invoke(ConfiguredObject<?> root, String category, List<String> path, String operation, Map<String,Object> parameters, boolean isPost, boolean isSecureOrAllowedOnInsecureChannel) throws ManagementException
invoke in interface ManagementControllerManagementExceptionpublic Object getPreferences(ConfiguredObject<?> root, String category, List<String> path, Map<String,List<String>> parameters) throws ManagementException
getPreferences in interface ManagementControllerManagementExceptionpublic void setPreferences(ConfiguredObject<?> root, String category, List<String> path, Object preferences, Map<String,List<String>> parameters, boolean isPost) throws ManagementException
setPreferences in interface ManagementControllerManagementExceptionpublic int deletePreferences(ConfiguredObject<?> root, String category, List<String> path, Map<String,List<String>> parameters) throws ManagementException
deletePreferences in interface ManagementControllerManagementExceptionpublic CategoryController getCategoryController(String category)
getCategoryController in interface LegacyManagementControllerpublic Set<TypeController> getTypeControllersByCategory(String name)
getTypeControllersByCategory in interface LegacyManagementControllerpublic List<String> getCategoryHierarchy(String rootCategory, String categoryName)
getCategoryHierarchy in interface LegacyManagementControllerpublic Collection<String> getChildrenCategories(String category)
getChildrenCategories in interface LegacyManagementControllerpublic Collection<String> getParentTypes(String category)
getParentTypes in interface LegacyManagementControllerpublic void initialize()
protected void initialize(Set<CategoryControllerFactory> categoryFactories, Set<TypeControllerFactory> typeFactories)
protected RequestType getRequestType(ManagementRequest managementRequest) throws ManagementException
getRequestType in class AbstractManagementControllerManagementExceptionpublic LegacyConfiguredObject convertFromNextVersion(LegacyConfiguredObject nextVersionObject)
convertFromNextVersion in interface LegacyManagementControllerprotected abstract Map<String,List<String>> convertQueryParameters(Map<String,List<String>> parameters)
protected org.apache.qpid.server.management.plugin.controller.LegacyConfiguredObjectToMapConverter getLegacyConfiguredObjectToMapConverter()
protected Object formatConfiguredObject(Object content, boolean isSecureOrAllowedOnInsecureChannel, int depth, int oversizeThreshold, boolean actuals, boolean excludeInheritedContext, boolean responseAsList)
protected Map<String,Object> convertObject(LegacyConfiguredObject legacyConfiguredObjectObject, int depth, boolean actuals, int oversizeThreshold, boolean isSecureOrConfidentialOperationAllowedOnInsecureChannel, boolean excludeInheritedContext)
Copyright © 2006–2020 The Apache Software Foundation. All rights reserved.