admin.java

来自「Java的面向对象数据库系统的源代码」· Java 代码 · 共 64 行

JAVA
64
字号
// You can redistribute this software and/or modify it under the terms of// the Ozone Library License version 1 published by ozone-db.org.//// The original code and portions created by SMB are// Copyright (C) 1997-@year@ by SMB GmbH. All rights reserved.//// $Id: Admin.java,v 1.2 2002/06/08 00:49:39 mediumnet Exp $package org.ozoneDB.core.admin;import org.ozoneDB.*;import org.ozoneDB.core.*;import org.ozoneDB.DxLib.*;/** * The external interface of the ozone admin system. * * @version $Revision: 1.2 $ $Date: 2002/06/08 00:49:39 $ * @author <a href="http://www.smb-tec.com">SMB</a> */public interface Admin extends OzoneRemote {    public void newUser(String _name, int _id) throws Exception;    public void newUser(String _name, String _passwd, int _id) throws Exception;    public void removeUser(String _name) throws Exception;    public void newGroup(String _name, int _id) throws Exception;    public void removeGroup(String _name) throws Exception;    public void addUser2Group(String _username, String _groupname) throws Exception;    public void removeUserFromGroup(String _username, String _groupname) throws Exception;    public DxCollection allUsers() throws Exception;    public DxCollection allGroups() throws Exception;    public User userForName(String _name) throws Exception;    public Group groupForName(String _name) throws Exception;    public User userForId(int _id) throws Exception;    public Group groupForId(int _id) throws Exception;    public void shutdown() throws Exception;    public void beginRestore() throws Exception;  //update    public void processRestoreChunk(byte[] chunk) throws Exception;  //update    public void beginBackup() throws Exception;  //update    public byte[] nextBackupChunk() throws Exception;  //update    public int numberOfTxs() throws Exception;    public void startGarbageCollection();}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?