org.gcube.portlets.user.userprofileeditingportlet.client
Interface UserProfileEditingServiceAsync


public interface UserProfileEditingServiceAsync

An asynchronous interface for the UserProfileEditing service following GWT RPC design

Author:
Panagiota Koltsida, NKUA

Method Summary
 void createUserProfile(com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
           
 void getAvailableCollections(com.google.gwt.user.client.rpc.AsyncCallback<HashMap<CollectionInfoBean,ArrayList<CollectionInfoBean>>> callback)
           
 void getAvailablePresentableFieldsPerCollection(com.google.gwt.user.client.rpc.AsyncCallback<HashMap<String,ArrayList<PresentableFieldInfoBean>>> callback)
           
 void getAvailableXSLTsFromIS(String xsltType, com.google.gwt.user.client.rpc.AsyncCallback<HashMap<String,Vector<String[]>>> callback)
           
 void getPersonalInformation(com.google.gwt.user.client.rpc.AsyncCallback<UserPersonalInformation> callback)
           
 void getPresentableFieldsFromProfile(com.google.gwt.user.client.rpc.AsyncCallback<HashMap<String,ArrayList<String>>> callback)
           
 void getProfileMetadataXSLTs(com.google.gwt.user.client.rpc.AsyncCallback<String[][]> callback)
           
 void getSearchPreferences(com.google.gwt.user.client.rpc.AsyncCallback<SearchPreferencesInformation> callback)
           
 void getUsersFavoriteCollections(com.google.gwt.user.client.rpc.AsyncCallback<String[]> callback)
           
 void setEmailToSession(String email, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
           
 void setFullnameToSession(String fullname, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
           
 void setLanguageToSession(String newLanguage, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
           
 void setPersistenceToSession(String persistence, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
           
 void setSearchEngineToSession(String newEngine, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
           
 void setToleranceToSession(String tolerance, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
           
 void updateUserProfile(HashMap<String,ArrayList<PresentableFieldInfoBean>> selectedFieldsPerCollection, com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)
           
 void updateXSLT(String xsltType, String schemaName, String schemaValue, String schemaID, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
           
 

Method Detail

createUserProfile

void createUserProfile(com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)

getPersonalInformation

void getPersonalInformation(com.google.gwt.user.client.rpc.AsyncCallback<UserPersonalInformation> callback)

getSearchPreferences

void getSearchPreferences(com.google.gwt.user.client.rpc.AsyncCallback<SearchPreferencesInformation> callback)

getAvailableXSLTsFromIS

void getAvailableXSLTsFromIS(String xsltType,
                             com.google.gwt.user.client.rpc.AsyncCallback<HashMap<String,Vector<String[]>>> callback)

getProfileMetadataXSLTs

void getProfileMetadataXSLTs(com.google.gwt.user.client.rpc.AsyncCallback<String[][]> callback)

updateXSLT

void updateXSLT(String xsltType,
                String schemaName,
                String schemaValue,
                String schemaID,
                com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)

updateUserProfile

void updateUserProfile(HashMap<String,ArrayList<PresentableFieldInfoBean>> selectedFieldsPerCollection,
                       com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)

setLanguageToSession

void setLanguageToSession(String newLanguage,
                          com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)

setSearchEngineToSession

void setSearchEngineToSession(String newEngine,
                              com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)

setToleranceToSession

void setToleranceToSession(String tolerance,
                           com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)

setPersistenceToSession

void setPersistenceToSession(String persistence,
                             com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)

setEmailToSession

void setEmailToSession(String email,
                       com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)

setFullnameToSession

void setFullnameToSession(String fullname,
                          com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)

getAvailableCollections

void getAvailableCollections(com.google.gwt.user.client.rpc.AsyncCallback<HashMap<CollectionInfoBean,ArrayList<CollectionInfoBean>>> callback)

getUsersFavoriteCollections

void getUsersFavoriteCollections(com.google.gwt.user.client.rpc.AsyncCallback<String[]> callback)

getPresentableFieldsFromProfile

void getPresentableFieldsFromProfile(com.google.gwt.user.client.rpc.AsyncCallback<HashMap<String,ArrayList<String>>> callback)

getAvailablePresentableFieldsPerCollection

void getAvailablePresentableFieldsPerCollection(com.google.gwt.user.client.rpc.AsyncCallback<HashMap<String,ArrayList<PresentableFieldInfoBean>>> callback)


Copyright © 2014. All Rights Reserved.