Package bbd.jportal2
Class Grant
- java.lang.Object
-
- bbd.jportal2.Grant
-
- All Implemented Interfaces:
Serializable
public class Grant extends Object implements Serializable
This is used to hold the grants and users of Table and Procedures- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Grant()Construct default values
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasPerm(String s)Check if permission is usedbooleanhasUser(String s)Check if user has been definedvoidreader(DataInputStream ids)voidwriter(DataOutputStream ods)
-
-
-
Method Detail
-
reader
public void reader(DataInputStream ids) throws IOException
- Throws:
IOException
-
writer
public void writer(DataOutputStream ods) throws IOException
- Throws:
IOException
-
hasPerm
public boolean hasPerm(String s)
Check if permission is used
-
hasUser
public boolean hasUser(String s)
Check if user has been defined
-
-