|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ProfileManager
Interface ProfileManager is used to manage the profiles.
Profile is predefined for user to specify available functions, a profile
defined a set of functions which will be available for end-user when open a
report. Only adminstrator can add/remove/update profiles.
| Method Summary | |
|---|---|
void |
addProfile(java.lang.String profileName,
java.util.Properties prop,
java.lang.String submitter)
Add a profile, using specified profile name. |
java.lang.String[] |
getAllProfileNames()
Get all predefined profile names. |
java.util.Properties |
getDefaultProfile()
Get built-in default profile, which contains full functions. |
java.util.Properties |
getProfile(java.lang.String profileName)
Get a profile by specified profile name. |
void |
removeProfile(java.lang.String profileName,
java.lang.String submitter)
Remove specified profile. |
void |
updateProfile(java.lang.String profileName,
java.util.Properties prop,
java.lang.String submitter)
Update a profile using specified function list. |
| Method Detail |
|---|
void addProfile(java.lang.String profileName,
java.util.Properties prop,
java.lang.String submitter)
throws RptServerException
profileName - the specified profile name.prop - a Properties object that contains predefined
functions of profile.submitter - the user who request the operation, only adminstartor has
permission to perform it.
RptServerException - if a RptServerException occurs
void removeProfile(java.lang.String profileName,
java.lang.String submitter)
throws RptServerException
profileName - the profile name.submitter - the user who request the operation, only administrator hs
permission to perform it.
RptServerException - if a RptServerException occurs.
void updateProfile(java.lang.String profileName,
java.util.Properties prop,
java.lang.String submitter)
throws RptServerException
profileName - the profile nameprop - a Properties object that contains predefined
fuctions need to update to profile.submitter - the user who request the operation, only administrator has
permission to perform it.
RptServerException - if a RptServerException occurs.java.lang.String[] getAllProfileNames()
String array that contains all predefined
profile names.java.util.Properties getProfile(java.lang.String profileName)
Properties object that contains predefined
functions of profile.java.util.Properties getDefaultProfile()
Properties object that contains full functions.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||