📄 admin.java
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -