|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.postgresql.pljava.internal.AclId
public final class AclId
The AclId
correspons to the internal PostgreSQL AclId
.
Constructor Summary | |
---|---|
AclId(int nativeAclId)
Called from native code. |
Method Summary | |
---|---|
boolean |
equals(Object other)
Returns equal if other is an AclId that is equal to this id. |
static AclId |
fromName(String name)
Return the id of the session user. |
String |
getName()
Return the name that corresponds to this id. |
static AclId |
getSessionUser()
Return the id of the session user. |
static AclId |
getUser()
Return the id of the current database user. |
int |
hashCode()
Returns the hashCode of this id. |
boolean |
hasSchemaCreatePermission(Oid oid)
Return true if this AclId has the right to create new objects in the given schema. |
int |
intValue()
Returns the integer value of this id. |
boolean |
isSuperuser()
Returns true if this AclId represents a super user. |
String |
toString()
Returns the result of calling #getName(). |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AclId(int nativeAclId)
Method Detail |
---|
public boolean equals(Object other)
equals
in class Object
public int intValue()
public int hashCode()
hashCode
in class Object
public static AclId getUser()
public static AclId getSessionUser()
public static AclId fromName(String name)
public String getName()
public boolean hasSchemaCreatePermission(Oid oid)
public boolean isSuperuser()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |