package

com.atlassian.confluence.plugin.descriptor.web.conditions

Classes

AbstractConfluenceCondition This class is deprecated. since 2.8 use BaseConfluenceCondition, which no longer has a dependency on the abomination which is GlobalHelper.  
AbstractPermissionCondition This class is deprecated. since 2.8 use BasePermissionCondition  
AttachmentPermissionCondition  
BaseConfluenceCondition  
BasePermissionCondition Base class for conditions which check a permission on an object. 
BuildNumberCondition Displays the web-item if the Confluence build number is between the minBuildNumber and maxBuildNumber parameter values. 
CanClusterCondition  
CanEditSpaceStylesCondition  
CommentPermissionCondition  
ConfluenceAdministratorCondition Condition that restricts access to Confluence administrators (and those with greater privileges such as system administrators)  
ContentHasAnyPermissionsSetCondition This condition checks if there are any content permissions applied to the current page. 
CreateContentCondition  
DelegatingCondition Delegates all calls to the Condition passed to the constructor. 
EmailAddressPublicCondition  
ExternalUserManagementEnabledCondition  
FavouritePageCondition  
FavouriteSpaceCondition  
GlobalAdministratorOnlyCondition This class is deprecated. since 2.7. If the link or operation protected by this condition has the potential to compromise the security of the system, please use SystemAdministratorCondition instead, otherwise, use ConfluenceAdministratorCondition. To err on the side of more security, we are assuming plugin developers intended a restriction to the most powerful group of administrators. Hence this deprecated class will inherit the permission checks of SystemAdministratorCondition. This class has been reintroduced to prevent problems with the approvals plugin.  
HasAttachmentCondition Checks if the page in this context has any attachments  
HasBlogPostCondition Only display the link if the user is viewing a blog post (as opposed to a page or some other content type)  
HasPageCondition Only display the link if the user is working with a page (as opposed to a blog post or some other content type)  
HasSpaceCondition Only display the link if the user is working within a space. 
HasTemplateCondition Only display the link if there are templates to use  
LatestVersionCondition Only display if the user is viewing the latest version of a page or blog post. 
LdapUserManagementEnabledCondition This class is deprecated. since 3.5 this no longer works properly and is no longer used in the application  
NotPersonalSpaceCondition Do not show web fragment if we are in a personal space  
NotSharedModeCondition Only true when shared mode is not enabled  
PagePermissionCondition  
PeopleDirectoryEnabledCondition Only enabled if -
  • the Confluence people directory disable properties have not been set
  • the user is anonymous but has the VIEWUSERPROFILE permission
  • Confluence is not running in shared mode
 
PrintableVersionCondition  
ShowingPageAttachmentsCondition  
SpaceFunctionPermissionCondition A condition for checking the space function level permissions such as create space. 
SpacePermissionCondition  
SystemAdministratorCondition Condition that restricts access to users with system administrator permission. 
SystemAdministratorOrSuperUserCondition This class is deprecated. since 3.5 use SystemAdministratorCondition because this one is now inaccurately named 
ThreadedCommentsCondition Condition that checks if threaded comments is allowed in global settings. 
TinyUrlSupportedCondition  
ViewingContentCondition Only display the link if the user is viewing content (pages or blogs) but *only* viewing it - not editing, viewing info, attachments, etc. 
ViewingOwnProfileCondition A condition to check whether you are currently viewing your own profile or not.