Package com.jalios.jcms.dashboard
Class DashboardManager
java.lang.Object
com.jalios.jcms.dashboard.DashboardManager
- All Implemented Interfaces:
JPropertiesListener
Utility methods.
- Since:
- jcms-11.0.0
-
Method Summary
Modifier and TypeMethodDescriptionbooleancanAccessAnalytics(Member member) Returns true if loggedMember has ACL to access analytics.booleancanAccessDashboard(Member member) booleancanAccessDataReport(Member member) Returns true if loggedMember has ACL to access Data Report.booleancanAccessFileSize(Member member) Returns true if loggedMember has ACL to access File size.booleancanAccessFriendlyUrls(Member member) Returns true if loggedMember has ACL to access friendlyUrls.booleancanAccessLicense(Member member) Returns true if member has ACL to access license info.booleancanAccessQuotas(Member member) Returns true if loggedMember has ACL to access quotas.static DashboardManagerRetrieve the DashboardManager singleton intanceReturns the set of workspaces for which the given member has access to data report.Returns the set of workspaces for which the given member has access to intuitive (friendly) URLs.voidpropertiesChange(JProperties properties) Invoked after properties have been modified in JCMS and save on disk.
-
Method Details
-
getInstance
Retrieve the DashboardManager singleton intance- Returns:
- the singleton instance
-
propertiesChange
Description copied from interface:JPropertiesListenerInvoked after properties have been modified in JCMS and save on disk.You cannot alter the value received in parameters.
Note that properties parameter may be null, a limited set of site properties, or all site properties.
To check that a property has been modified, reload the "current" property instead using
channel.getPropertiesorchannel.getProperty.- Specified by:
propertiesChangein interfaceJPropertiesListener- Parameters:
properties- the properties which have been submitted to change
-
canAccessQuotas
Returns true if loggedMember has ACL to access quotas.- Parameters:
member- the current logged Member to work with- Returns:
- true if the member can access metrics.
-
canAccessLicense
Returns true if member has ACL to access license info.- Parameters:
member- the current logged Member to work with- Returns:
- true if the member can access metrics.
-
canAccessAnalytics
Returns true if loggedMember has ACL to access analytics.- Parameters:
member- the current logged Member to work with- Returns:
- true if the member can access site analytics.
-
canAccessFriendlyUrls
Returns true if loggedMember has ACL to access friendlyUrls.- Parameters:
member- the Member to work with- Returns:
- true if the member can access friendly Urls dashboard.
-
canAccessDataReport
Returns true if loggedMember has ACL to access Data Report.- Parameters:
member- the Member to work with- Returns:
- true if the member can access data report.
-
canAccessFileSize
Returns true if loggedMember has ACL to access File size.- Parameters:
member- the Member to work with- Returns:
- true if the member can access file size.
-
getMemberSpacesWithFriendlyUrlAccess
Returns the set of workspaces for which the given member has access to intuitive (friendly) URLs.- Parameters:
member- the member whose access rights are checked- Returns:
- a sorted set of workspaces, never
null
-
getMemberSpacesWithDataReportAccess
Returns the set of workspaces for which the given member has access to data report.- Parameters:
member- the member whose access rights are checked- Returns:
- a sorted set of workspaces, never
null
-
canAccessDashboard
-
getApplicationProviderMap
-