Examples of findSupportedResourceTypeOperations()


Examples of org.rhq.enterprise.server.operation.OperationManagerLocal.findSupportedResourceTypeOperations()

        List<OperationDefinition> operationDefinitions = null;

        // need to eager load the definitions so the check against getParametersConfigurationDefinition succeeds below

        if (context == FormContext.Type) {
            operationDefinitions = operationManager.findSupportedResourceTypeOperations(subject, id, true);
        } else if (context == FormContext.Group) {
            operationDefinitions = operationManager.findSupportedGroupOperations(subject, id, true);
        } else if (context == FormContext.Resource) {
            operationDefinitions = operationManager.findSupportedResourceOperations(subject, id, true);
        } else {
View Full Code Here

Examples of org.rhq.enterprise.server.operation.OperationManagerLocal.findSupportedResourceTypeOperations()

        request.setAttribute("baselines", baselines); // need to duplicate this for the JavaScript on the page

        List<OptionItem> controlActions = new ArrayList<OptionItem>();
        OperationManagerLocal operationManager = LookupUtil.getOperationManager();
        // do not need to eagerly load the definitions because only name and displayName are needed
        for (OperationDefinition action : operationManager.findSupportedResourceTypeOperations(subject, type.getId(),
            false)) {
            OptionItem actionItem = new OptionItem(action.getDisplayName(), action.getName());
            controlActions.add(actionItem);
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.