public interface UserMailList
JReport Server provides the ability to use customized user mail list scheme.
A customized user mail list scheme must implement the interface
jet.server.api.UserMailList, and import the customized class file by
modifying the following JReport Server's properties file:
<SERVER PATH>/bin/classes.properties
When using customized user mail list scheme, users should:
1. Write a class which implements the interface
jet.server.api.UserMailList.
2. Put the class into CLASSPATH which is used by launching JReport Server
3. Edit the file <SERVER PATH>/bin/classes.properties, let
UserMailList point to the customized class
4. Restart JReport Server and the customized user mail list is working.
| Modifier and Type | Method and Description |
|---|---|
Enumeration |
getAllMailAddresses(String realmName)
Gets all user's mail addresses in the realm specified by "realmName".
|
Enumeration |
getGroupMailAddresses(String realmName,
String groupName)
Gets all user's mail addresses in a group specified by the realm "realmName" and the group "groupName".
|
String |
getMailAddress(String realmName,
String userName)
Gets user's mail address specified by "realmName" and "userName".
|
Enumeration |
getRoleMailAddresses(String realmName,
String roleName)
Gets all user's mail addresses which refer to a role specified by the realm "realmName"
and the group "roleNameName".
|
Enumeration getAllMailAddresses(String realmName)
realmName - the realm nameString.Enumeration getGroupMailAddresses(String realmName, String groupName)
realmName - the realm namegroupName - the group nameString.String getMailAddress(String realmName, String userName)
realmName - the realm nameuserName - the user nameEnumeration getRoleMailAddresses(String realmName, String roleName)
realmName - the realm nameroleName - the role nameString.© insightsoftware. All rights reserved.