コード例 #1
0
 public void envioPassworUsuario(
     java.lang.String userName,
     java.lang.String correoOrigen,
     java.lang.String servidorSMTP,
     java.lang.String puerto,
     java.lang.String authMode,
     java.lang.String password,
     java.lang.String asunto,
     com.google.gwt.user.client.rpc.AsyncCallback callback) {
   com.google.gwt.user.client.rpc.impl.RemoteServiceProxy.ServiceHelper helper =
       new com.google.gwt.user.client.rpc.impl.RemoteServiceProxy.ServiceHelper(
           "ISeguridadServicio_Proxy", "envioPassworUsuario");
   try {
     SerializationStreamWriter streamWriter = helper.start(REMOTE_SERVICE_INTERFACE_NAME, 7);
     streamWriter.writeString("java.lang.String/2004016611");
     streamWriter.writeString("java.lang.String/2004016611");
     streamWriter.writeString("java.lang.String/2004016611");
     streamWriter.writeString("java.lang.String/2004016611");
     streamWriter.writeString("java.lang.String/2004016611");
     streamWriter.writeString("java.lang.String/2004016611");
     streamWriter.writeString("java.lang.String/2004016611");
     streamWriter.writeString(userName);
     streamWriter.writeString(correoOrigen);
     streamWriter.writeString(servidorSMTP);
     streamWriter.writeString(puerto);
     streamWriter.writeString(authMode);
     streamWriter.writeString(password);
     streamWriter.writeString(asunto);
     helper.finish(callback, ResponseReader.STRING);
   } catch (SerializationException ex) {
     callback.onFailure(ex);
   }
 }
コード例 #2
0
 public void destroySession(com.google.gwt.user.client.rpc.AsyncCallback callback) {
   com.google.gwt.user.client.rpc.impl.RemoteServiceProxy.ServiceHelper helper =
       new com.google.gwt.user.client.rpc.impl.RemoteServiceProxy.ServiceHelper(
           "ISeguridadServicio_Proxy", "destroySession");
   try {
     SerializationStreamWriter streamWriter = helper.start(REMOTE_SERVICE_INTERFACE_NAME, 0);
     helper.finish(callback, ResponseReader.VOID);
   } catch (SerializationException ex) {
     callback.onFailure(ex);
   }
 }
コード例 #3
0
 public void setUserName(
     java.lang.String userName, com.google.gwt.user.client.rpc.AsyncCallback callback) {
   com.google.gwt.user.client.rpc.impl.RemoteServiceProxy.ServiceHelper helper =
       new com.google.gwt.user.client.rpc.impl.RemoteServiceProxy.ServiceHelper(
           "ISeguridadServicio_Proxy", "setUserName");
   try {
     SerializationStreamWriter streamWriter = helper.start(REMOTE_SERVICE_INTERFACE_NAME, 1);
     streamWriter.writeString("java.lang.String/2004016611");
     streamWriter.writeString(userName);
     helper.finish(callback, ResponseReader.VOID);
   } catch (SerializationException ex) {
     callback.onFailure(ex);
   }
 }
コード例 #4
0
 public void logOnServer(
     java.util.logging.LogRecord record, com.google.gwt.user.client.rpc.AsyncCallback callback) {
   com.google.gwt.user.client.rpc.impl.RemoteServiceProxy.ServiceHelper helper =
       new com.google.gwt.user.client.rpc.impl.RemoteServiceProxy.ServiceHelper(
           "RemoteLoggingService_Proxy", "logOnServer");
   try {
     SerializationStreamWriter streamWriter = helper.start(REMOTE_SERVICE_INTERFACE_NAME, 1);
     streamWriter.writeString("java.util.logging.LogRecord/2492345967");
     streamWriter.writeObject(record);
     helper.finish(callback, ResponseReader.STRING);
   } catch (SerializationException ex) {
     callback.onFailure(ex);
   }
 }
コード例 #5
0
 public void getPdfReport(
     java.lang.String fileName,
     java.util.Map param,
     com.google.gwt.user.client.rpc.AsyncCallback callback) {
   com.google.gwt.user.client.rpc.impl.RemoteServiceProxy.ServiceHelper helper =
       new com.google.gwt.user.client.rpc.impl.RemoteServiceProxy.ServiceHelper(
           "ISeguridadServicio_Proxy", "getPdfReport");
   try {
     SerializationStreamWriter streamWriter = helper.start(REMOTE_SERVICE_INTERFACE_NAME, 2);
     streamWriter.writeString("java.lang.String/2004016611");
     streamWriter.writeString("java.util.Map");
     streamWriter.writeString(fileName);
     streamWriter.writeObject(param);
     helper.finish(callback, ResponseReader.STRING);
   } catch (SerializationException ex) {
     callback.onFailure(ex);
   }
 }
コード例 #6
0
 public void validarPermisoUsuario(
     java.lang.String userName,
     java.lang.String pagina,
     java.lang.String accion,
     java.util.Date fechaRegistro,
     com.google.gwt.user.client.rpc.AsyncCallback callback) {
   com.google.gwt.user.client.rpc.impl.RemoteServiceProxy.ServiceHelper helper =
       new com.google.gwt.user.client.rpc.impl.RemoteServiceProxy.ServiceHelper(
           "ISeguridadServicio_Proxy", "validarPermisoUsuario");
   try {
     SerializationStreamWriter streamWriter = helper.start(REMOTE_SERVICE_INTERFACE_NAME, 4);
     streamWriter.writeString("java.lang.String/2004016611");
     streamWriter.writeString("java.lang.String/2004016611");
     streamWriter.writeString("java.lang.String/2004016611");
     streamWriter.writeString("java.util.Date/3385151746");
     streamWriter.writeString(userName);
     streamWriter.writeString(pagina);
     streamWriter.writeString(accion);
     streamWriter.writeObject(fechaRegistro);
     helper.finish(callback, ResponseReader.BOOLEAN);
   } catch (SerializationException ex) {
     callback.onFailure(ex);
   }
 }