Modifier and Type | Class and Description |
---|---|
class |
PageHasSubpagesAndIsNotDeletedRule
This rule returns true, if the item is node of the mgnl:page type, has a subnode of the same type, and is not deleted (i.e. has not the mgnl:deleted mixin type).
|
class |
PageHasSubpagesRule
This rule returns true, if the item is node of the mgnl:page type and has a subnode of the same type.
|
class |
PageIsPublishableRule
Deprecated.
introduced by mistake in 5.3.6, will be removed in 5.4. Please use
IsPublishableRule instead. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractElementAvailabilityRule<E extends AbstractElement>
Abstract rule for checking availability of
AbstractElement s. |
class |
IsAreaAddibleRule
This rule returns true if the
PageEditorPresenter.selectedElement in the page editor is an area
and the user has the permission to add components based the 'addible' property. |
class |
IsAreaCreatedRule
This rule returns true if the
PageEditorPresenter.selectedElement in the page editor is an area
and has been created. |
class |
IsAreaEditableRule
This rule returns true or false based on
IsAreaEditableRuleDefinition.isEditable()
if the PageEditorPresenter.selectedElement in the page editor is an area and is editable by having a dialog property. |
class |
IsAreaOptionalRule
This rule returns true if the
PageEditorPresenter.selectedElement in the page editor is an area
and is optional. |
class |
IsComponentDeletableRule
This rule returns true if the
PageEditorPresenter.selectedElement in the page editor is a component
and the user has permission to delete it based on the 'deletable' property. |
class |
IsComponentEditableRule
This rule returns true if the
PageEditorPresenter.selectedElement in the page editor is a component
and the user has permission to edit it based on the 'editable' property. |
class |
IsComponentMovableRule
This rule returns true if the
PageEditorPresenter.selectedElement in the page editor is a component
and the component is movable. |
class |
IsComponentMovingRule
This rule returns true or false depending on
IsComponentMovingRuleDefinition.isStart()
if the moving of a component is in progress. |
class |
IsElementTypeRule
Availability rule which checks the currently selected element for its configured type.
|
class |
IsPageEditableRule
A rule class which checks whether the template (which was used to create the selected element) has a dialog configured.
|
class |
IsPreviewRule
This rule returns true if the page editor is in preview mode.
|
class |
LocationNotVersionedRule
This rule returns true if the current
SubAppContext.getLocation() does not contain
a version. |
Modifier and Type | Class and Description |
---|---|
class |
IsNotCurrentUserRule
The rule to verify that the item does not represent the current user.
|
Modifier and Type | Class and Description |
---|---|
class |
TaskAvailabilityRule
Availability rule used for task actions.
|
Modifier and Type | Class and Description |
---|---|
class |
IsNotVersionedDetailLocationRule
Availability rule that checks if the current
DetailLocation is versioned or not. |
Modifier and Type | Class and Description |
---|---|
class |
HasVersionsRule
Checks if versioning is enabled for an item and whether it has versions.
|
class |
IsDeletedRule
This rule returns true if the item is node and has the mgnl:deleted mixin type.
|
class |
IsNotDeletedRule
This rule returns true if the item is not a node, or if it is a node and has NOT the mgnl:deleted mixin type.
|
class |
IsNotVersionedRule
Availability rule for non-versioned items.
|
class |
IsPublishableRule
Returns true if all ancestors of this item are activated, false otherwise.
|
class |
IsPublishedRule
This rule returns true if it is a node and has NOT the ActivationStatus equals ACTIVATION_STATUS_NOT_ACTIVATED.
|
class |
IsVersionRule
Rule that checks if an item is a
Version of a Node . |
Modifier and Type | Class and Description |
---|---|
class |
JcrNodesAllowedRule
AvailabilityRule implementation which returns true if evaluated items are JCR nodes. |
class |
JcrNodeTypesAllowedRule
AvailabilityRule implementation which returns true if evaluated items are of the specified JCR node types. |
class |
JcrPropertiesAllowedRule
AvailabilityRule implementation which returns true if evaluated items are JCR properties. |
class |
JcrRootAllowedRule
AvailabilityRule implementation which returns true if evaluated item is the default itemId —
typically the root node for JCR-based content apps. |
class |
WritePermissionRequiredRule
AvailabilityRule implementation which returns true if current user has write permissions for the evaluated items. |
Copyright © 2015 Magnolia International Ltd.. All rights reserved.