001 /*
002 * Copyright 2009 The Kuali Foundation Licensed under the
003 * Educational Community License, Version 2.0 (the "License"); you may
004 * not use this file except in compliance with the License. You may
005 * obtain a copy of the License at
006 *
007 * http://www.osedu.org/licenses/ECL-2.0
008 *
009 * Unless required by applicable law or agreed to in writing,
010 * software distributed under the License is distributed on an "AS IS"
011 * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
012 * or implied. See the License for the specific language governing
013 * permissions and limitations under the License.
014 */
015 package org.kuali.student.common.ui.client.service;
016
017 import java.util.List;
018
019 import org.kuali.student.r1.common.assembly.data.Metadata;
020
021 import com.google.gwt.user.client.rpc.RemoteService;
022 import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
023
024 @RemoteServiceRelativePath("rpcservices/MetadataRpcService")
025 public interface MetadataRpcService extends RemoteService {
026 public Metadata getMetadata(String objectKey, String type, String state);
027 public List<Metadata> getMetadataList(String objectKey, List<String> types, String state);
028 public Metadata getMetadataList(String objectKey, String state);
029 }