org.edg.security.voms.service.history
Class VOMSHistorySoapBindingStub

java.lang.Object
  |
  +--org.apache.axis.client.Stub
        |
        +--org.edg.security.voms.service.history.VOMSHistorySoapBindingStub
All Implemented Interfaces:
java.rmi.Remote, javax.xml.rpc.Stub, VOMSHistory

public class VOMSHistorySoapBindingStub
extends org.apache.axis.client.Stub
implements VOMSHistory


Field Summary
(package private) static org.apache.axis.description.OperationDesc[] _operations
           
private  java.util.Vector cachedDeserFactories
           
private  java.util.Vector cachedSerClasses
           
private  java.util.Vector cachedSerFactories
           
private  java.util.Vector cachedSerQNames
           
 
Fields inherited from class org.apache.axis.client.Stub
cachedEndpoint, cachedPassword, cachedPortName, cachedProperties, cachedTimeout, cachedUsername, maintainSession, maintainSessionSet, service
 
Fields inherited from interface javax.xml.rpc.Stub
ENDPOINT_ADDRESS_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, USERNAME_PROPERTY
 
Constructor Summary
VOMSHistorySoapBindingStub()
           
VOMSHistorySoapBindingStub(javax.xml.rpc.Service service)
           
VOMSHistorySoapBindingStub(java.net.URL endpointURL, javax.xml.rpc.Service service)
           
 
Method Summary
private  org.apache.axis.client.Call createCall()
           
 ACLEntry[] getACL(java.lang.String container, long transaction)
          Get the ACL for a container at a given transaction.
 ACLEntry[] getDefaultACL(java.lang.String groupname, long transaction)
          Get the default ACL for a group at a given transaction.
 int getMajorVersionNumber()
          Returns the major version number.
 int getMinorVersionNumber()
          Returns the minor version number.
 java.lang.String getModificationsSince(long transaction)
          Returns the database modifications as a HUGE XML document since the marked transaction.
 int getPatchVersionNumber()
          Returns the patch version number.
 User[] listMembers(java.lang.String container, long transaction)
          List members of a container at a given transaction.
 java.util.Calendar toTime(long transaction)
          Converts a transaction number to time-mark.
 long toTransaction(java.util.Calendar time)
          Converts a time-mark to transaction number.
 
Methods inherited from class org.apache.axis.client.Stub
_getProperty, _getPropertyNames, _setProperty, addAttachment, clearAttachments, clearHeaders, extractAttachments, firstCall, getAttachments, getHeader, getHeaders, getPassword, getPortName, getResponseHeaders, getTimeout, getUsername, setAttachments, setHeader, setHeader, setMaintainSession, setPassword, setPortName, setPortName, setRequestHeaders, setTimeout, setUsername
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cachedSerClasses

private java.util.Vector cachedSerClasses

cachedSerQNames

private java.util.Vector cachedSerQNames

cachedSerFactories

private java.util.Vector cachedSerFactories

cachedDeserFactories

private java.util.Vector cachedDeserFactories

_operations

static org.apache.axis.description.OperationDesc[] _operations
Constructor Detail

VOMSHistorySoapBindingStub

public VOMSHistorySoapBindingStub()
                           throws org.apache.axis.AxisFault

VOMSHistorySoapBindingStub

public VOMSHistorySoapBindingStub(java.net.URL endpointURL,
                                  javax.xml.rpc.Service service)
                           throws org.apache.axis.AxisFault

VOMSHistorySoapBindingStub

public VOMSHistorySoapBindingStub(javax.xml.rpc.Service service)
                           throws org.apache.axis.AxisFault
Method Detail

createCall

private org.apache.axis.client.Call createCall()
                                        throws java.rmi.RemoteException
java.rmi.RemoteException

listMembers

public User[] listMembers(java.lang.String container,
                          long transaction)
                   throws java.rmi.RemoteException
Description copied from interface: VOMSHistory
List members of a container at a given transaction.

Specified by:
listMembers in interface VOMSHistory
Parameters:
container - the tested container's name
transaction - transaction number
Returns:
members of the container
java.rmi.RemoteException
See Also:
VOMSAdmin.listMembers(java.lang.String)

getACL

public ACLEntry[] getACL(java.lang.String container,
                         long transaction)
                  throws java.rmi.RemoteException
Description copied from interface: VOMSHistory
Get the ACL for a container at a given transaction.

Specified by:
getACL in interface VOMSHistory
Parameters:
container - the tested container's name
transaction - transaction number
Returns:
ACL
java.rmi.RemoteException
See Also:
VOMSAdmin.getACL(java.lang.String)

getDefaultACL

public ACLEntry[] getDefaultACL(java.lang.String groupname,
                                long transaction)
                         throws java.rmi.RemoteException
Description copied from interface: VOMSHistory
Get the default ACL for a group at a given transaction.

Specified by:
getDefaultACL in interface VOMSHistory
Parameters:
groupname - the tested group's name
transaction - transaction number
Returns:
ACL
java.rmi.RemoteException
See Also:
VOMSAdmin.getDefaultACL(java.lang.String)

getMajorVersionNumber

public int getMajorVersionNumber()
                          throws java.rmi.RemoteException
Description copied from interface: VOMSHistory
Returns the major version number.

Specified by:
getMajorVersionNumber in interface VOMSHistory
java.rmi.RemoteException

getMinorVersionNumber

public int getMinorVersionNumber()
                          throws java.rmi.RemoteException
Description copied from interface: VOMSHistory
Returns the minor version number.

Specified by:
getMinorVersionNumber in interface VOMSHistory
java.rmi.RemoteException

getPatchVersionNumber

public int getPatchVersionNumber()
                          throws java.rmi.RemoteException
Description copied from interface: VOMSHistory
Returns the patch version number.

Specified by:
getPatchVersionNumber in interface VOMSHistory
java.rmi.RemoteException

toTransaction

public long toTransaction(java.util.Calendar time)
                   throws java.rmi.RemoteException
Description copied from interface: VOMSHistory
Converts a time-mark to transaction number.

Specified by:
toTransaction in interface VOMSHistory
Parameters:
time - time-mark
Returns:
transaction number
java.rmi.RemoteException

toTime

public java.util.Calendar toTime(long transaction)
                          throws java.rmi.RemoteException
Description copied from interface: VOMSHistory
Converts a transaction number to time-mark. The time-marks are not recorded for every transaction, so the method will return the closest, earlierst time-mark.

Specified by:
toTime in interface VOMSHistory
Parameters:
transaction - transaction number
Returns:
time-mark
java.rmi.RemoteException

getModificationsSince

public java.lang.String getModificationsSince(long transaction)
                                       throws java.rmi.RemoteException
Description copied from interface: VOMSHistory
Returns the database modifications as a HUGE XML document since the marked transaction. The purpose of this function is to allow slave replicas for requesting incremental updates.

Specified by:
getModificationsSince in interface VOMSHistory
Parameters:
transaction - the last known transaction
Returns:
XML document with all modifications
java.rmi.RemoteException