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 |
|---|---|
java.util.Enumeration |
getAllMailAddresses(java.lang.String realmName)
Gets all user's mail addresses in the realm specified by "realmName".
|
java.util.Enumeration |
getGroupMailAddresses(java.lang.String realmName,
java.lang.String groupName)
Gets all user's mail addresses in a group specified by the realm "realmName" and the group "groupName".
|
java.lang.String |
getMailAddress(java.lang.String realmName,
java.lang.String userName)
Gets user's mail address specified by "realmName" and "userName".
|
java.util.Enumeration |
getRoleMailAddresses(java.lang.String realmName,
java.lang.String roleName)
Gets all user's mail addresses which refer to a role specified by the realm "realmName"
and the group "roleNameName".
|
java.util.Enumeration getAllMailAddresses(java.lang.String realmName)
realmName - the realm nameString.java.util.Enumeration getGroupMailAddresses(java.lang.String realmName,
java.lang.String groupName)
realmName - the realm namegroupName - the group nameString.java.lang.String getMailAddress(java.lang.String realmName,
java.lang.String userName)
realmName - the realm nameuserName - the user namejava.util.Enumeration getRoleMailAddresses(java.lang.String realmName,
java.lang.String roleName)
realmName - the realm nameroleName - the role nameString.