X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=datarouter-prov%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fdmaap%2Fdatarouter%2Fauthz%2Fimpl%2FProvDataProvider.java;h=dca348a02c8d4cc824c7ad584212e7a49df18847;hb=refs%2Fchanges%2F23%2F60023%2F3;hp=0357d174c9e614dc52c11d3132b448862fd405b1;hpb=13639e1b05d8c8b5b1e9efd543573834501aefaa;p=dmaap%2Fdatarouter.git diff --git a/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/authz/impl/ProvDataProvider.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/authz/impl/ProvDataProvider.java index 0357d174..dca348a0 100644 --- a/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/authz/impl/ProvDataProvider.java +++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/authz/impl/ProvDataProvider.java @@ -7,9 +7,9 @@ * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * You may obtain a copy of the License at - * * + * * * * http://www.apache.org/licenses/LICENSE-2.0 - * * + * * * * Unless required by applicable law or agreed to in writing, software * * distributed under the License is distributed on an "AS IS" BASIS, * * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -22,45 +22,45 @@ ******************************************************************************/ package org.onap.dmaap.datarouter.authz.impl; -/** Interface to access data about subscriptions and feeds. A software component that +/** Interface to access data about subscriptions and feeds. A software component that * uses the ProvAuthorizer needs to supply an implementation of this interface. * @author J. F. Lucas * */ public interface ProvDataProvider { - - /** Get the identity of the owner of a feed. - * - * @param feedId the feed ID of the feed whose owner is being looked up. - * @return the feed owner's identity - */ - public String getFeedOwner(String feedId); - - /** Get the security classification of a feed. - * - * @param feedId the ID of the feed whose classification is being looked up. - * @return the classification of the feed. - */ - public String getFeedClassification(String feedId); - - /** Get the identity of the owner of a feed - * - * @param subId the ID of the subscripition whose owner is being looked up. - * @return the subscription owner's identity. - */ - public String getSubscriptionOwner(String subId); - /** Get the identity of the owner of a feed by group id - Rally : US708115 - * - * @param feedId, user the ID of the feed whose owner is being looked up. - * @return the feed owner's identity by group. - */ - public String getGroupByFeedGroupId(String owner, String feedId); - - /** Get the identity of the owner of a sub by group id Rally : US708115 - * - * @param subId, user the ID of the feed whose owner is being looked up. - * @return the feed owner's identity by group. - */ - public String getGroupBySubGroupId(String owner, String subId); + /** Get the identity of the owner of a feed. + * + * @param feedId the feed ID of the feed whose owner is being looked up. + * @return the feed owner's identity + */ + public String getFeedOwner(String feedId); + + /** Get the security classification of a feed. + * + * @param feedId the ID of the feed whose classification is being looked up. + * @return the classification of the feed. + */ + public String getFeedClassification(String feedId); + + /** Get the identity of the owner of a feed + * + * @param subId the ID of the subscripition whose owner is being looked up. + * @return the subscription owner's identity. + */ + public String getSubscriptionOwner(String subId); + + /** Get the identity of the owner of a feed by group id - Rally : US708115 + * + * @param feedId, user the ID of the feed whose owner is being looked up. + * @return the feed owner's identity by group. + */ + public String getGroupByFeedGroupId(String owner, String feedId); + + /** Get the identity of the owner of a sub by group id Rally : US708115 + * + * @param subId, user the ID of the feed whose owner is being looked up. + * @return the feed owner's identity by group. + */ + public String getGroupBySubGroupId(String owner, String subId); }