/*
 * Copyright 2011 JBoss Inc
 * 
 * Licensed 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.drools.guvnor.client.rpc;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface PackageServiceAsync {
    /** PLACE THE FOLLOWING IN PackageServiceAsync.java **/

    /** Generated by AsyncInterfaceGenerator hackery */
    public void listPackages(java.lang.String p0, AsyncCallback<org.drools.guvnor.client.rpc.PackageConfigData[]> cb);
    public void listPackages(AsyncCallback<org.drools.guvnor.client.rpc.PackageConfigData[]> cb);
    public void listArchivedPackages(AsyncCallback<org.drools.guvnor.client.rpc.PackageConfigData[]> cb);
    public void loadGlobalPackage(AsyncCallback<org.drools.guvnor.client.rpc.PackageConfigData> cb);
    public void createPackage(java.lang.String p0, java.lang.String p1, AsyncCallback<java.lang.String> cb);
    public void createSubPackage(java.lang.String p0, java.lang.String p1, java.lang.String p2, AsyncCallback<java.lang.String> cb);
    public void loadPackageConfig(java.lang.String p0, AsyncCallback<org.drools.guvnor.client.rpc.PackageConfigData> cb);
    public void validatePackageConfiguration(org.drools.guvnor.client.rpc.PackageConfigData p0, AsyncCallback<org.drools.guvnor.client.rpc.ValidatedResponse> cb);
    public void savePackage(org.drools.guvnor.client.rpc.PackageConfigData p0, AsyncCallback cb);
    public void createPackageSnapshot(java.lang.String p0, java.lang.String p1, boolean p2, java.lang.String p3, AsyncCallback cb);
    public void copyOrRemoveSnapshot(java.lang.String p0, java.lang.String p1, boolean p2, java.lang.String p3, AsyncCallback cb);
    public void buildPackage(java.lang.String p0, boolean p1, java.lang.String p2, java.lang.String p3, java.lang.String p4, boolean p5, java.lang.String p6, java.lang.String p7, boolean p8, java.lang.String p9, AsyncCallback<org.drools.guvnor.client.rpc.BuilderResult> cb);
    public void buildPackageSource(java.lang.String p0, AsyncCallback<java.lang.String> cb);
    public void copyPackage(java.lang.String p0, java.lang.String p1, AsyncCallback<java.lang.String> cb);
    public void removePackage(java.lang.String p0, AsyncCallback cb);
    public void renamePackage(java.lang.String p0, java.lang.String p1, AsyncCallback<java.lang.String> cb);
    public void rebuildSnapshots(AsyncCallback cb);
    public void rebuildPackages(AsyncCallback cb);
    public void listRulesInPackage(java.lang.String p0, AsyncCallback<java.lang.String[]> cb);
    public void listSnapshots(java.lang.String p0, AsyncCallback<org.drools.guvnor.client.rpc.SnapshotInfo[]> cb);
    public void listTypesInPackage(java.lang.String p0, AsyncCallback<java.lang.String[]> cb);
    public void installSampleRepository(AsyncCallback cb);
    public void compareSnapshots(java.lang.String p0, java.lang.String p1, java.lang.String p2, AsyncCallback<org.drools.guvnor.client.rpc.SnapshotDiffs> cb);
    public void compareSnapshots(org.drools.guvnor.client.rpc.SnapshotComparisonPageRequest p0, AsyncCallback<org.drools.guvnor.client.rpc.SnapshotComparisonPageResponse> cb);
    public void runScenario(java.lang.String p0, org.drools.ide.common.client.modeldriven.testing.Scenario p1, AsyncCallback<org.drools.guvnor.client.rpc.SingleScenarioResult> cb);
    public void runScenariosInPackage(java.lang.String p0, AsyncCallback<org.drools.guvnor.client.rpc.BulkTestRunResult> cb);
    public void updateDependency(String uuid, String dependencyPath, AsyncCallback cb);
    public void getDependencies(String uuid, AsyncCallback<java.lang.String[]> cb);
 
}
