fr.inra.refcomp.client.services
Interface StorageServiceAsync


public interface StorageServiceAsync

User: couteau Date: 30 nov. 2010


Method Summary
 void addSkill(com.google.gwt.user.client.rpc.AsyncCallback<AgentSkill> callback)
           
 void addSkill(Skill skill, String frequencyId, com.google.gwt.user.client.rpc.AsyncCallback<EntitiesList> callback)
           
 void adminCreationIfDoNotExist(com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
           
 void createCati(com.google.gwt.user.client.rpc.AsyncCallback<Cati> callback)
           
 void createDepartment(com.google.gwt.user.client.rpc.AsyncCallback<Department> callback)
           
 void createFrequency(com.google.gwt.user.client.rpc.AsyncCallback<Frequency> callback)
           
 void createSkill(String parentId, com.google.gwt.user.client.rpc.AsyncCallback<Skill> callback)
           
 void createUnit(com.google.gwt.user.client.rpc.AsyncCallback<Unit> callback)
           
 void createUser(com.google.gwt.user.client.rpc.AsyncCallback<User> callback)
           
 void deleteCati(Cati cati, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
           
 void deleteDepartment(Department department, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
           
 void deleteFrequency(Frequency frequency, boolean force, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
           
 void deleteSkill(Skill skill, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
           
 void deleteUnit(Unit unit, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
           
 void deleteUser(User user, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
           
 void getAdminEmail(com.google.gwt.user.client.rpc.AsyncCallback<String> callback)
           
 void getAgent(String id, com.google.gwt.user.client.rpc.AsyncCallback<Agent> callback)
           
 void getAgentAndDependencies(String id, com.google.gwt.user.client.rpc.AsyncCallback<EntitiesList> callback)
           
 void getAgentSkill(String skillId, com.google.gwt.user.client.rpc.AsyncCallback<AgentSkill> callback)
           
 void getAllSkills(com.google.gwt.user.client.rpc.AsyncCallback<List<Skill>> callback)
           
 void getCati(String id, com.google.gwt.user.client.rpc.AsyncCallback<Cati> callback)
           
 void getCatis(com.google.gwt.user.client.rpc.AsyncCallback<List<Cati>> callback)
           
 void getChildrenSkill(String id, com.google.gwt.user.client.rpc.AsyncCallback<List<Skill>> callback)
           
 void getDepartment(String id, com.google.gwt.user.client.rpc.AsyncCallback<Department> callback)
           
 void getDepartments(com.google.gwt.user.client.rpc.AsyncCallback<List<Department>> callback)
           
 void getDepartments(String id, com.google.gwt.user.client.rpc.AsyncCallback<List<Department>> callback)
           
 void getFrequencies(com.google.gwt.user.client.rpc.AsyncCallback<List<Frequency>> callback)
           
 void getFrequency(String id, com.google.gwt.user.client.rpc.AsyncCallback<Frequency> callback)
           
 void getLoggedInAgent(com.google.gwt.user.client.rpc.AsyncCallback<Agent> callback)
           
 void getLoggedInUser(com.google.gwt.user.client.rpc.AsyncCallback<User> callback)
           
 void getPath(String id, com.google.gwt.user.client.rpc.AsyncCallback<String> callback)
           
 void getRootSkill(List<String> skills, com.google.gwt.user.client.rpc.AsyncCallback<Map<String,Skill>> callback)
           
 void getSkill(String id, com.google.gwt.user.client.rpc.AsyncCallback<Skill> callback)
           
 void getSkills(com.google.gwt.user.client.rpc.AsyncCallback<EntitiesList> callback)
           
 void getSkills(String agentId, com.google.gwt.user.client.rpc.AsyncCallback<EntitiesList> callback)
           
 void getUnit(String id, com.google.gwt.user.client.rpc.AsyncCallback<Unit> callback)
           
 void getUnits(com.google.gwt.user.client.rpc.AsyncCallback<List<Unit>> callback)
           
 void getUnits(String id, com.google.gwt.user.client.rpc.AsyncCallback<List<Unit>> callback)
           
 void getUser(String id, com.google.gwt.user.client.rpc.AsyncCallback<User> callback)
           
 void getUsers(com.google.gwt.user.client.rpc.AsyncCallback<List<User>> callback)
           
 void isAdmin(com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)
           
 void isAdmin(String id, com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)
           
 void isAgent(com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)
           
 void isLoggedIn(com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)
           
 void login(String login, String password, com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)
           
 void logout(com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
           
 void moveSkill(String destination, String node, com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)
           
 void removeSkill(String skillId, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
           
 void saveAgent(Agent agent, String context, com.google.gwt.user.client.rpc.AsyncCallback<Agent> callback)
           
 void saveCati(Cati cati, com.google.gwt.user.client.rpc.AsyncCallback<Cati> callback)
           
 void saveDepartment(Department department, com.google.gwt.user.client.rpc.AsyncCallback<Department> callback)
           
 void saveDepartment(Department department, List<String> units, com.google.gwt.user.client.rpc.AsyncCallback<Department> callback)
           
 void saveFrequency(Frequency frequency, com.google.gwt.user.client.rpc.AsyncCallback<Frequency> callback)
           
 void saveMySkills(List<AgentSkill> skills, com.google.gwt.user.client.rpc.AsyncCallback<EntitiesList> callback)
           
 void saveSkill(Skill skill, com.google.gwt.user.client.rpc.AsyncCallback<Skill> callback)
           
 void saveUnit(Unit unit, com.google.gwt.user.client.rpc.AsyncCallback<Unit> callback)
           
 void saveUnit(Unit unit, List<String> departments, com.google.gwt.user.client.rpc.AsyncCallback<Unit> callback)
           
 void saveUser(User user, String context, com.google.gwt.user.client.rpc.AsyncCallback<User> callback)
           
 void searchSkill(String search, String cati, String department, String unit, String frequency, com.google.gwt.user.client.rpc.AsyncCallback<EntitiesList> callback)
           
 void searchUser(String search, String cati, String department, String unit, String frequency, com.google.gwt.user.client.rpc.AsyncCallback<EntitiesList> callback)
           
 void sendPassword(String userId, com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)
           
 void setAdmin(String agentId, boolean admin, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
           
 void setAgent(User user, com.google.gwt.user.client.rpc.AsyncCallback<Agent> callback)
           
 void setPrivateSkills(List<String> ids, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
           
 void setPublicSkills(List<String> ids, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
           
 void unsetAgent(String id, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
           
 

Method Detail

login

void login(String login,
           String password,
           com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)

logout

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

getUsers

void getUsers(com.google.gwt.user.client.rpc.AsyncCallback<List<User>> callback)

saveUser

void saveUser(User user,
              String context,
              com.google.gwt.user.client.rpc.AsyncCallback<User> callback)

createUser

void createUser(com.google.gwt.user.client.rpc.AsyncCallback<User> callback)

getUser

void getUser(String id,
             com.google.gwt.user.client.rpc.AsyncCallback<User> callback)

getAgent

void getAgent(String id,
              com.google.gwt.user.client.rpc.AsyncCallback<Agent> callback)

getAgentAndDependencies

void getAgentAndDependencies(String id,
                             com.google.gwt.user.client.rpc.AsyncCallback<EntitiesList> callback)

setAgent

void setAgent(User user,
              com.google.gwt.user.client.rpc.AsyncCallback<Agent> callback)

unsetAgent

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

saveAgent

void saveAgent(Agent agent,
               String context,
               com.google.gwt.user.client.rpc.AsyncCallback<Agent> callback)

deleteUser

void deleteUser(User user,
                com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)

getFrequencies

void getFrequencies(com.google.gwt.user.client.rpc.AsyncCallback<List<Frequency>> callback)

saveFrequency

void saveFrequency(Frequency frequency,
                   com.google.gwt.user.client.rpc.AsyncCallback<Frequency> callback)

createFrequency

void createFrequency(com.google.gwt.user.client.rpc.AsyncCallback<Frequency> callback)

getFrequency

void getFrequency(String id,
                  com.google.gwt.user.client.rpc.AsyncCallback<Frequency> callback)

deleteFrequency

void deleteFrequency(Frequency frequency,
                     boolean force,
                     com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)

getCatis

void getCatis(com.google.gwt.user.client.rpc.AsyncCallback<List<Cati>> callback)

saveCati

void saveCati(Cati cati,
              com.google.gwt.user.client.rpc.AsyncCallback<Cati> callback)

createCati

void createCati(com.google.gwt.user.client.rpc.AsyncCallback<Cati> callback)

getCati

void getCati(String id,
             com.google.gwt.user.client.rpc.AsyncCallback<Cati> callback)

deleteCati

void deleteCati(Cati cati,
                com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)

getChildrenSkill

void getChildrenSkill(String id,
                      com.google.gwt.user.client.rpc.AsyncCallback<List<Skill>> callback)

saveSkill

void saveSkill(Skill skill,
               com.google.gwt.user.client.rpc.AsyncCallback<Skill> callback)

createSkill

void createSkill(String parentId,
                 com.google.gwt.user.client.rpc.AsyncCallback<Skill> callback)

getSkill

void getSkill(String id,
              com.google.gwt.user.client.rpc.AsyncCallback<Skill> callback)

deleteSkill

void deleteSkill(Skill skill,
                 com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)

saveUnit

void saveUnit(Unit unit,
              com.google.gwt.user.client.rpc.AsyncCallback<Unit> callback)
              throws AlreadyExistingException
Throws:
AlreadyExistingException

saveUnit

void saveUnit(Unit unit,
              List<String> departments,
              com.google.gwt.user.client.rpc.AsyncCallback<Unit> callback)

createUnit

void createUnit(com.google.gwt.user.client.rpc.AsyncCallback<Unit> callback)

getUnit

void getUnit(String id,
             com.google.gwt.user.client.rpc.AsyncCallback<Unit> callback)

deleteUnit

void deleteUnit(Unit unit,
                com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)

getUnits

void getUnits(com.google.gwt.user.client.rpc.AsyncCallback<List<Unit>> callback)

getUnits

void getUnits(String id,
              com.google.gwt.user.client.rpc.AsyncCallback<List<Unit>> callback)

saveDepartment

void saveDepartment(Department department,
                    com.google.gwt.user.client.rpc.AsyncCallback<Department> callback)

saveDepartment

void saveDepartment(Department department,
                    List<String> units,
                    com.google.gwt.user.client.rpc.AsyncCallback<Department> callback)

createDepartment

void createDepartment(com.google.gwt.user.client.rpc.AsyncCallback<Department> callback)

getDepartment

void getDepartment(String id,
                   com.google.gwt.user.client.rpc.AsyncCallback<Department> callback)

deleteDepartment

void deleteDepartment(Department department,
                      com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)

getDepartments

void getDepartments(com.google.gwt.user.client.rpc.AsyncCallback<List<Department>> callback)

getDepartments

void getDepartments(String id,
                    com.google.gwt.user.client.rpc.AsyncCallback<List<Department>> callback)

getAdminEmail

void getAdminEmail(com.google.gwt.user.client.rpc.AsyncCallback<String> callback)

isAdmin

void isAdmin(com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)

isAdmin

void isAdmin(String id,
             com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)

isAgent

void isAgent(com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)

isLoggedIn

void isLoggedIn(com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)

adminCreationIfDoNotExist

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

getSkills

void getSkills(com.google.gwt.user.client.rpc.AsyncCallback<EntitiesList> callback)

getSkills

void getSkills(String agentId,
               com.google.gwt.user.client.rpc.AsyncCallback<EntitiesList> callback)

addSkill

void addSkill(com.google.gwt.user.client.rpc.AsyncCallback<AgentSkill> callback)

addSkill

void addSkill(Skill skill,
              String frequencyId,
              com.google.gwt.user.client.rpc.AsyncCallback<EntitiesList> callback)

removeSkill

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

saveMySkills

void saveMySkills(List<AgentSkill> skills,
                  com.google.gwt.user.client.rpc.AsyncCallback<EntitiesList> callback)

getAgentSkill

void getAgentSkill(String skillId,
                   com.google.gwt.user.client.rpc.AsyncCallback<AgentSkill> callback)

getLoggedInUser

void getLoggedInUser(com.google.gwt.user.client.rpc.AsyncCallback<User> callback)

getLoggedInAgent

void getLoggedInAgent(com.google.gwt.user.client.rpc.AsyncCallback<Agent> callback)

setAdmin

void setAdmin(String agentId,
              boolean admin,
              com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)

searchUser

void searchUser(String search,
                String cati,
                String department,
                String unit,
                String frequency,
                com.google.gwt.user.client.rpc.AsyncCallback<EntitiesList> callback)

searchSkill

void searchSkill(String search,
                 String cati,
                 String department,
                 String unit,
                 String frequency,
                 com.google.gwt.user.client.rpc.AsyncCallback<EntitiesList> callback)

getPath

void getPath(String id,
             com.google.gwt.user.client.rpc.AsyncCallback<String> callback)

setPrivateSkills

void setPrivateSkills(List<String> ids,
                      com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)

setPublicSkills

void setPublicSkills(List<String> ids,
                     com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)

moveSkill

void moveSkill(String destination,
               String node,
               com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)

sendPassword

void sendPassword(String userId,
                  com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)

getRootSkill

void getRootSkill(List<String> skills,
                  com.google.gwt.user.client.rpc.AsyncCallback<Map<String,Skill>> callback)

getAllSkills

void getAllSkills(com.google.gwt.user.client.rpc.AsyncCallback<List<Skill>> callback)


Copyright © 2010-2012 Code Lutin. All Rights Reserved.