Repository
Interface RepoQueryIF

All Superinterfaces:
java.rmi.Remote, RepoTokenIF, PageBoxLib.TokenIF
All Known Implementing Classes:
RepoQueryImpl

public interface RepoQueryIF
extends RepoTokenIF, java.rmi.Remote

Interface of the Query and Notification Web Service.

Changes:

alexis.grandemange@pagebox.net

Copyright (c) 2002-2004 Alexis Grandemange

This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public License
 as published by the Free Software Foundation; version 2.1 of the
 License.
 This library is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU Lesser General Public License for more details.
 A copy of the GNU Lesser General Public License lesser.txt should be
 included in the distribution.

Version:
0, 0, 11
Author:
Alexis Grandemange

Nested Class Summary
static class RepoQueryIF.AuthSub
          Class wrapping the subscribed PageBox, its user and password.
static class RepoQueryIF.UrlStatus
          Class wrapping the url and deployment status of a subscriber.
 
Method Summary
 RepoQueryIF.AuthSub[] GetSubscribers(java.lang.String archive)
          Query API.
 void Notify(java.lang.String archive, RepoQueryIF.UrlStatus[] subscribers)
          Called by relay to notify the success or failure of a deployment.
 void NotifyFix(java.lang.String subscriber, FixArch[] archives)
          Called by Reinstall to change the archive status from PageBox err to installed.
 
Methods inherited from interface Repository.RepoTokenIF
tokenRegister, tokenUnregister
 
Methods inherited from interface PageBoxLib.TokenIF
frameSend
 

Method Detail

GetSubscribers

public RepoQueryIF.AuthSub[] GetSubscribers(java.lang.String archive)
                                     throws java.rmi.RemoteException
Query API.

Parameters:
archive - archive name
Returns:
array of AuthSub objects
Throws:
java.rmi.RemoteException

Notify

public void Notify(java.lang.String archive,
                   RepoQueryIF.UrlStatus[] subscribers)
            throws java.rmi.RemoteException
Called by relay to notify the success or failure of a deployment.

Parameters:
archive - archive name
Throws:
java.rmi.RemoteException

NotifyFix

public void NotifyFix(java.lang.String subscriber,
                      FixArch[] archives)
               throws java.rmi.RemoteException
Called by Reinstall to change the archive status from PageBox err to installed.

Parameters:
subscriber - PageBox whose setting pb was fixed
archives - whose pb was fixed
Throws:
java.rmi.RemoteException