org.dspace.xoai.services.api.CollectionsService Maven / Gradle / Ivy
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.xoai.services.api;
import java.sql.SQLException;
import java.util.List;
import java.util.UUID;
import org.dspace.content.Collection;
import org.dspace.content.Community;
import org.dspace.content.Item;
import org.dspace.core.Context;
import org.dspace.xoai.services.api.context.ContextService;
public interface CollectionsService {
List getAllSubCollections(ContextService contextService, UUID communityId) throws SQLException;
List flatParentCommunities(Collection collection) throws SQLException;
List flatParentCommunities(Community community) throws SQLException;
List flatParentCommunities(Context context, Item item) throws SQLException;
}