Oracle® Content Services Web Services Java API Reference
10g Release 1 (10.1.1)

B19047-01


oracle.ifs.fdk
Interface MailManager


public interface MailManager

A facade interface for getting e-mail addresses.


Method Summary
 java.lang.String[] getGroupManagersEmail(long id)
          Gets addresses of the managers of the given group.
 java.lang.String[] getGroupMembersEmail(long id)
          Gets addresses of the members of the given group.
 java.lang.String[] getSecurityMembersEmail(long id)
          Gets addresses of the users who have at least discover access to the given item.
 java.lang.String[] getUsersWithRoleEmail(long id)
          Gets addresses of all users in the domain who currently have the given role.
 void sendEmailToSystemAdmin(java.lang.String subject, java.lang.String body)
          Sends mail with the given subject line and body to the system admin.

 

Method Detail

getGroupManagersEmail

public java.lang.String[] getGroupManagersEmail(long id)
                                         throws FdkException
Gets addresses of the managers of the given group.
Parameters:
id - The ID of the group.
Throws:
FdkException - if the operation fails.

getGroupMembersEmail

public java.lang.String[] getGroupMembersEmail(long id)
                                        throws FdkException
Gets addresses of the members of the given group.
Parameters:
id - The ID of the group.
Throws:
FdkException - if the operation fails.

getSecurityMembersEmail

public java.lang.String[] getSecurityMembersEmail(long id)
                                           throws FdkException
Gets addresses of the users who have at least discover access to the given item.
Parameters:
id - The ID of the item.
Throws:
FdkException - if the operation fails.

getUsersWithRoleEmail

public java.lang.String[] getUsersWithRoleEmail(long id)
                                         throws FdkException
Gets addresses of all users in the domain who currently have the given role.
Parameters:
id - the role whose users should be mailed.
Throws:
FdkException - if the operation fails.

sendEmailToSystemAdmin

public void sendEmailToSystemAdmin(java.lang.String subject,
                                   java.lang.String body)
                            throws FdkException
Sends mail with the given subject line and body to the system admin.
Parameters:
subject - The subject line of the e-mail.
body - The body of the e-mail.
Throws:
FdkException - if the operation fails.

Oracle® Content Services Web Services Java API Reference
10g Release 1 (10.1.1)

B19047-01


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