由於Adobe Experience Manager (AEM)以Sling為基礎,並使用JCR存放庫,因此這兩者提供的節點型別都可供使用:
除了這些節點型別外,AEM還提供一系列自訂節點型別。
說明
定義稽核事件節點的節點型別。
@prop cq:time
@prop cq:userid
@prop cq:path
@prop cq:type
@prop cq:category
@prop cq:properties
定義
[cq:AuditEvent]
- * (undefined)
- * (undefined) multiple
+ * (nt:base) = nt:base multiple version
- cq:time (date)
- cq:userid (string)
- cq:path (string)
- cq:type (string)
- cq:category (string)
- cq:properties (binary)
說明
定義註解節點的節點型別。
@prop userIdentifier
定義
[cq:Comment] > mix:title, mix:created, mix:language, nt:unstructured, cq:Taggable
- email (string)
- ip (string)
- referer (string)
- url (string)
- userAgent (string)
- userIdentifier (string)
- authorizableId (string)
說明
定義節點型別 commentattachment
節點
定義
[cq:CommentAttachment] > nt:file
- * (undefined)
- * (undefined) multiple
說明
定義評論內容節點的節點型別
定義
[cq:Comment] > mix:title, mix:created, mix:language, nt:unstructured, cq:Taggable
- email (string)
- ip (string)
- referer (string)
- url (string)
- userAgent (string)
- userIdentifier (string)
- authorizableId (string)
說明
以小數位數(DD)定義地理位置的mixin
@prop latitude
— 使用小數位數編碼為雙精度的latitude@prop longitude
— 經度(使用小數點後進位編碼為雙精度浮點數)定義
[cq:GeoLocation] mixin
- latitude (double)
- longitude (double)
說明
定義引用通告節點的節點型別。
定義
[cq:Trackback] > mix:title, mix:created, mix:language, nt:unstructured
說明
定義預設CQ頁面。
@node jcr:content
— 頁面的主要內容。定義
[cq:Page] > nt:hierarchyNode orderable
+ jcr:content (nt:base) = nt:unstructured copy primary
+ * (nt:base) = nt:base version
說明
定義將節點標示為虛擬頁面的mixin型別。 換言之,這表示它們可以適應頁面和WCM編輯支援。
定義
[cq:PseudoPage] mixin
說明
定義頁面內容的預設節點,具有WCM使用的最小屬性。
@prop jcr:title
— 頁面標題。@prop jcr:description
— 此頁面的說明。@prop cq:template
— 用來建立頁面的範本路徑。@prop cq:allowedTemplates
— 用來決定允許範本之路徑的規則運算式清單。@prop pageTitle
— 標題顯示在 <title>
標籤之間。@prop navTitle
— 導覽中使用的標題。@prop hideInNav
— 指定是否要在導覽中隱藏頁面。@prop onTime
— 此頁面生效的時間。@prop offTime
— 此頁面失效的時間。@prop cq:lastModified
— 上次修改頁面(或其段落)的日期。@prop cq:lastModifiedBy
— 最後一個變更頁面(或其段落)的使用者。@prop jcr:language
— 頁面內容的語言。頁面內容不必使用此型別。
定義
[cq:PageContent] > nt:unstructured, mix:title, mix:created, cq:OwnerTaggable, sling:VanityPath, cq:ReplicationStatus, sling:Resource orderable
- cq:template (string)
- cq:allowedTemplates (string) multiple
- pageTitle (string)
- navTitle (string)
- hideInNav (boolean)
- onTime (date)
- offTime (date)
- cq:lastModified (date)
- cq:lastModifiedBy (string)
- cq:designPath (string)
- jcr:language (string)
說明
定義CQ範本。
@node jcr:content
— 新頁面的預設內容。@node icon.png
— 包含特徵圖示的檔案。@node thumbnail.png
— 儲存特徵縮圖影像的檔案。@node workflows
— 自動指派工作流程設定。 設定遵循下列結構:
+ workflows
+ name1
- cq:path
- cq:workflowName
@prop allowedParents
— 規則運算式模式,可決定允許作為父範本的範本路徑。@prop allowedChildren
— 規則運算式模式,可決定允許做為子範本的範本路徑。@prop ranking
— 在建立頁面對話方塊的範本清單中定位。定義
[cq:Template] > nt:hierarchyNode, mix:title
- * (undefined)
- * (undefined) multiple
+ * (nt:base) = nt:base multiple version
+ jcr:content (nt:base) copy
+ icon.png (nt:file) copy
+ thumbnail.png (nt:file) copy
+ workflows (nt:base) copy
- allowedParents (string) multiple
- allowedChildren (string) multiple
- ranking (long)
說明
定義CQ元件。
@prop jcr:title
— 元件的標題。@prop jcr:description
— 元件的說明。@node dialog
— 主要對話方塊。@prop dialogPath
— 主要對話方塊路徑(對話方塊的替代方式)。@node design_dialog
— 設計對話方塊。@prop cq:cellName
— 設計儲存格的名稱。@prop cq:isContainer
— 指出是否為容器元件。 強制使用子元件的儲存格名稱,而非路徑名稱。 例如, parsys
是容器元件。 如果此值未定義,則會根據是否存在 cq:childEditConfig
.@prop cq:noDecoration
— 如果為true,則無裝飾 div
包含此元件時會繪製標籤。@node cq:editConfig
— 定義編輯列引數的設定。@node cq:childEditConfig
— 子元件繼承的編輯設定。@node cq:htmlTag
— 定義新增至「周圍」的其他標籤屬性 div
標籤時一併刪除。@node icon.png
— 包含特徵圖示的檔案。@node thumbnail.png
— 儲存特徵縮圖影像的檔案。@prop allowedParents
— 規則運算式模式,可決定允許作為父元件的元件路徑。@prop allowedChildren
— 規則運算式模式,可決定允許做為子元件的元件路徑。@node virtual
— 包含反映用於元件拖放之虛擬元件的子節點。@prop componentGroup
— 元件群組的名稱,用於元件拖放。@node cq:infoProviders
— 包含子節點,每個子節點都有屬性 className
這指的是 PageInfoProvider
.定義
[cq:Component] > nt:folder, mix:title, sling:ResourceSuperType
- * (undefined)
- * (undefined) multiple
+ * (nt:base) = nt:base multiple version
+ dialog (nt:base) = nt:unstructured copy
- dialogPath (string)
+ design_dialog (nt:base) = nt:unstructured copy
- cq:cellName (string)
- cq:isContainer (boolean)
- cq:noDecoration (boolean)
+ cq:editConfig (cq:EditConfig) = cq:EditConfig copy
+ cq:childEditConfig (cq:EditConfig) = cq:EditConfig copy
+ cq:htmlTag (nt:base) = nt:unstructured copy
+ icon.png (nt:file) copy
+ thumbnail.png (nt:file) copy
- allowedParents (string) multiple
- allowedChildren (string) multiple
+ virtual (nt:base) = sling:Folder copy
- componentGroup (string)
+ cq:infoProviders (nt:base) = nt:unstructured copy
說明
將CQ元件定義為mixin型別。
定義
[cq:ComponentMixin] > cq:Component mixin
說明
定義「編輯列」的設定。
@prop cq:dialogMode
— 對話方塊的模式:
floating
— 用於一般的浮動對話方塊inline
— 內嵌編輯auto
— 自動偵測(視可用空間而定)@node cq:inplaceEditing
— 為此元件就地編輯設定。@prop cq:layout
— 編輯列的配置:
editbar
— 編輯列rollover
— 滑鼠指向影格auto
— 自動偵測@node cq:formParameters
— 要新增至對話方塊表單的其他引數。@prop cq:actions
— 動作清單(編輯列按鈕或功能表專案)。@node cq:actionConfigs
— 編輯列或功能表專案的Widget設定。@prop cq:emptyText
— 沒有視覺內容時顯示的文字。@node cq:dropTargets
— 集合 {@link cq:DropTargetConfig}
節點。定義
[cq:EditConfig] > nt:unstructured, nt:hierarchyNode orderable
- cq:dialogMode (string) < 'auto', 'floating', 'inline'
- cq:layout (string) < 'editbar', 'rollover', 'auto' + cq:formParameters (nt:base) = nt:unstructured
- cq:actions (string) multiple
+ cq:actionConfigs (nt:base) = nt:unstructured
- cq:emptyText (string)
+ cq:dropTargets (nt:base) = nt:unstructured
+ cq:listeners (nt:base) = cq:EditListenersConfig
說明
設定元件的一個放置目標。 此節點名稱會作為用於拖放的ID。
@prop accept
— 此放置目標接受的MIME型別清單;例如, ["image/*"]
@prop groups
— 接受來源的拖放群組清單。@prop propertyName
— 用來儲存參考的屬性名稱。定義
[cq:DropTargetConfig] > nt:unstructured orderable
- accept (string) multiple
- groups (string) multiple
- propertyName (string)
+ parameters (nt:base) = nt:unstructured
說明
定義虛擬CQ元件。 目前僅用於新元件拖放精靈。
@prop jcr:title
— 此元件的標題。@prop jcr:description
— 此元件的說明。@node cq:editConfig
— 編輯定義編輯列引數的設定。@node cq:childEditConfig
— 編輯子元件繼承的設定。@node icon.png
— 包含特徵圖示的檔案。@node thumbnail.png
— 儲存特徵縮圖影像的檔案。@prop allowedParents
— 規則運算式模式,可決定允許作為父元件的元件路徑。@prop allowedChildren
— 規則運算式模式,可決定允許做為子元件的元件路徑。@prop componentGroup
— 元件拖放的元件群組名稱。定義
[cq:VirtualComponent] > nt:folder, mix:title
- * (undefined)
- * (undefined) multiple
+ * (nt:base) = nt:base multiple version
+ cq:editConfig (cq:EditConfig) = cq:EditConfig copy
+ icon.png (nt:file) copy
+ thumbnail.png (nt:file) copy
- allowedParents (string) multiple
- allowedChildren (string) multiple
- componentGroup (string)
說明
定義要在編輯事件上執行的(使用者端)監聽器。 值必須參考有效的使用者端接聽程式函式,或包含預先定義的捷徑:
REFRESH_PAGE
REFRESH_SELF
REFRESH_PARENT
@prop aftercreate
— 在建立元件後引發。
@prop afteredit
— 在編輯(修改)元件後引發。
@prop afterdelete
— 刪除元件後引發。
@prop afterinsert
— 將元件新增至此容器後引發。
@prop afterremove
— 從此容器移除元件後引發。
@prop aftermove
— 在此容器中移動元件後引發。
定義
[cq:EditListenersConfig]
- * (undefined)
- * (undefined) multiple
+ * (nt:base) = nt:base multiple version
- aftercreate (string)
- afteredit (string)
- afterdelete (string)
- afterinsert (string)
- afterremove (string)
- aftermove (string)
說明
DAM資產的內容。
定義
[dam:AssetContent] > nt:unstructured
+ metadata (nt:unstructured)
+ renditions (nt:folder)
說明
DAM資產。
定義
[dam:Asset] > nt:hierarchyNode
+ jcr:content (dam:AssetContent) = dam:AssetContent copy primary
+ * (nt:base) = nt:base version
說明
表示DAM資產的縮圖。
定義
[dam:Thumbnails]
mixin
+ dam:thumbnails (nt:folder)
說明
容器清單。
定義
[cq:containerList]
mixin
說明
節點型別 cq:attributes
用於ContentBus版本標籤。 此節點只有一系列屬性;其中三個為預先定義的「created」、「csd」和「timestamp」。
@prop created (long) mandatory copy
— 建立版本資訊的時間戳記,通常是前一個版本的入庫時間或建立頁面的時間。@prop csd (string) mandatory copy
- csd標準屬性,頁面節點的cq:csd屬性副本@prop timestamp (long) mandatory copy
— 上次版本修改的時間戳記,通常為簽入時間。@prop * (string) copy
— 其他屬性,以父節點建立版本。定義
[cq:Cq4PageAttributes] > nt:base
- created (long) mandatory copy
- csd (string) mandatory copy
- timestamp (long) mandatory copy
- * (string) copy
說明
節點型別 cq:contentPage
包含ContentBus內容頁面的屬性和子節點定義。 只有當此mixin型別新增到型別的節點時 cq:page
,節點會變成ContentBus內容頁面。
中的專案 cq:Cq4ContentPage
為:
@prop cq:csd
— 頁面的ContentBusCSD。@node cq:content
— 頁面內容。 如果頁面節點處於「現有但不含內容」或「已刪除」狀態,則此子節點不存在。@node cq:attributes
— 頁面屬性的清單,以前稱為版本標籤。 cq:contentPage型別必須有此節點。 當頁面為節點建立版本時,會建立屬性節點的版本。定義
[cq:Cq4ContentPage]
- cq:csd (string) mandatory copy
+ cq:attributes (cq:Cq4PageAttributes)
說明
輪詢設定。
@prop source (String) mandatory
— 資料來源URI。 必要且不得為空白。@prop target (String)
— 儲存從資料來源擷取之資料的目標位置。 選用且預設為cq:PollConfig節點。@prop interval (Long)
— 輪詢資料來源中新資料或更新資料的間隔(秒)。 選填,預設值為30分鐘(1800秒)。定義
[cq:PollConfig]
mixin
- source (String) mandatory
- target (String)
- interval (Long)
說明
方便主要節點型別輕鬆建立輪詢設定節點。
定義
[cq:PollConfigFolder] > sling:Folder, cq:PollConfig
說明
以小數位數(DD)定義地理位置的mixin。
@prop latitude
— 使用小數位數編碼為雙精度的Latitude。@prop longitude
— 使用小數位數編碼為雙倍的經度。定義
[cq:GeoLocation]
mixin
- latitude (double)
- longitude (double)
說明
MailerService節點型別。 郵件程式會使用具有此mixin的節點作為訊息定義的根節點。
定義
[cq:mailerMessage]
mixin
- messageStatus (string)
= 'new'
mandatory autocreated
說明
定義LiveRelationship mixin。 主要來源(控制)節點和即時副本(控制)節點可透過LiveRelationship以虛擬方式連結。
定義
[cq:LiveRelationship] mixin
- cq:lastRolledout (date)
- cq:lastRolledoutBy (string)
- cq:sourceUUID (string)
說明
定義LiveSync Mixin。 如果節點與主要來源(控制)節點和即時副本(控制)節點有關聯,則會標示為LiveSync。
@prop cq:master
- LiveRelationship的主要來源(控制)的路徑。@prop cq:isDeep
— 定義關係是否適用於子系。@prop cq:syncTrigger
— 定義同步作業何時觸發。@node * LiveSyncAction
— 要在同步時執行的動作定義
[cq:LiveSync] > cq:LiveRelationship mixin orderable
+ * (cq:LiveSyncAction) = cq:LiveSyncAction
+ cq:LiveSyncConfig (nt:base) = cq:LiveSyncConfig
說明
定義LiveSyncCanceled mixin。 取消即時副本(受控)節點的LiveSync行為,該節點可能因其父項之一而與LiveRelationship有關。
@prop cq:isCancelledForChildren
— 定義是否取消LiveSync;也適用於子系。定義
[cq:LiveSyncCancelled] > cq:LiveRelationship mixin
- cq:isCancelledForChildren (boolean)
說明
定義附加至LiveSync的LiveSyncAction。
@prop name
— 動作名稱@prop value
— 動作值定義
[cq:LiveSyncAction] > nt:unstructured
說明
Live Sync設定。
定義
[cq:LiveSyncConfig]
- cq:master (string) mandatory
- cq:isDeep (boolean)
- cq:trigger (string) /** deprecated **/
若為AEM 5.4,請在清單結尾處新增:
- cq:rolloutConfigs (string) multiple /** deprecated **/
說明
Blueprint動作
定義
[cq:BlueprintAction] > nt:unstructured
說明
定義主控台節點的節點型別。
定義
[cq:Console] > sling:VanityPath, mix:title
mixin
說明
定義復寫狀態資訊mixin。
@prop cq:lastPublished
— 上次發佈頁面的日期(已停止使用)。@prop cq:lastPublishedBy
— 上次發佈頁面的使用者(不再使用)。@prop cq:lastReplicated
— 上次復寫頁面的日期。@prop cq:lastReplicatedBy
— 最後復寫頁面的使用者。@prop cq:lastReplicationAction
— 復寫動作:啟動或停用。@prop cq:lastReplicationStatus
— 復寫狀態(已不再使用)。定義
[cq:ReplicationStatus]
mixin
- cq:lastPublished (date) ignore
- cq:lastPublishedBy (string) ignore
- cq:lastReplicated (date) ignore
- cq:lastReplicatedBy (string) ignore
- cq:lastReplicationAction (string) ignore
- cq:lastReplicationStatus (string) ignore
說明
定義應用程式許可權。
定義
[cq:ApplicationPrivilege] mixin
說明
定義應用程式許可權ACL。
@prop cq:isPathDependent
@node * ACEs
定義
[cq:PrivilegeAcl] > cq:ApplicationPrivilege mixin orderable
- cq:isPathDependent (boolean)
+ * (cq:PrivilegeAce) = cq:PrivilegeAce
說明
定義應用程式許可權ACE。
@prop path
@prop deny
定義
[cq:PrivilegeAce]
- path mandatory
- deny (boolean)
說明
定義應用程式許可權。
定義
[cq:ApplicationPrivilege] mixin
說明
定義應用程式許可權ACL。
@prop cq:isPathDependent
@node * ACEs
定義
[cq:PrivilegeAcl] > cq:ApplicationPrivilege mixin orderable
- cq:isPathDependent (boolean)
+ * (cq:PrivilegeAce) = cq:PrivilegeAce
說明
定義應用程式許可權ACE。
@prop path
@prop deny
定義
[cq:PrivilegeAce]
- path mandatory
- deny (boolean)
說明
定義一個mixin型別,用於標籤可使用元件提取器開啟的檔案。
定義
[cq:ComponentExtractorSource] mixin
說明
定義單一標籤,但也可以包含標籤,因此建立分類法
定義
[cq:Tag] > nt:base, mix:title
- sling:resourceType (String)
- * (undefined) multiple
- * (undefined)
+ * (nt:base) = cq:Tag version
說明
可標籤內容的抽象基底mixin。
@node cq:tags
定義
[cq:Taggable]
- cq:tags (string) multiple
說明
僅允許作者/擁有者標籤內容(稽核/管理的標籤)。
定義
[cq:OwnerTaggable] > cq:Taggable
說明
任何使用者/公用網站都可以標籤cq:userContent內使用的內容(Web2.0樣式)。
定義
[cq:UserTaggable] > cq:Taggable
mixin
說明
新增 cq:userContent
使用者可修改的子節點。 每個使用者都有自己的 cq:userContent/<userid>
子節點,通常具有mixin cq:UserTaggable
.
定義
[cq:AllowsUserContent]
mixin
+ cq:userContent (nt:unstructured)
延伸變體,更明確地定義 cq:userContent
樹狀
[cq:AllowsUserContent]
mixin
+ cq:userContent (cq:UserContent)
說明
可由使用者修改。
定義
[cq:UserContent] > nt:unstructured
// userids
+ * (cq:UserData)
// other content
+ * (nt:base)
說明
使用者資料
定義
[cq:UserData] > nt:unstructured, cq:UserTaggable
說明
使用者端資料庫資料夾
定義
[cq:ClientLibraryFolder] > sling:Folder
- categories (string) multiple
- dependencies (string) multiple
說明
Widget
定義
[cq:Widget] > nt:unstructured orderable
- xtype (string)
- name (string)
- title (string)
+ items (nt:base) = cq:WidgetCollection copy
說明
Widget集合
定義
[cq:WidgetCollection] > nt:unstructured
orderable
+ * (cq:Widget) = cq:Widget copy
說明
對話方塊
定義
[cq:Dialog] > cq:Widget orderable
說明
面板
定義
[cq:Panel] > cq:Widget orderable
說明
索引標籤面板
定義
[cq:TabPanel]
> cq:Panel orderable
- activeTab (long)
說明
欄位
定義
[cq:Field] > cq:Widget orderable
- fieldLabel (string)
- value (string)
- ignoreData (boolean)
說明
Wiki主題
定義
[wiki:Topic] > nt:unstructured, nt:hierarchyNode, mix:versionable, mix:lockable
+ * (wiki:Topic) version
+ wiki:attachments (nt:folder) = nt:folder version
+ wiki:properties (wiki:Properties) = wiki:Properties copy
- wiki:text (string) mandatory primary
- wiki:lastModified (date) mandatory
- wiki:lastModifiedBy (string) mandatory
- wiki:topicName
- wiki:topicTitle
- wiki:lockedBy
- wiki:logMessage (string)
- wiki:quietSave (boolean)
說明
Wiki使用者
定義
[wiki:User] mixin
- wiki:subscriptions (string) multiple
說明
Wiki屬性
定義
[wiki:Properties]
- wiki:isGlobal (boolean)
- * (undefined)
說明
代表工作流程例項。
定義
[cq:Workflow] > nt:base, mix:referenceable
- modelId (String)
- modelVersion (String)
- startTime (Date)
- endTime (Date)
- initiator (String)
- * (undefined)
- * (undefined) multiple
- sling:resourceType (String) = "cq/workflow/components/instance" mandatory autocreated
+ workflowStack (nt:unstructured)
+ wait (nt:unstructured)
+ orTab (nt:unstructured)
+ data (cq:WorkflowData)
+ history (nt:unstructured)
+ metaData (nt:unstructured)
+ workItems (nt:unstructured)
說明
工作專案。
定義
[cq:WorkItem]
- assignee (String)
- workflowId (String)
- nodeId (String)
- startTime (Date)
- endTime (Date)
- dueTime (Date)
- sling:resourceType (String) = "cq/workflow/components/workitem" mandatory autocreated
+ metaData (nt:unstructured)
說明
裝載
定義
[cq:Payload]
- path (Path)
- uuid (String)
- jcr:url (String)
- binary (Binary)
- javaObject (String)
- * (undefined)
- * (undefined) multiple
說明
工作流程資料
定義
[cq:WorkflowData]
- * (undefined)
- * (undefined) multiple
+ payload (cq:Payload)
+ metaData (nt:unstructured) copy
說明
自動指派工作流程設定。 設定遵循以下結構:
workflows
+ name1
- cq:path
- cq:workflowName
+ workflows (nt:base)
定義
[cq:WorkflowModel] > nt:base, mix:versionable
orderable
- title (String)
- description (String)
- sling:resourceType (String) = "cq/workflow/components/model" mandatory autocreated
+ nodes (nt:unstructured)
copy
+ transitions (nt:unstructured)
copy
+ metaData (nt:unstructured)
copy
說明
工作流程節點
定義
[cq:WorkflowNode] orderable
- title (String)
- description (String)
- maxIdleTime (long)
- type (String)
- * (undefined)
- * (undefined) multiple
+ metaData (nt:unstructured)
copy
+ timeoutConfiguration (nt:unstructured)
copy
說明
工作流程轉變
定義
[cq:WorkflowTransition] orderable
- from (String)
- to (String)
- rule (String)
+ metaData (nt:unstructured)
copy
說明
或索引標籤
定義
[cq:OrTab]
- workflowId (String) // not compulsory as this node will already be attached to the workflow node
- nodeId (String)
說明
等待
定義
[cq:Wait]
- workflowId (String) // not compulsory as this node will be already attached to the workflow node
- destNodeId (String)
- fromNodeId (String)
說明
工作流程棧疊
定義
[cq:WorkflowStack]
- containeeInstanceId (String)
- parentInstanceId (String)
- nodeId (String)
說明
程式棧疊
定義
[cq:ProcessStack]
- workflowId (String) // not compulsory as this node will be already attached to the workflow node
- containerWorkflowModelId (String)
- containerWorkflowNodeId
- containerWorkflowEndNodeId // still needed (if name already defines that id)
說明
工作流程啟動器
定義
[cq:WorkflowLauncher]
- nodetype (String)
- glob (String)
- eventType (Long)
- description (String)
- condition (String)
- workflow (String)
- * (undefined)
- * (undefined) multiple