|
|||||||||
| 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 users to specify available functions. A profile
defines a set of functions which will be available for end-users when opening a
report. Only administrator can add/remove/update profiles.
| Field Summary | |
|---|---|
static java.lang.String |
TYPE_DASHBOARD
profile type is dashboard |
static java.lang.String |
TYPE_DHTML
profile type is DHTML |
static java.lang.String |
TYPE_STUDIO
profile type is studio |
| Method Summary | |
|---|---|
void |
addProfile(java.lang.String profileName,
java.util.Properties profile,
java.lang.String submitter)
Adds a DHTML profile, using the specified profile name. |
void |
addProfile(java.lang.String profileType,
java.lang.String profileName,
java.util.Properties profile,
java.lang.String submitter)
Adds a profile, using the specified profile name. |
java.lang.String[] |
getAllProfileNames()
Gets all predefined DHTML profile names. |
java.lang.String[] |
getAllProfileNames(java.lang.String profileType)
Gets all predefined profile names. |
java.util.Properties |
getDefaultProfile()
Gets built-in default DHTML profile, which contains full functions. |
java.util.Properties |
getDefaultProfile(java.lang.String profileType)
Gets built-in default profile, which contains full functions. |
java.util.Properties |
getProfile(java.lang.String profileName)
Gets a profile by the specified DHTML profile name. |
java.util.Properties |
getProfile(java.lang.String profileType,
java.lang.String profileName)
Gets a profile by the specified profile name. |
void |
removeProfile(java.lang.String profileName,
java.lang.String submitter)
Removes the specified DHTML profile. |
void |
removeProfile(java.lang.String profileType,
java.lang.String profileName,
java.lang.String submitter)
Removes the specified profile. |
void |
updateProfile(java.lang.String profileName,
java.util.Properties profile,
java.lang.String submitter)
Updates a DHTML profile using specified properties. |
void |
updateProfile(java.lang.String profileType,
java.lang.String profileName,
java.util.Properties profile,
java.lang.String submitter)
Updates a profile using specified properties. |
| Field Detail |
|---|
static final java.lang.String TYPE_DHTML
static final java.lang.String TYPE_STUDIO
static final java.lang.String TYPE_DASHBOARD
| Method Detail |
|---|
void addProfile(java.lang.String profileName,
java.util.Properties profile,
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 requested the operation. Only administrator has
permission to perform it.
RptServerException - if an RptServerException occurs.
void addProfile(java.lang.String profileType,
java.lang.String profileName,
java.util.Properties profile,
java.lang.String submitter)
throws RptServerException
profileType - profile typeprofileName - the specified profile name.profile - a Properties object that contains predefined functions of profile.submitter - the user who requested the operation. Only administrator has permission to perform it.
RptServerException - if an RptServerException occurs.
void removeProfile(java.lang.String profileName,
java.lang.String submitter)
throws RptServerException
profileName - the profile name.submitter - the user who requested the operation. Only administrator has
permission to perform it.
RptServerException - if an RptServerException occurs.
void removeProfile(java.lang.String profileType,
java.lang.String profileName,
java.lang.String submitter)
throws RptServerException
profileType - profile typeprofileName - the profile name.submitter - the user who requested the operation. Only administrator has permission to perform it.
RptServerException - if an RptServerException occurs.
void updateProfile(java.lang.String profileName,
java.util.Properties profile,
java.lang.String submitter)
throws RptServerException
profileName - the profile name.profile - a Properties object that contains predefined
functions needed to update profile.submitter - the user who requested the operation, Only administrator has
permission to perform it.
RptServerException - if an RptServerException occurs.
void updateProfile(java.lang.String profileType,
java.lang.String profileName,
java.util.Properties profile,
java.lang.String submitter)
throws RptServerException
profileType - profile typeprofileName - the profile name.profile - a Properties object that contains predefined functions needed to update profile.submitter - the user who requested the operation, Only administrator has permission to perform it.
RptServerException - if an RptServerException occurs.java.lang.String[] getAllProfileNames()
String array that contains all predefined
profile names.java.lang.String[] getAllProfileNames(java.lang.String profileType)
profileType - profile type
String array that contains all predefined profile names.java.util.Properties getProfile(java.lang.String profileName)
profileName - the name of the profile.
Properties object that contains predefined
functions of profile.
java.util.Properties getProfile(java.lang.String profileType,
java.lang.String profileName)
profileType - profile typeprofileName - the name of the profile.
Properties object that contains predefined functions of profile.java.util.Properties getDefaultProfile()
Properties object that contains full functions.java.util.Properties getDefaultProfile(java.lang.String profileType)
profileType - profile type
Properties object that contains full functions.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||