Class: PageInfoHelper

Granite.author. PageInfoHelper


new PageInfoHelper()

Helping tools for inspecting the page info status object

Available on Document#event:cq-page-info-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

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