| 1 | |
package com.buckosoft.PicMan.PicManService; |
| 2 | |
|
| 3 | |
public class PicManServiceProxy implements com.buckosoft.PicMan.PicManService.PicManService_PortType { |
| 4 | 0 | private String _endpoint = null; |
| 5 | 0 | private com.buckosoft.PicMan.PicManService.PicManService_PortType picManService_PortType = null; |
| 6 | |
|
| 7 | 0 | public PicManServiceProxy() { |
| 8 | 0 | _initPicManServiceProxy(); |
| 9 | 0 | } |
| 10 | |
|
| 11 | 0 | public PicManServiceProxy(String endpoint) { |
| 12 | 0 | _endpoint = endpoint; |
| 13 | 0 | _initPicManServiceProxy(); |
| 14 | 0 | } |
| 15 | |
|
| 16 | |
private void _initPicManServiceProxy() { |
| 17 | |
try { |
| 18 | 0 | picManService_PortType = (new com.buckosoft.PicMan.PicManService.PicManService_ServiceLocator()).getPicManServiceSOAP(); |
| 19 | 0 | if (picManService_PortType != null) { |
| 20 | 0 | if (_endpoint != null) |
| 21 | 0 | ((javax.xml.rpc.Stub)picManService_PortType)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint); |
| 22 | |
else |
| 23 | 0 | _endpoint = (String)((javax.xml.rpc.Stub)picManService_PortType)._getProperty("javax.xml.rpc.service.endpoint.address"); |
| 24 | |
} |
| 25 | |
|
| 26 | |
} |
| 27 | 0 | catch (javax.xml.rpc.ServiceException serviceException) {} |
| 28 | 0 | } |
| 29 | |
|
| 30 | |
public String getEndpoint() { |
| 31 | 0 | return _endpoint; |
| 32 | |
} |
| 33 | |
|
| 34 | |
public void setEndpoint(String endpoint) { |
| 35 | 0 | _endpoint = endpoint; |
| 36 | 0 | if (picManService_PortType != null) |
| 37 | 0 | ((javax.xml.rpc.Stub)picManService_PortType)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint); |
| 38 | |
|
| 39 | 0 | } |
| 40 | |
|
| 41 | |
public com.buckosoft.PicMan.PicManService.PicManService_PortType getPicManService_PortType() { |
| 42 | 0 | if (picManService_PortType == null) |
| 43 | 0 | _initPicManServiceProxy(); |
| 44 | 0 | return picManService_PortType; |
| 45 | |
} |
| 46 | |
|
| 47 | |
public int getSetCount(java.lang.String auth) throws java.rmi.RemoteException{ |
| 48 | 0 | if (picManService_PortType == null) |
| 49 | 0 | _initPicManServiceProxy(); |
| 50 | 0 | return picManService_PortType.getSetCount(auth); |
| 51 | |
} |
| 52 | |
|
| 53 | |
public java.lang.String getSetsCRC(java.lang.String auth) throws java.rmi.RemoteException{ |
| 54 | 0 | if (picManService_PortType == null) |
| 55 | 0 | _initPicManServiceProxy(); |
| 56 | 0 | return picManService_PortType.getSetsCRC(auth); |
| 57 | |
} |
| 58 | |
|
| 59 | |
public java.lang.String[] getPicListNewerThan(java.lang.String auth, java.util.Calendar timestamp) throws java.rmi.RemoteException{ |
| 60 | 0 | if (picManService_PortType == null) |
| 61 | 0 | _initPicManServiceProxy(); |
| 62 | 0 | return picManService_PortType.getPicListNewerThan(auth, timestamp); |
| 63 | |
} |
| 64 | |
|
| 65 | |
public java.lang.String[] getFilterListNewerThan(java.lang.String auth, java.util.Calendar timestamp) throws java.rmi.RemoteException{ |
| 66 | 0 | if (picManService_PortType == null) |
| 67 | 0 | _initPicManServiceProxy(); |
| 68 | 0 | return picManService_PortType.getFilterListNewerThan(auth, timestamp); |
| 69 | |
} |
| 70 | |
|
| 71 | |
public com.buckosoft.PicMan.PicManService.PicFilterSOAP[] getFiltersForPic(java.lang.String auth, java.lang.String picName) throws java.rmi.RemoteException{ |
| 72 | 0 | if (picManService_PortType == null) |
| 73 | 0 | _initPicManServiceProxy(); |
| 74 | 0 | return picManService_PortType.getFiltersForPic(auth, picName); |
| 75 | |
} |
| 76 | |
|
| 77 | |
public int addFilter(java.lang.String auth, java.lang.String picName, com.buckosoft.PicMan.PicManService.PicFilterSOAP[] picFilters) throws java.rmi.RemoteException{ |
| 78 | 0 | if (picManService_PortType == null) |
| 79 | 0 | _initPicManServiceProxy(); |
| 80 | 0 | return picManService_PortType.addFilter(auth, picName, picFilters); |
| 81 | |
} |
| 82 | |
|
| 83 | |
public void getPicAttributes(java.lang.String auth, java.lang.String picName, javax.xml.rpc.holders.IntHolder pid, javax.xml.rpc.holders.StringHolder name, javax.xml.rpc.holders.IntHolder rid, javax.xml.rpc.holders.StringHolder location, javax.xml.rpc.holders.CalendarHolder picDate, javax.xml.rpc.holders.CalendarHolder timestamp) throws java.rmi.RemoteException{ |
| 84 | 0 | if (picManService_PortType == null) |
| 85 | 0 | _initPicManServiceProxy(); |
| 86 | 0 | picManService_PortType.getPicAttributes(auth, picName, pid, name, rid, location, picDate, timestamp); |
| 87 | 0 | } |
| 88 | |
|
| 89 | |
public byte[] getPicPic(java.lang.String auth, javax.xml.rpc.holders.StringHolder picName) throws java.rmi.RemoteException{ |
| 90 | 0 | if (picManService_PortType == null) |
| 91 | 0 | _initPicManServiceProxy(); |
| 92 | 0 | return picManService_PortType.getPicPic(auth, picName); |
| 93 | |
} |
| 94 | |
|
| 95 | |
public java.lang.String putPic(java.lang.String auth, java.lang.String name, int rid, java.lang.String location, java.util.Calendar picDate, java.util.Calendar timestamp, byte[] pixelData) throws java.rmi.RemoteException{ |
| 96 | 0 | if (picManService_PortType == null) |
| 97 | 0 | _initPicManServiceProxy(); |
| 98 | 0 | return picManService_PortType.putPic(auth, name, rid, location, picDate, timestamp, pixelData); |
| 99 | |
} |
| 100 | |
|
| 101 | |
public java.util.Calendar getClientSyncTimestamp(java.lang.String auth, java.lang.String host) throws java.rmi.RemoteException{ |
| 102 | 0 | if (picManService_PortType == null) |
| 103 | 0 | _initPicManServiceProxy(); |
| 104 | 0 | return picManService_PortType.getClientSyncTimestamp(auth, host); |
| 105 | |
} |
| 106 | |
|
| 107 | |
public java.lang.String setClientSyncTimestamp(java.lang.String auth, java.lang.String host) throws java.rmi.RemoteException{ |
| 108 | 0 | if (picManService_PortType == null) |
| 109 | 0 | _initPicManServiceProxy(); |
| 110 | 0 | return picManService_PortType.setClientSyncTimestamp(auth, host); |
| 111 | |
} |
| 112 | |
|
| 113 | |
public void getSet(java.lang.String auth, javax.xml.rpc.holders.IntHolder sid, javax.xml.rpc.holders.StringHolder name, javax.xml.rpc.holders.StringHolder description, javax.xml.rpc.holders.BooleanHolder active, javax.xml.rpc.holders.BooleanHolder metaSet, javax.xml.rpc.holders.BooleanHolder microSet, javax.xml.rpc.holders.BooleanHolder nanoSet, javax.xml.rpc.holders.CalendarHolder editDate) throws java.rmi.RemoteException{ |
| 114 | 0 | if (picManService_PortType == null) |
| 115 | 0 | _initPicManServiceProxy(); |
| 116 | 0 | picManService_PortType.getSet(auth, sid, name, description, active, metaSet, microSet, nanoSet, editDate); |
| 117 | 0 | } |
| 118 | |
|
| 119 | |
public java.lang.String putSet(java.lang.String auth, int sid, java.lang.String name, java.lang.String description, boolean active, boolean metaSet, boolean microSet, boolean nanoSet, java.util.Calendar editDate) throws java.rmi.RemoteException{ |
| 120 | 0 | if (picManService_PortType == null) |
| 121 | 0 | _initPicManServiceProxy(); |
| 122 | 0 | return picManService_PortType.putSet(auth, sid, name, description, active, metaSet, microSet, nanoSet, editDate); |
| 123 | |
} |
| 124 | |
|
| 125 | |
|
| 126 | |
} |