org.ozoneDB.core
Class Permissions
java.lang.Object
|
+--org.ozoneDB.DxLib.DxObject
|
+--org.ozoneDB.core.Permissions
- All Implemented Interfaces:
- java.lang.Cloneable, DxCompatible, java.io.Externalizable, java.io.Serializable
- public final class Permissions
- extends DxObject
- implements java.io.Externalizable
Ownership and access rights of a database object (aka ObjectContainer).
- Version:
- $Revision: 1.1 $Date: 2001/12/18 10:31:30 $
- Author:
- SMB
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
subSerialVersionUID
static final byte subSerialVersionUID
- See Also:
- Constant Field Values
ownerID
protected int ownerID
data
protected byte data
Permissions
public Permissions()
- Constructor for readObject().
Permissions
public Permissions(User _owner,
int _data)
- Constructor. owner wird nicht neu erzeugt damit nur die user in
der user-tabelle im ObjectSpace existieren.
setOwner
public void setOwner(User user)
clone
public java.lang.Object clone()
- Description copied from class:
DxObject
- liefert eine kopie des objektes;
sollte von subclasses ueberschrieben werden;
- Specified by:
clone
in interface DxCompatible
- Overrides:
clone
in class DxObject
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interface DxCompatible
- Overrides:
equals
in class java.lang.Object
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Specified by:
writeExternal
in interface java.io.Externalizable
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
groupRead
public boolean groupRead()
groupLock
public boolean groupLock()
allRead
public boolean allRead()
allLock
public boolean allLock()
Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.