|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.postgresql.pljava.internal.AclId
The AclId
correspons to the internal PostgreSQL AclId
.
Constructor Summary | |
AclId(int nativeAclId)
Called from native code. |
Method Summary | |
boolean |
equals(java.lang.Object other)
Returns equal if other is an AclId that is equal to this id. |
java.lang.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. |
java.lang.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(java.lang.Object other)
public int intValue()
public int hashCode()
public static AclId getUser()
public static AclId getSessionUser()
public java.lang.String getName()
public boolean hasSchemaCreatePermission(Oid oid)
public boolean isSuperuser()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |