// Path: src/main/java/org/aksw/TripleCheckMate/shared/evaluate/UserRecord.java
// public class UserRecord implements Comparable<UserRecord>, Serializable {
//     /**
//      * Auto-generated for serialization
//      */
//     private static final long serialVersionUID = 8871828625070002603L;
// 
//     public long userID = -1;
//     public String googleID = "";
//     public String name = "";
//     public String picture = "";
//     public String profile = "";
// 
//     public int recordCount = 0;
//     public int errorCount = 0;
//     public int distinctErrorCount = 0;
// 
// 
//     public UserRecord() {
//     }
// 
//     public UserRecord(long userID, String googleID, String name, String picture, String profile) {
//         this.userID = userID;
//         this.googleID = googleID;
//         this.name = name;
//         this.picture = picture;
//         this.profile = profile;
//     }
// 
//     public UserRecord(UserRecord u) {
//         update(u);
//     }
// 
//     public void update(UserRecord u) {
//         this.userID = u.userID;
//         this.googleID = u.googleID;
//         this.name = u.name;
//         this.picture = u.picture;
//         this.profile = u.profile;
//         this.recordCount = u.recordCount;
//         this.errorCount = u.errorCount;
//         this.distinctErrorCount = u.distinctErrorCount;
//     }
// 
//     public void updateStatistics(int rc, int ec, int dc) {
//         this.recordCount = rc;
//         this.errorCount = ec;
//         this.distinctErrorCount = dc;
//     }
// 
//     public static final ProvidesKey<UserRecord> KEY_PROVIDER = new ProvidesKey<UserRecord>() {
//         public Object getKey(UserRecord item) {
//             return item == null ? null : item.userID;
//         }
//     };
// 
//     public String toHTMLString() {
//         String img = (picture.equals("")) ? "" : "<img width=\"20\" height=\"20\" src=\"" + picture + "\" class =\"user-display-picture\"/>";
//         return "<div class=\"user-display\">" + img + name + "</div>";
//     }
// 
//     public int compareTo(UserRecord arg0) {
//         // TODO Auto-generated method stub
//         return name.compareTo(arg0.name);
//     }
// 
// }
// 
// Path: src/main/java/org/aksw/TripleCheckMate/shared/exceptions/StorageServiceException.java
// public class StorageServiceException extends Exception implements
//         Serializable {
// 
//     /**
//      * Autogenerated for serialization
//      */
//     private static final long serialVersionUID = -1709522630145405589L;
// 
//     private String errorMessage;
// 
//     public StorageServiceException() {
//     }
// 
//     public StorageServiceException(String message) {
//         this.errorMessage = message;
//     }
// 
//     public String getErrorMessage() {
//         return this.errorMessage;
//     }
// 
// }


import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import org.aksw.TripleCheckMate.shared.evaluate.UserRecord;
import org.aksw.TripleCheckMate.shared.exceptions.StorageServiceException;
import java.util.List;
/*******************************************************************************
 * Copyright 2013 Agile Knowledge Engineering and Semantic Web (AKSW) Group
 *
 * 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.aksw.TripleCheckMate.client.requests;



@RemoteServiceRelativePath("UserRequest")
public interface UserRequest extends RemoteService {
// Path: src/main/java/org/aksw/TripleCheckMate/shared/evaluate/UserRecord.java
// public class UserRecord implements Comparable<UserRecord>, Serializable {
//     /**
//      * Auto-generated for serialization
//      */
//     private static final long serialVersionUID = 8871828625070002603L;
// 
//     public long userID = -1;
//     public String googleID = "";
//     public String name = "";
//     public String picture = "";
//     public String profile = "";
// 
//     public int recordCount = 0;
//     public int errorCount = 0;
//     public int distinctErrorCount = 0;
// 
// 
//     public UserRecord() {
//     }
// 
//     public UserRecord(long userID, String googleID, String name, String picture, String profile) {
//         this.userID = userID;
//         this.googleID = googleID;
//         this.name = name;
//         this.picture = picture;
//         this.profile = profile;
//     }
// 
//     public UserRecord(UserRecord u) {
//         update(u);
//     }
// 
//     public void update(UserRecord u) {
//         this.userID = u.userID;
//         this.googleID = u.googleID;
//         this.name = u.name;
//         this.picture = u.picture;
//         this.profile = u.profile;
//         this.recordCount = u.recordCount;
//         this.errorCount = u.errorCount;
//         this.distinctErrorCount = u.distinctErrorCount;
//     }
// 
//     public void updateStatistics(int rc, int ec, int dc) {
//         this.recordCount = rc;
//         this.errorCount = ec;
//         this.distinctErrorCount = dc;
//     }
// 
//     public static final ProvidesKey<UserRecord> KEY_PROVIDER = new ProvidesKey<UserRecord>() {
//         public Object getKey(UserRecord item) {
//             return item == null ? null : item.userID;
//         }
//     };
// 
//     public String toHTMLString() {
//         String img = (picture.equals("")) ? "" : "<img width=\"20\" height=\"20\" src=\"" + picture + "\" class =\"user-display-picture\"/>";
//         return "<div class=\"user-display\">" + img + name + "</div>";
//     }
// 
//     public int compareTo(UserRecord arg0) {
//         // TODO Auto-generated method stub
//         return name.compareTo(arg0.name);
//     }
// 
// }
// 
// Path: src/main/java/org/aksw/TripleCheckMate/shared/exceptions/StorageServiceException.java
// public class StorageServiceException extends Exception implements
//         Serializable {
// 
//     /**
//      * Autogenerated for serialization
//      */
//     private static final long serialVersionUID = -1709522630145405589L;
// 
//     private String errorMessage;
// 
//     public StorageServiceException() {
//     }
// 
//     public StorageServiceException(String message) {
//         this.errorMessage = message;
//     }
// 
//     public String getErrorMessage() {
//         return this.errorMessage;
//     }
// 
// }


// Path: src/main/java/org/aksw/TripleCheckMate/client/requests/UserRequest.java
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import org.aksw.TripleCheckMate.shared.evaluate.UserRecord;
import org.aksw.TripleCheckMate.shared.exceptions.StorageServiceException;
import java.util.List;

/*******************************************************************************
 * Copyright 2013 Agile Knowledge Engineering and Semantic Web (AKSW) Group
 *
 * 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.aksw.TripleCheckMate.client.requests;



@RemoteServiceRelativePath("UserRequest")
public interface UserRequest extends RemoteService {
    public UserRecord getUserInfo(String userGoogleID) throws StorageServiceException;