PageRenderTime 6ms CodeModel.GetById 2ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/v3.2/nimbits-tds/src/com/nimbits/client/service/timespan/TimespanServiceAsync.java

http://nimbits-server.googlecode.com/
Java | 22 lines | 7 code | 3 blank | 12 comment | 0 complexity | 1f774c63a37459de945130e6aefae6ff MD5 | raw file
 1/*
 2 * Copyright (c) 2010 Tonic Solutions LLC.
 3 *
 4 * http://www.nimbits.com
 5 *
 6 *
 7 * Licensed under the GNU GENERAL PUBLIC LICENSE, Version 3.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
 8 *
 9 * http://www.gnu.org/licenses/gpl.html
10 *
11 * 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.
12 */
13
14package com.nimbits.client.service.timespan;
15
16import com.google.gwt.user.client.rpc.AsyncCallback;
17import com.nimbits.client.model.timespan.InvalidTimespanException;
18import com.nimbits.client.model.timespan.Timespan;
19
20public interface TimespanServiceAsync {
21    void createTimespan(final String start, final String end, final AsyncCallback<Timespan> async) throws InvalidTimespanException;
22}