new PageInfoHelper()
Helping tools for inspecting the page info status object
Initialized by Document#event:cq-page-info-loaded; available on Document#event:cq-editor-loaded
- Source:
- storage/pageInfo.js
Methods
-
canModify()
-
Can the content be edited considering the current user permissions
- Source:
- storage/pageInfo.js
Returns:
- Type
- boolean
-
constructor(pageInfoJSON)
-
Parameters:
Name Type Description pageInfoJSON
Object The json object describing the page info
- Source:
- storage/pageInfo.js
-
getLockOwner()
-
Returns the owners that locked the currently displayed content
- Source:
- storage/pageInfo.js
Returns:
- Type
- string
-
hasEditableTemplate()
-
Does the content have an associated editable template
- Source:
- storage/pageInfo.js
Returns:
- Type
- boolean
-
isDesignable()
-
Is the content designable
- Source:
- storage/pageInfo.js
Returns:
- Type
- boolean
-
isDeveloper()
-
- Source:
- storage/pageInfo.js
Returns:
- Type
- boolean
-
isLocked()
-
Is the currently displayed content locked for edition by another user
- Source:
- storage/pageInfo.js
Returns:
- Type
- boolean