ozone core API

org.ozoneDB.core.admin
Interface Admin

All Superinterfaces:
org.ozoneDB.OzoneCompatibleOrProxy, org.ozoneDB.OzoneRemote
All Known Implementing Classes:
AdminImpl

public interface Admin
extends org.ozoneDB.OzoneRemote

The external interface of the ozone admin system.

Version:
$Revision: 1.2 $ $Date: 2002/06/08 00:49:39 $
Author:
SMB

Method Summary
 void addUser2Group(java.lang.String _username, java.lang.String _groupname)
           
 DxCollection allGroups()
           
 DxCollection allUsers()
           
 void beginBackup()
           
 void beginRestore()
           
 Group groupForId(int _id)
           
 Group groupForName(java.lang.String _name)
           
 void newGroup(java.lang.String _name, int _id)
           
 void newUser(java.lang.String _name, int _id)
           
 void newUser(java.lang.String _name, java.lang.String _passwd, int _id)
           
 byte[] nextBackupChunk()
           
 int numberOfTxs()
           
 void processRestoreChunk(byte[] chunk)
           
 void removeGroup(java.lang.String _name)
           
 void removeUser(java.lang.String _name)
           
 void removeUserFromGroup(java.lang.String _username, java.lang.String _groupname)
           
 void shutdown()
           
 void startGarbageCollection()
           
 User userForId(int _id)
           
 User userForName(java.lang.String _name)
           
 
Methods inherited from interface org.ozoneDB.OzoneCompatibleOrProxy
getObjectID
 

Method Detail

newUser

public void newUser(java.lang.String _name,
                    int _id)
             throws java.lang.Exception
Throws:
java.lang.Exception

newUser

public void newUser(java.lang.String _name,
                    java.lang.String _passwd,
                    int _id)
             throws java.lang.Exception
Throws:
java.lang.Exception

removeUser

public void removeUser(java.lang.String _name)
                throws java.lang.Exception
Throws:
java.lang.Exception

newGroup

public void newGroup(java.lang.String _name,
                     int _id)
              throws java.lang.Exception
Throws:
java.lang.Exception

removeGroup

public void removeGroup(java.lang.String _name)
                 throws java.lang.Exception
Throws:
java.lang.Exception

addUser2Group

public void addUser2Group(java.lang.String _username,
                          java.lang.String _groupname)
                   throws java.lang.Exception
Throws:
java.lang.Exception

removeUserFromGroup

public void removeUserFromGroup(java.lang.String _username,
                                java.lang.String _groupname)
                         throws java.lang.Exception
Throws:
java.lang.Exception

allUsers

public DxCollection allUsers()
                      throws java.lang.Exception
Throws:
java.lang.Exception

allGroups

public DxCollection allGroups()
                       throws java.lang.Exception
Throws:
java.lang.Exception

userForName

public User userForName(java.lang.String _name)
                 throws java.lang.Exception
Throws:
java.lang.Exception

groupForName

public Group groupForName(java.lang.String _name)
                   throws java.lang.Exception
Throws:
java.lang.Exception

userForId

public User userForId(int _id)
               throws java.lang.Exception
Throws:
java.lang.Exception

groupForId

public Group groupForId(int _id)
                 throws java.lang.Exception
Throws:
java.lang.Exception

shutdown

public void shutdown()
              throws java.lang.Exception
Throws:
java.lang.Exception

beginRestore

public void beginRestore()
                  throws java.lang.Exception
Throws:
java.lang.Exception

processRestoreChunk

public void processRestoreChunk(byte[] chunk)
                         throws java.lang.Exception
Throws:
java.lang.Exception

beginBackup

public void beginBackup()
                 throws java.lang.Exception
Throws:
java.lang.Exception

nextBackupChunk

public byte[] nextBackupChunk()
                       throws java.lang.Exception
Throws:
java.lang.Exception

numberOfTxs

public int numberOfTxs()
                throws java.lang.Exception
Throws:
java.lang.Exception

startGarbageCollection

public void startGarbageCollection()

ozone core API

Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.