Repository: incubator-atlas Updated Branches: refs/heads/master 590b38ac5 -> 0e7ef3af9
ATLAS-1412: delete AtlasApiEntities, as it is not used Signed-off-by: Madhan Neethiraj <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/incubator-atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/0e7ef3af Tree: http://git-wip-us.apache.org/repos/asf/incubator-atlas/tree/0e7ef3af Diff: http://git-wip-us.apache.org/repos/asf/incubator-atlas/diff/0e7ef3af Branch: refs/heads/master Commit: 0e7ef3af9e59584bd9ea87b10d6264a97ba4b41e Parents: 590b38a Author: David Radley <[email protected]> Authored: Fri Dec 23 07:38:17 2016 -0800 Committer: Madhan Neethiraj <[email protected]> Committed: Fri Dec 23 07:38:17 2016 -0800 ---------------------------------------------------------------------- .../org/apache/atlas/api/AtlasApiEntities.java | 54 -------------------- 1 file changed, 54 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/0e7ef3af/intg/src/main/java/org/apache/atlas/api/AtlasApiEntities.java ---------------------------------------------------------------------- diff --git a/intg/src/main/java/org/apache/atlas/api/AtlasApiEntities.java b/intg/src/main/java/org/apache/atlas/api/AtlasApiEntities.java deleted file mode 100644 index 8eb4604..0000000 --- a/intg/src/main/java/org/apache/atlas/api/AtlasApiEntities.java +++ /dev/null @@ -1,54 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.atlas.api; - -import java.util.List; -import java.util.Map; - -import org.apache.atlas.exception.AtlasBaseException; -import org.apache.atlas.model.SearchFilter; -import org.apache.atlas.model.instance.AtlasClassification; -import org.apache.atlas.model.instance.AtlasEntity; -import org.apache.atlas.model.instance.AtlasEntity.AtlasEntities; -import org.apache.atlas.model.instance.AtlasObjectId; - -/** - * API to work with CRUD of Atlas entities. - */ -public interface AtlasApiEntities { - AtlasEntity createEntity(AtlasEntity entity) throws AtlasBaseException; - - AtlasEntity getEntity(AtlasObjectId objId) throws AtlasBaseException; - - AtlasEntity updateEntity(AtlasObjectId objId, AtlasEntity entity) throws AtlasBaseException; - - AtlasEntity updateEntityAttributes(AtlasObjectId objId, Map<String, Object> attributes) throws AtlasBaseException; - - void deleteEntity(AtlasObjectId objId) throws AtlasBaseException; - - AtlasEntities searchEntities(SearchFilter filter) throws AtlasBaseException; - - - void addEntityClassification(AtlasObjectId entityId, AtlasClassification classification) throws AtlasBaseException; - - void removeEntityClassification(AtlasObjectId entityId, String classificationName) throws AtlasBaseException; - - List<AtlasClassification> getEntityClassifications(AtlasObjectId entityId) throws AtlasBaseException; - - List<String> getEntityClassificationNames(AtlasObjectId entityId) throws AtlasBaseException; -}
