Package com.adobe.cq.inbox.ui.column
Class Column
- java.lang.Object
 - 
- com.adobe.cq.inbox.ui.column.Column
 
 
- 
public final class Column extends java.lang.ObjectA column in the inbox.Each column should be backed by aColumnProvider 
- 
- 
Constructor Summary
Constructors Constructor Description Column(java.lang.String name, java.lang.String title)Create a newColumnColumn(java.lang.String name, java.lang.String title, java.lang.String type)Create a newColumnof the given typeColumn(java.lang.String name, java.lang.String title, java.lang.String templateResourcePath, java.lang.String templateName)Create a newColumnwhich is based on sightly templateColumn(java.lang.String name, java.lang.String title, java.lang.String type, java.lang.String templateResourcePath, java.lang.String templateName)Create a newColumnbased on sightly template and of given type 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()Name of the column.java.lang.StringgetTemplateName()Name of the sightly template to render the column The resource attemplateResourcePathmay contain multiple sightly templates The template accepts a parameter nameditemof typeInboxItemSample template<template data-sly-template.wftitle="${@ item}>"> <div> ${item.workflowTitle @ i18n, locale=request.locale} </div> </template>java.lang.StringgetTemplateResourcePath()Path of the resource containing the sightly template to render the columnjava.lang.StringgetTitle()The display name of the columnjava.lang.StringgetType()Fully qualified name of the class representing the type of the data associated with the column Used for sorting on the column e.g. 
 - 
 
- 
- 
Constructor Detail
- 
Column
public Column(@Nonnull java.lang.String name, java.lang.String title)Create a newColumn- Parameters:
 name- name of the columntitle- title of the column
 
- 
Column
public Column(@Nonnull java.lang.String name, java.lang.String title, @Nonnull java.lang.String templateResourcePath, @Nonnull java.lang.String templateName)Create a newColumnwhich is based on sightly template- Parameters:
 name- name of the columntitle- title of the columntemplateResourcePath- path of the resource containing the sightly template to render the columntemplateName- name of the sightly template to render the column
 
- 
Column
public Column(@Nonnull java.lang.String name, java.lang.String title, @Nonnull java.lang.String type)Create a newColumnof the given type- Parameters:
 name- name of the columntitle- title of the columntype- fully qualified class name of the class representing the type of the data associated with the column
 
- 
Column
public Column(@Nonnull java.lang.String name, java.lang.String title, @Nonnull java.lang.String type, @Nonnull java.lang.String templateResourcePath, @Nonnull java.lang.String templateName)Create a newColumnbased on sightly template and of given type- Parameters:
 name- name of the columntitle- title of the columntype- fully qualified class name of the class representing the type of the data associated with the columntemplateResourcePath- path of the resource containing the sightly template to render the columntemplateName- name of the sightly template to render the column
 
 - 
 
- 
Method Detail
- 
getName
public java.lang.String getName()
Name of the column. Name is used to uniquely identify a column- Returns:
 - column name
 
 
- 
getTitle
public java.lang.String getTitle()
The display name of the column- Returns:
 - column title
 
 
- 
getType
public java.lang.String getType()
Fully qualified name of the class representing the type of the data associated with the column Used for sorting on the column e.g. java.lang.String The column will be sortable for following types java.lang.String java.lang.Boolean java.lang.Long java.lang.Double java.util.Date- Returns:
 - column type
 
 
- 
getTemplateResourcePath
public java.lang.String getTemplateResourcePath()
Path of the resource containing the sightly template to render the column- Returns:
 
 
- 
getTemplateName
public java.lang.String getTemplateName()
Name of the sightly template to render the column The resource attemplateResourcePathmay contain multiple sightly templates The template accepts a parameter nameditemof typeInboxItemSample template<template data-sly-template.wftitle="${@ item}>"> <div> ${item.workflowTitle @ i18n, locale=request.locale} </div> </template>- Returns:
 
 
 - 
 
 -