Skip to content

Package: CertificateInfoQuery

CertificateInfoQuery

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2018, 2022 Eurotech and/or its affiliates and others
3: *
4: * This program and the accompanying materials are made
5: * available under the terms of the Eclipse Public License 2.0
6: * which is available at https://www.eclipse.org/legal/epl-2.0/
7: *
8: * SPDX-License-Identifier: EPL-2.0
9: *
10: * Contributors:
11: * Eurotech - initial API and implementation
12: *******************************************************************************/
13: package org.eclipse.kapua.service.certificate.info;
14:
15: import org.eclipse.kapua.model.query.KapuaQuery;
16: import org.eclipse.kapua.service.certificate.info.xml.CertificateInfoXmlRegistry;
17:
18: import javax.xml.bind.annotation.XmlAccessType;
19: import javax.xml.bind.annotation.XmlAccessorType;
20: import javax.xml.bind.annotation.XmlElement;
21: import javax.xml.bind.annotation.XmlRootElement;
22: import javax.xml.bind.annotation.XmlType;
23:
24: /**
25: * {@link CertificateInfo} {@link KapuaQuery} definition.
26: *
27: * @see KapuaQuery
28: * @since 1.1.0
29: */
30: @XmlRootElement(name = "query")
31: @XmlAccessorType(XmlAccessType.PROPERTY)
32: @XmlType(factoryClass = CertificateInfoXmlRegistry.class, factoryMethod = "newQuery")
33: public interface CertificateInfoQuery extends KapuaQuery {
34:
35: /**
36: * Gets whether or not to get also inherited {@link CertificateInfo}s
37: *
38: * @return {@code true} if set to get inherited {@link CertificateInfo}s, {@code false} otherwise.
39: * @since 1.1.0
40: */
41: @XmlElement(name = "includeInherited")
42: Boolean getIncludeInherited();
43:
44: /**
45: * Sets whether or not to get also inherited {@link CertificateInfo}s
46: *
47: * @param includeInherited {@code true} to get inherited {@link CertificateInfo}s, {@code false} otherwise.
48: * @since 1.1.0
49: */
50: void setIncludeInherited(Boolean includeInherited);
51: }