ozone core API

org.ozoneDB.core.admin
Class AdminImpl_Proxy

java.lang.Object
  |
  +--org.ozoneDB.OzoneProxy
        |
        +--org.ozoneDB.core.admin.AdminImpl_Proxy
All Implemented Interfaces:
Admin, java.io.Externalizable, org.ozoneDB.OzoneCompatibleOrProxy, org.ozoneDB.OzoneRemote, java.io.Serializable

public final synchronized class AdminImpl_Proxy
extends org.ozoneDB.OzoneProxy
implements Admin

See Also:
Serialized Form

Field Summary
(package private) static long serialVersionUID
           
 
Fields inherited from class org.ozoneDB.OzoneProxy
link, linkTable, remoteID
 
Constructor Summary
AdminImpl_Proxy()
           
AdminImpl_Proxy(ObjectID, org.ozoneDB.OzoneInterface)
           
 
Method Summary
 void addUser2Group(java.lang.String, java.lang.String)
           
 DxCollection allGroups()
           
 DxCollection allUsers()
           
 void beginBackup()
           
 void beginRestore()
           
static Admin createObject(org.ozoneDB.OzoneInterface)
           
 ObjectID getObjectID()
           
 Group groupForName(java.lang.String)
           
 void newGroup(java.lang.String, int)
           
 void newUser(java.lang.String, int)
           
 byte[] nextBackupChunk()
           
 int numberOfTxs()
           
 void processRestoreChunk(byte[])
           
 void removeGroup(java.lang.String)
           
 void removeUser(java.lang.String)
           
 void removeUserFromGroup(java.lang.String, java.lang.String)
           
 void shutdown()
           
 void startGarbageCollection()
           
 User userForName(java.lang.String)
           
 
Methods inherited from class org.ozoneDB.OzoneProxy
createProxyLinkAttributes, equals, finalize, handle, hashCode, invoke, invoke, invoke, invoke, isSame, readExternal, remoteID, toString, writeExternal
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

AdminImpl_Proxy

public AdminImpl_Proxy()

AdminImpl_Proxy

public AdminImpl_Proxy(ObjectID,
                       org.ozoneDB.OzoneInterface)
Method Detail

createObject

public static final Admin createObject(org.ozoneDB.OzoneInterface)

shutdown

public final void shutdown()
                    throws java.lang.Exception
Specified by:
shutdown in interface Admin
java.lang.Exception

newUser

public final void newUser(java.lang.String,
                          int)
                   throws java.lang.Exception
Specified by:
newUser in interface Admin
java.lang.Exception

removeUser

public final void removeUser(java.lang.String)
                      throws java.lang.Exception
Specified by:
removeUser in interface Admin
java.lang.Exception

newGroup

public final void newGroup(java.lang.String,
                           int)
                    throws java.lang.Exception
Specified by:
newGroup in interface Admin
java.lang.Exception

removeGroup

public final void removeGroup(java.lang.String)
                       throws java.lang.Exception
Specified by:
removeGroup in interface Admin
java.lang.Exception

addUser2Group

public final void addUser2Group(java.lang.String,
                                java.lang.String)
                         throws java.lang.Exception
Specified by:
addUser2Group in interface Admin
java.lang.Exception

removeUserFromGroup

public final void removeUserFromGroup(java.lang.String,
                                      java.lang.String)
                               throws java.lang.Exception
Specified by:
removeUserFromGroup in interface Admin
java.lang.Exception

allUsers

public final DxCollection allUsers()
                            throws java.lang.Exception
Specified by:
allUsers in interface Admin
java.lang.Exception

allGroups

public final DxCollection allGroups()
                             throws java.lang.Exception
Specified by:
allGroups in interface Admin
java.lang.Exception

userForName

public final User userForName(java.lang.String)
                       throws java.lang.Exception
Specified by:
userForName in interface Admin
java.lang.Exception

groupForName

public final Group groupForName(java.lang.String)
                         throws java.lang.Exception
Specified by:
groupForName in interface Admin
java.lang.Exception

beginRestore

public final void beginRestore()
                        throws java.lang.Exception
Specified by:
beginRestore in interface Admin
java.lang.Exception

processRestoreChunk

public final void processRestoreChunk(byte[])
                               throws java.lang.Exception
Specified by:
processRestoreChunk in interface Admin
java.lang.Exception

beginBackup

public final void beginBackup()
                       throws java.lang.Exception
Specified by:
beginBackup in interface Admin
java.lang.Exception

nextBackupChunk

public final byte[] nextBackupChunk()
                             throws java.lang.Exception
Specified by:
nextBackupChunk in interface Admin
java.lang.Exception

numberOfTxs

public final int numberOfTxs()
                      throws java.lang.Exception
Specified by:
numberOfTxs in interface Admin
java.lang.Exception

startGarbageCollection

public final void startGarbageCollection()
Specified by:
startGarbageCollection in interface Admin

getObjectID

public final ObjectID getObjectID()
Specified by:
getObjectID in interface org.ozoneDB.OzoneCompatibleOrProxy
Overrides:
getObjectID in class org.ozoneDB.OzoneProxy

ozone core API

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