Package org.rhq.core.domain.criteria

Examples of org.rhq.core.domain.criteria.ResourceGroupDefinitionCriteria


    public Response getGroupDefinitions(
            @ApiParam("String to search in the group definition name") @QueryParam("q") String q,
            @Context HttpHeaders headers,
            @Context UriInfo uriInfo) {

        ResourceGroupDefinitionCriteria criteria = new ResourceGroupDefinitionCriteria();
        if (q!=null) {
            criteria.addFilterName(q);
        }

        PageList<GroupDefinition> gdlist = definitionManager.findGroupDefinitionsByCriteria(caller, criteria);

        List<GroupDefinitionRest> list = new ArrayList<GroupDefinitionRest>();
View Full Code Here


        });
    }

    @Override
    protected ResourceGroupDefinitionCriteria getFetchCriteria(final DSRequest request) {
        ResourceGroupDefinitionCriteria criteria = new ResourceGroupDefinitionCriteria();
        return criteria;
    }
View Full Code Here

            }
        });;
    }

    private void lookupDetails(final int groupDefinitionId) {
        ResourceGroupDefinitionCriteria criteria = new ResourceGroupDefinitionCriteria();
        criteria.addFilterId(groupDefinitionId);

        if (groupDefinitionId == 0) {
            GroupDefinition newGroupDefinition = new GroupDefinition();
            setGroupDefinition(newGroupDefinition);
            switchToEditMode();
View Full Code Here

TOP

Related Classes of org.rhq.core.domain.criteria.ResourceGroupDefinitionCriteria

Copyright © 2018 www.massapicom. 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.