All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazon.speech.speechlet.services.ListService Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2016-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use
 * this file except in compliance with the License. A copy of the License is located at
 *
 * http://aws.amazon.com/apache2.0/
 *
 * or in the "license" file accompanying this file. This file 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 com.amazon.speech.speechlet.services;

import com.amazon.speech.speechlet.services.householdlist.client.AlexaList;
import com.amazon.speech.speechlet.services.householdlist.client.AlexaListItem;
import com.amazon.speech.speechlet.services.householdlist.client.AlexaListMetadata;
import com.amazon.speech.speechlet.services.householdlist.client.AlexaListsMetadata;
import com.amazon.speech.speechlet.services.householdlist.client.CreateListItemRequest;
import com.amazon.speech.speechlet.services.householdlist.client.CreateListRequest;
import com.amazon.speech.speechlet.services.householdlist.client.ListState;
import com.amazon.speech.speechlet.services.householdlist.client.UpdateListItemRequest;
import com.amazon.speech.speechlet.services.householdlist.client.UpdateListRequest;

public interface ListService {

    AlexaListsMetadata getListsMetadata(String token) throws ServiceException;

    AlexaList getList(String listId, ListState status, String token) throws ServiceException;

    AlexaListMetadata createList(CreateListRequest request, String token) throws ServiceException;

    AlexaListMetadata updateList(String listId, UpdateListRequest request, String token) throws ServiceException;

    void deleteList(String listId, String token) throws ServiceException;

    AlexaListItem getListItem(String listId, String itemId, String token) throws ServiceException;

    AlexaListItem createListItem(String listId, CreateListItemRequest request, String token) throws ServiceException;

    AlexaListItem updateListItem(String listId, String itemId, UpdateListItemRequest request, String token) throws ServiceException;

    void deleteListItem(String listId, String itemId, String token) throws ServiceException;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy