|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.actuate.activeportal.beans.FeatureOptionsBean
public class FeatureOptionsBean
This bean contains the features available to the current logged in user. You can get this class from userinfobean using the getFeatureOptionsBean method. It contains both Active Portal features and Reporting features available to the current logged in server. The reporting feature bit constants are:
Field Summary | |
---|---|
static int |
ACTUATEQUERY_OPTION
|
static int |
BIRTINTERACTIVEVIEWER_OPTION
|
static java.lang.String |
BIRTINTERACTIVEVIEWER_OPTION_STRING
|
static int |
BIRTREPORT_OPTION
|
static java.lang.String |
BIRTREPORT_OPTION_STRING
|
static int |
BIRTREPORTSTUDIO_OPTION
|
static java.lang.String |
BIRTREPORTSTUDIO_OPTION_STRING
|
static int |
BUSINESSREPORT_OPTION
|
static java.lang.String |
BUSINESSREPORT_OPTION_STRING
|
static int |
EANALYSIS_OPTION
|
static int |
PAGESECUREVIEWING_OPTION
|
static int |
REPORTGENERATION_OPTION
|
static int |
SPREADHSHEETGENERATION_OPTION
|
Constructor Summary | |
---|---|
FeatureOptionsBean()
Construct a new feature options bean with no features enabled. |
|
FeatureOptionsBean(java.lang.String[] featureOptions)
Construct a new feature options bean with the server reporting options specified enabled. |
Method Summary | |
---|---|
boolean |
actuateQueryOptionEnabled()
Returns whether Actuate Query is enabled on the server. |
boolean |
birtInterativeViewerOptionEnabled()
Returns whether birt interactive viewer is enabled on the server |
boolean |
birtReportOptionEnabled()
Returns whether birt report is enabled on the server |
boolean |
birtReportStudioOptionEnabled()
Returns whether business report studio is enabled on the server |
boolean |
businessReportOptionEnabled()
Returns whether business report is enabled on the server |
boolean |
eAnalysisOptionEnabled()
Returns whether eanalysis is enabled on the server. |
java.lang.String |
getCustomizationLabelkey()
Returns the message resource key that contains the text that is displayed for the customization label |
java.lang.String |
getCustomizationLink()
Returns the link for customization feature. |
java.lang.String |
getSearchLabelkey()
Returns the message resource key that contains the text for displaying the search link |
java.lang.String |
getSearchLink()
Returns the link for search feature. |
boolean |
isChannelsFeature()
Returns whether the current user has access to the channels page. |
boolean |
isCreateFolderSubfeature()
Returns whether the current user is allowed to create folders |
boolean |
isCustomizeFeature()
Returns whether the current user has the customization feature enabled. |
boolean |
isDeleteFileSubfeature()
Returns whether the current user has the delete file feature enabled. |
boolean |
isDeleteFolderSubfeature()
Returns whether the current user has the delete folder feature enabled. |
boolean |
isDocumentsFeature()
Returns whether the current user has access to the documents page. |
boolean |
isJobPrioritySubfeature()
Returns whether the current user has the job priority feature enabled. |
boolean |
isJobsFeature()
Returns whether the current user has access to the jobs page. |
boolean |
isOptionEnabled(int featureOption)
Checks to see if the specified feature is enabled on the report server. |
boolean |
isSearchFeature()
Returns whether the current user is allowed to search for files in the encyclopedia. |
boolean |
isSelfNotificationWithAttachmentSubfeature()
Returns whether the current user is allowed to change their self notification settings when submitting a job. |
boolean |
isShareFileSubfeature()
Returns whether the current user is allowed to share files or folders |
boolean |
isSubscribeChannelSubfeature()
Returns whether the current user can subscribe/unsubscribe to/from channels. |
boolean |
pageSecureViewingOptionEnabled()
Returns whether page security is enabled on the server. |
boolean |
reportGenerationOptionEnabled()
Returns whether report generation is enabled on the server. |
void |
setChannelsFeature(boolean b)
Sets whether the current user is allowed access to the channels page. |
void |
setCreateFolderSubfeature(boolean b)
Sets whether the current user has the ability to create folders |
static void |
setCustomizationLabelkey(java.lang.String string)
Sets the message resource key that contains the text that is displayed for the customization label |
static void |
setCustomizationLink(java.lang.String string)
Sets the link for customization feature. |
void |
setCustomizeFeature(boolean customizeFeature)
Sets whether the current user has the customization feature enabled. |
void |
setDeleteFileSubfeature(boolean deleteFileSubfeature)
Sets the current user has the delete file feature enabled. |
void |
setDeleteFolderSubfeature(boolean deleteFolderSubfeature)
Sets the current user has the delete folder feature enabled. |
void |
setDocumentsFeature(boolean b)
Sets whether the current user is allowed access to the documents page. |
void |
setJobPrioritySubfeature(boolean jobPrioritySubfeature)
Sets whether the current user can change the job priority for jobs submitted |
void |
setJobsFeature(boolean b)
Sets whether the current user is allowed access to the jobs page. |
void |
setSearchFeature(boolean searchFeature)
Sets whether the current user can perform a search on the encyclopedia. |
static void |
setSearchLabelkey(java.lang.String string)
Sets the message resource key that contains the text for displaying the search link |
static void |
setSearchLink(java.lang.String string)
Sets the link for search feature. |
void |
setSelfNotificationWithAttachmentSubfeature(boolean selfNotificationWithAttachmentSubfeature)
Sets whether the current user can change the self notification settings wheile submitting a job. |
void |
setShareFileSubfeature(boolean shareFileSubfeature)
Sets whether the current user can share files or folders |
void |
setSubscribeChannelSubfeature(boolean subscribeChannelSubfeature)
Sets whether the current user can subscribe/unsubscribe to/from channels |
boolean |
spreadsheetGenerationOptionEnabled()
Returns whether spreadsheet report generation is enabled on the server. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int REPORTGENERATION_OPTION
public static final int SPREADHSHEETGENERATION_OPTION
public static final int PAGESECUREVIEWING_OPTION
public static final int EANALYSIS_OPTION
public static final int ACTUATEQUERY_OPTION
public static final int BIRTREPORT_OPTION
public static final int BUSINESSREPORT_OPTION
public static final int BIRTINTERACTIVEVIEWER_OPTION
public static final int BIRTREPORTSTUDIO_OPTION
public static final java.lang.String BIRTREPORT_OPTION_STRING
public static final java.lang.String BUSINESSREPORT_OPTION_STRING
public static final java.lang.String BIRTREPORTSTUDIO_OPTION_STRING
public static final java.lang.String BIRTINTERACTIVEVIEWER_OPTION_STRING
Constructor Detail |
---|
public FeatureOptionsBean()
public FeatureOptionsBean(java.lang.String[] featureOptions)
featureOptions
- Method Detail |
---|
public boolean isOptionEnabled(int featureOption)
featureOption
- the reporting feature bit constant
public boolean reportGenerationOptionEnabled()
public boolean spreadsheetGenerationOptionEnabled()
public boolean pageSecureViewingOptionEnabled()
public boolean eAnalysisOptionEnabled()
public boolean actuateQueryOptionEnabled()
public boolean birtReportOptionEnabled()
public boolean businessReportOptionEnabled()
public boolean birtReportStudioOptionEnabled()
public boolean birtInterativeViewerOptionEnabled()
public boolean isCustomizeFeature()
public void setCustomizeFeature(boolean customizeFeature)
customizeFeature
- true if customization is enabled, false otherwisepublic boolean isDeleteFileSubfeature()
public void setDeleteFileSubfeature(boolean deleteFileSubfeature)
deleteFileSubfeature
- true if the user is allowed to delete filespublic boolean isDeleteFolderSubfeature()
public void setDeleteFolderSubfeature(boolean deleteFolderSubfeature)
deleteFolderSubfeature
- true if the user is allowed to delete folderspublic boolean isJobPrioritySubfeature()
public void setJobPrioritySubfeature(boolean jobPrioritySubfeature)
jobPrioritySubfeature
- true if the user is allowed to change the prioritypublic boolean isSearchFeature()
public void setSearchFeature(boolean searchFeature)
searchFeature
- true if the user can perform a searchpublic boolean isSelfNotificationWithAttachmentSubfeature()
public void setSelfNotificationWithAttachmentSubfeature(boolean selfNotificationWithAttachmentSubfeature)
selfNotificationWithAttachmentSubfeature
- true if the user can change the notification settingspublic boolean isShareFileSubfeature()
public void setShareFileSubfeature(boolean shareFileSubfeature)
shareFileSubfeature
- true if the current user can share files.public boolean isSubscribeChannelSubfeature()
public void setSubscribeChannelSubfeature(boolean subscribeChannelSubfeature)
subscribeChannelSubfeature
- true if the user can subscribe/unsubscribepublic boolean isCreateFolderSubfeature()
public void setCreateFolderSubfeature(boolean b)
b
- true if the user is allowed to create folderspublic boolean isChannelsFeature()
public boolean isDocumentsFeature()
public boolean isJobsFeature()
public void setChannelsFeature(boolean b)
b
- true if the user is allowed accesspublic void setDocumentsFeature(boolean b)
b
- true if the user is allowed accesspublic void setJobsFeature(boolean b)
b
- true if the user is allowed accesspublic java.lang.String getCustomizationLink()
public static void setCustomizationLink(java.lang.String string)
string
- The customization linkpublic java.lang.String getCustomizationLabelkey()
public static void setCustomizationLabelkey(java.lang.String string)
string
- The message resource key namepublic java.lang.String getSearchLink()
public static void setSearchLink(java.lang.String string)
string
- The search linkpublic java.lang.String getSearchLabelkey()
public static void setSearchLabelkey(java.lang.String string)
string
- The search label resource key.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |