Examples of ensureResourceType()


Examples of org.rhq.enterprise.server.resource.ResourceTypeManagerLocal.ensureResourceType()

            boolean commonResourceType = false;
            Integer resourceTypeId = (Integer) session.getAttribute(Constants.RESOURCE_TYPE_ATTR);

            if (resourceTypeId != null) {
                if (resourceTypeManager.ensureResourceType(subject, resourceTypeId, resourceIds) == false) {
                    ResourceType compatibleResourceType = resourceTypeManager.getResourceTypeById(subject,
                        resourceTypeId);

                    newForm.setResourceTypeName(compatibleResourceType.getName());
                    newForm.setResourceTypeId(resourceTypeId);
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.