org.wso2.carbon.appfactory.application.mgt.service
Class ApplicationManagementServiceCallbackHandler

java.lang.Object
  extended by org.wso2.carbon.appfactory.application.mgt.service.ApplicationManagementServiceCallbackHandler

public abstract class ApplicationManagementServiceCallbackHandler
extends Object

ApplicationManagementServiceCallbackHandler Callback class, Users can extend this class and implement their own receiveResult and receiveError methods.


Field Summary
protected  Object clientData
           
 
Constructor Summary
ApplicationManagementServiceCallbackHandler()
          Please use this constructor if you don't want to set any clientData
ApplicationManagementServiceCallbackHandler(Object clientData)
          User can pass in any object that needs to be accessed once the NonBlocking Web service call is finished and appropriate method of this CallBack is called.
 
Method Summary
 Object getClientData()
          Get the client data
 void receiveErroraddUserToApplication(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from addUserToApplication operation
 void receiveErrorcheckSystemStatus(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from checkSystemStatus operation
 void receiveErrorcreateApplication(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from createApplication operation
 void receiveErrorcreateDefaultRoles(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from createDefaultRoles operation
 void receiveErrorgetAllApplications(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getAllApplications operation
 void receiveErrorgetAllCreatedApplications(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getAllCreatedApplications operation
 void receiveErrorgetAllVersionsOfApplication(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getAllVersionsOfApplication operation
 void receiveErrorgetApplicationsOfUser(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getApplicationsOfUser operation
 void receiveErrorgetBasicApplicationInfo(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getBasicApplicationInfo operation
 void receiveErrorgetFullyQualifiedDbUsername(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getFullyQualifiedDbUsername operation
 void receiveErrorgetRolesOfUserPerApplication(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getRolesOfUserPerApplication operation
 void receiveErrorgetStage(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getStage operation
 void receiveErrorgetUserInfo(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getUserInfo operation
 void receiveErrorgetUserInfoBean(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getUserInfoBean operation
 void receiveErrorgetUserListOfRole(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getUserListOfRole operation
 void receiveErrorgetUsersOfApplication(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getUsersOfApplication operation
 void receiveErrorisApplicationIdAvailable(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from isApplicationIdAvailable operation
 void receiveErrorremoveUserFromApplication(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from removeUserFromApplication operation
 void receiveErrorrevokeApplication(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from revokeApplication operation
 void receiveErrorsendMail(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from sendMail operation
 void receiveErrorupdateRolesOfUserForApplication(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from updateRolesOfUserForApplication operation
 void receiveErrorupdateUserOfApplication(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from updateUserOfApplication operation
 void receiveResultaddUserToApplication(boolean result)
          auto generated Axis2 call back method for addUserToApplication method override this method for handling normal response from addUserToApplication operation
 void receiveResultcheckSystemStatus(boolean result)
          auto generated Axis2 call back method for checkSystemStatus method override this method for handling normal response from checkSystemStatus operation
 void receiveResultcreateApplication()
          auto generated Axis2 call back method for createApplication method override this method for handling normal response from createApplication operation
 void receiveResultcreateDefaultRoles(boolean result)
          auto generated Axis2 call back method for createDefaultRoles method override this method for handling normal response from createDefaultRoles operation
 void receiveResultgetAllApplications(String[] result)
          auto generated Axis2 call back method for getAllApplications method override this method for handling normal response from getAllApplications operation
 void receiveResultgetAllCreatedApplications(String[] result)
          auto generated Axis2 call back method for getAllCreatedApplications method override this method for handling normal response from getAllCreatedApplications operation
 void receiveResultgetAllVersionsOfApplication(Artifact[] result)
          auto generated Axis2 call back method for getAllVersionsOfApplication method override this method for handling normal response from getAllVersionsOfApplication operation
 void receiveResultgetApplicationsOfUser(UserApplications[] result)
          auto generated Axis2 call back method for getApplicationsOfUser method override this method for handling normal response from getApplicationsOfUser operation
 void receiveResultgetBasicApplicationInfo(ApplicationInfoBean result)
          auto generated Axis2 call back method for getBasicApplicationInfo method override this method for handling normal response from getBasicApplicationInfo operation
 void receiveResultgetFullyQualifiedDbUsername(String result)
          auto generated Axis2 call back method for getFullyQualifiedDbUsername method override this method for handling normal response from getFullyQualifiedDbUsername operation
 void receiveResultgetRolesOfUserPerApplication(String[] result)
          auto generated Axis2 call back method for getRolesOfUserPerApplication method override this method for handling normal response from getRolesOfUserPerApplication operation
 void receiveResultgetStage(String result)
          auto generated Axis2 call back method for getStage method override this method for handling normal response from getStage operation
 void receiveResultgetUserInfo(UserInfoBean[] result)
          auto generated Axis2 call back method for getUserInfo method override this method for handling normal response from getUserInfo operation
 void receiveResultgetUserInfoBean(UserInfoBean result)
          auto generated Axis2 call back method for getUserInfoBean method override this method for handling normal response from getUserInfoBean operation
 void receiveResultgetUserListOfRole(UserRoleCount[] result)
          auto generated Axis2 call back method for getUserListOfRole method override this method for handling normal response from getUserListOfRole operation
 void receiveResultgetUsersOfApplication(String[] result)
          auto generated Axis2 call back method for getUsersOfApplication method override this method for handling normal response from getUsersOfApplication operation
 void receiveResultisApplicationIdAvailable(boolean result)
          auto generated Axis2 call back method for isApplicationIdAvailable method override this method for handling normal response from isApplicationIdAvailable operation
 void receiveResultremoveUserFromApplication(boolean result)
          auto generated Axis2 call back method for removeUserFromApplication method override this method for handling normal response from removeUserFromApplication operation
 void receiveResultrevokeApplication(boolean result)
          auto generated Axis2 call back method for revokeApplication method override this method for handling normal response from revokeApplication operation
 void receiveResultsendMail(boolean result)
          auto generated Axis2 call back method for sendMail method override this method for handling normal response from sendMail operation
 void receiveResultupdateRolesOfUserForApplication(boolean result)
          auto generated Axis2 call back method for updateRolesOfUserForApplication method override this method for handling normal response from updateRolesOfUserForApplication operation
 void receiveResultupdateUserOfApplication(boolean result)
          auto generated Axis2 call back method for updateUserOfApplication method override this method for handling normal response from updateUserOfApplication operation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clientData

protected Object clientData
Constructor Detail

ApplicationManagementServiceCallbackHandler

public ApplicationManagementServiceCallbackHandler(Object clientData)
User can pass in any object that needs to be accessed once the NonBlocking Web service call is finished and appropriate method of this CallBack is called.

Parameters:
clientData - Object mechanism by which the user can pass in user data that will be avilable at the time this callback is called.

ApplicationManagementServiceCallbackHandler

public ApplicationManagementServiceCallbackHandler()
Please use this constructor if you don't want to set any clientData

Method Detail

getClientData

public Object getClientData()
Get the client data


receiveResultgetUserListOfRole

public void receiveResultgetUserListOfRole(UserRoleCount[] result)
auto generated Axis2 call back method for getUserListOfRole method override this method for handling normal response from getUserListOfRole operation


receiveErrorgetUserListOfRole

public void receiveErrorgetUserListOfRole(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getUserListOfRole operation


receiveResultgetAllCreatedApplications

public void receiveResultgetAllCreatedApplications(String[] result)
auto generated Axis2 call back method for getAllCreatedApplications method override this method for handling normal response from getAllCreatedApplications operation


receiveErrorgetAllCreatedApplications

public void receiveErrorgetAllCreatedApplications(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getAllCreatedApplications operation


receiveResultsendMail

public void receiveResultsendMail(boolean result)
auto generated Axis2 call back method for sendMail method override this method for handling normal response from sendMail operation


receiveErrorsendMail

public void receiveErrorsendMail(Exception e)
auto generated Axis2 Error handler override this method for handling error response from sendMail operation


receiveResultupdateRolesOfUserForApplication

public void receiveResultupdateRolesOfUserForApplication(boolean result)
auto generated Axis2 call back method for updateRolesOfUserForApplication method override this method for handling normal response from updateRolesOfUserForApplication operation


receiveErrorupdateRolesOfUserForApplication

public void receiveErrorupdateRolesOfUserForApplication(Exception e)
auto generated Axis2 Error handler override this method for handling error response from updateRolesOfUserForApplication operation


receiveResultgetStage

public void receiveResultgetStage(String result)
auto generated Axis2 call back method for getStage method override this method for handling normal response from getStage operation


receiveErrorgetStage

public void receiveErrorgetStage(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getStage operation


receiveResultgetAllVersionsOfApplication

public void receiveResultgetAllVersionsOfApplication(Artifact[] result)
auto generated Axis2 call back method for getAllVersionsOfApplication method override this method for handling normal response from getAllVersionsOfApplication operation


receiveErrorgetAllVersionsOfApplication

public void receiveErrorgetAllVersionsOfApplication(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getAllVersionsOfApplication operation


receiveResultisApplicationIdAvailable

public void receiveResultisApplicationIdAvailable(boolean result)
auto generated Axis2 call back method for isApplicationIdAvailable method override this method for handling normal response from isApplicationIdAvailable operation


receiveErrorisApplicationIdAvailable

public void receiveErrorisApplicationIdAvailable(Exception e)
auto generated Axis2 Error handler override this method for handling error response from isApplicationIdAvailable operation


receiveResultgetUsersOfApplication

public void receiveResultgetUsersOfApplication(String[] result)
auto generated Axis2 call back method for getUsersOfApplication method override this method for handling normal response from getUsersOfApplication operation


receiveErrorgetUsersOfApplication

public void receiveErrorgetUsersOfApplication(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getUsersOfApplication operation


receiveResultremoveUserFromApplication

public void receiveResultremoveUserFromApplication(boolean result)
auto generated Axis2 call back method for removeUserFromApplication method override this method for handling normal response from removeUserFromApplication operation


receiveErrorremoveUserFromApplication

public void receiveErrorremoveUserFromApplication(Exception e)
auto generated Axis2 Error handler override this method for handling error response from removeUserFromApplication operation


receiveResultcheckSystemStatus

public void receiveResultcheckSystemStatus(boolean result)
auto generated Axis2 call back method for checkSystemStatus method override this method for handling normal response from checkSystemStatus operation


receiveErrorcheckSystemStatus

public void receiveErrorcheckSystemStatus(Exception e)
auto generated Axis2 Error handler override this method for handling error response from checkSystemStatus operation


receiveResultcreateDefaultRoles

public void receiveResultcreateDefaultRoles(boolean result)
auto generated Axis2 call back method for createDefaultRoles method override this method for handling normal response from createDefaultRoles operation


receiveErrorcreateDefaultRoles

public void receiveErrorcreateDefaultRoles(Exception e)
auto generated Axis2 Error handler override this method for handling error response from createDefaultRoles operation


receiveResultgetUserInfoBean

public void receiveResultgetUserInfoBean(UserInfoBean result)
auto generated Axis2 call back method for getUserInfoBean method override this method for handling normal response from getUserInfoBean operation


receiveErrorgetUserInfoBean

public void receiveErrorgetUserInfoBean(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getUserInfoBean operation


receiveResultgetBasicApplicationInfo

public void receiveResultgetBasicApplicationInfo(ApplicationInfoBean result)
auto generated Axis2 call back method for getBasicApplicationInfo method override this method for handling normal response from getBasicApplicationInfo operation


receiveErrorgetBasicApplicationInfo

public void receiveErrorgetBasicApplicationInfo(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getBasicApplicationInfo operation


receiveResultaddUserToApplication

public void receiveResultaddUserToApplication(boolean result)
auto generated Axis2 call back method for addUserToApplication method override this method for handling normal response from addUserToApplication operation


receiveErroraddUserToApplication

public void receiveErroraddUserToApplication(Exception e)
auto generated Axis2 Error handler override this method for handling error response from addUserToApplication operation


receiveResultrevokeApplication

public void receiveResultrevokeApplication(boolean result)
auto generated Axis2 call back method for revokeApplication method override this method for handling normal response from revokeApplication operation


receiveErrorrevokeApplication

public void receiveErrorrevokeApplication(Exception e)
auto generated Axis2 Error handler override this method for handling error response from revokeApplication operation


receiveResultupdateUserOfApplication

public void receiveResultupdateUserOfApplication(boolean result)
auto generated Axis2 call back method for updateUserOfApplication method override this method for handling normal response from updateUserOfApplication operation


receiveErrorupdateUserOfApplication

public void receiveErrorupdateUserOfApplication(Exception e)
auto generated Axis2 Error handler override this method for handling error response from updateUserOfApplication operation


receiveResultgetApplicationsOfUser

public void receiveResultgetApplicationsOfUser(UserApplications[] result)
auto generated Axis2 call back method for getApplicationsOfUser method override this method for handling normal response from getApplicationsOfUser operation


receiveErrorgetApplicationsOfUser

public void receiveErrorgetApplicationsOfUser(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getApplicationsOfUser operation


receiveResultgetFullyQualifiedDbUsername

public void receiveResultgetFullyQualifiedDbUsername(String result)
auto generated Axis2 call back method for getFullyQualifiedDbUsername method override this method for handling normal response from getFullyQualifiedDbUsername operation


receiveErrorgetFullyQualifiedDbUsername

public void receiveErrorgetFullyQualifiedDbUsername(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getFullyQualifiedDbUsername operation


receiveResultcreateApplication

public void receiveResultcreateApplication()
auto generated Axis2 call back method for createApplication method override this method for handling normal response from createApplication operation


receiveErrorcreateApplication

public void receiveErrorcreateApplication(Exception e)
auto generated Axis2 Error handler override this method for handling error response from createApplication operation


receiveResultgetUserInfo

public void receiveResultgetUserInfo(UserInfoBean[] result)
auto generated Axis2 call back method for getUserInfo method override this method for handling normal response from getUserInfo operation


receiveErrorgetUserInfo

public void receiveErrorgetUserInfo(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getUserInfo operation


receiveResultgetAllApplications

public void receiveResultgetAllApplications(String[] result)
auto generated Axis2 call back method for getAllApplications method override this method for handling normal response from getAllApplications operation


receiveErrorgetAllApplications

public void receiveErrorgetAllApplications(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getAllApplications operation


receiveResultgetRolesOfUserPerApplication

public void receiveResultgetRolesOfUserPerApplication(String[] result)
auto generated Axis2 call back method for getRolesOfUserPerApplication method override this method for handling normal response from getRolesOfUserPerApplication operation


receiveErrorgetRolesOfUserPerApplication

public void receiveErrorgetRolesOfUserPerApplication(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getRolesOfUserPerApplication operation



Copyright © 2015 WSO2 Inc. All rights reserved.