Oracle® Mail Java API Reference
10g Release 1 (10.1.1)

B14492-01

oracle.mail.sdk.esmail
Class OracleGranteeACI

java.lang.Object
  |
  +--oracle.mail.sdk.esmail.OracleGranteeACI

public class OracleGranteeACI
extends java.lang.Object

This class is used to retrieve shared folder aci and grantee information. A vector of OracleGranteeACI objects is returned from the Folder.getGranteeAci() method. Internally, oid apis are invoked to get a list of the permissions and users for the shared folder.


Method Summary
java.lang.String getGranteeAddress()
Return the address of the grantee
java.lang.String getGranteeType()
Return the type of the grantee Valid Types are: user - ESDSConstants.DS_MAILUSER, dl - ESDSConstants.DS_DISTRIBUTION_LIST, domain - ESDSConstants.DS_DOMAIN
boolean hasAdmin()
Has admin permission
boolean hasDelete()
Has delete permission
boolean hasDigitPermission(int digit)
Has digit permission
boolean hasInsert()
Has insert permission
boolean hasLookup()
Has lookup permission
boolean hasRead()
Has Read permission
boolean hasSeen()
Has seen permission
boolean hasWrite()
Has Write permission
static void main(java.lang.String[] args)

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail

getGranteeAddress

public java.lang.String getGranteeAddress()

Return the address of the grantee


getGranteeType

public java.lang.String getGranteeType()

Return the type of the grantee Valid Types are: user - ESDSConstants.DS_MAILUSER, dl - ESDSConstants.DS_DISTRIBUTION_LIST, domain - ESDSConstants.DS_DOMAIN


hasWrite

public boolean hasWrite()

Has Write permission


hasRead

public boolean hasRead()

Has Read permission


hasSeen

public boolean hasSeen()

Has seen permission


hasLookup

public boolean hasLookup()

Has lookup permission


hasDelete

public boolean hasDelete()

Has delete permission


hasInsert

public boolean hasInsert()

Has insert permission


hasAdmin

public boolean hasAdmin()

Has admin permission


hasDigitPermission

public boolean hasDigitPermission(int digit)
                           throws javax.mail.MessagingException

Has digit permission

Parameters:
digit - - Pass in one digit at a time and check

main

public static void main(java.lang.String[] args)

Oracle® Mail Java API Reference
10g Release 1 (10.1.1)

B14492-01

Copyright © 1988, 2005, Oracle. All rights reserved.