Skip to content

Latest commit

 

History

History
157 lines (132 loc) · 17 KB

dotcms-dev-cheatsheet.md

File metadata and controls

157 lines (132 loc) · 17 KB

Primitives and Objects

Class JavaDoc
java.lang.Object JavaDoc
java.util.LinkedHashMap JavaDoc
java.util.HashMap JavaDoc
java.util.ArrayList JavaDoc
java.lang.String JavaDoc
java.lang.Integer JavaDoc
java.lang.Long JavaDoc
java.lang.Double JavaDoc
Map (Interface) JavaDoc
java.util.Date JavaDoc
java.sql.Timestamp JavaDoc
sun.util.calendar.ZoneInfo JavaDoc

Common Objects

Type Class JavaDoc
Contentlet com.dotcms.rendering.velocity.viewtools.content.ContentMap JavaDoc
File Asset com.dotcms.rendering.velocity.viewtools.content.FileAssetMap JavaDoc
Content Type Model com.dotmarketing.portlets.structure.model.Structure Structure JavaDoc / StructuresWebAPI JavaDoc
Content Type Model Field com.dotmarketing.portlets.structure.model.Field Field JavaDoc
NavTool Item NavResultHydrated JavaDoc
Category com.dotmarketing.portlets.categories.model.Category JavaDoc
TagList com.dotcms.rendering.velocity.viewtools.content.TagList JavaDoc

Field Objects

Type JavaDoc gitHub
CheckboxMap JavaDoc
RadioMap JavaDoc
SelectMap JavaDoc
MultiSelectMap JavaDoc
FileAssetMap JavaDoc
KeyValue JavaDoc
BinaryMap JavaDoc

Common Class Packages

Class JavaDoc GitHub
com.dotcms.rendering.velocity.viewtools.content JavaDoc
org.apache.velocity.tools.generic JavaDoc
com.dotcms.rendering.velocity.viewtools JavaDoc
com.dotmarketing.portlets.structure.model (Old) JavaDoc
com.dotcms.contenttype.model.type JavaDoc

dotCMS Velocity ViewTools

Var Class JavaDoc GitHub
$alternator org.apache.velocity.tools.generic.AlternatorTool JavaDoc
$calendar com.dotmarketing.portlets.calendar.viewtools.CalendarWebAPI JavaDoc
$CASTool com.dotcms.rendering.velocity.viewtools.CASTool JavaDoc
$categories com.dotcms.rendering.velocity.viewtools.CategoriesWebAPI JavaDoc
$cmsuser com.dotcms.rendering.velocity.viewtools.CMSUsersWebAPI JavaDoc
$config com.dotcms.rendering.velocity.viewtools.ConfigTool JavaDoc
$containerAPI com.dotcms.rendering.velocity.viewtools.ContainerWebAPI JavaDoc
$contents com.dotcms.rendering.velocity.viewtools.ContentsWebAPI JavaDoc
$context org.apache.velocity.tools.view.context.ChainedContext JavaDoc
$cookietool org.apache.velocity.tools.view.tools.CookieTool JavaDoc
$crypt com.dotcms.rendering.velocity.viewtools.CryptWebAPI JavaDoc
$date org.apache.velocity.tools.generic.DateTool JavaDoc
$dateviewapi com.dotcms.rendering.velocity.viewtools.DateViewWebAPI JavaDoc
$dotcontent com.dotcms.rendering.velocity.viewtools.content.ContentTool JavaDoc
$dotlogger com.dotcms.rendering.velocity.viewtools.DotLoggerTool JavaDoc
$dotwiki com.dotcms.rendering.velocity.viewtools.WikiTool JavaDoc
$esc org.apache.velocity.tools.generic.EscapeTool JavaDoc
$estool com.dotcms.rendering.velocity.viewtools.ESContentTool JavaDoc
$filetool com.dotcms.rendering.velocity.viewtools.FileTool JavaDoc
$folderAPI com.dotcms.rendering.velocity.viewtools.FolderWebAPI JavaDoc
$host com.dotmarketing.beans.Host JavaDoc
$import org.apache.velocity.tools.view.tools.ImportTool JavaDoc
$listTool org.apache.velocity.tools.generic.ListTool JavaDoc
$json com.dotcms.rendering.velocity.viewtools.JSONTool JavaDoc
$macro com.dotcms.rendering.velocity.viewtools.DotCMSMacroWebAPI JavaDoc
$mailer com.dotcms.rendering.velocity.viewtools.MailerTool JavaDoc
$markdown com.dotcms.rendering.velocity.viewtools.MarkdownTool JavaDoc
$math org.apache.velocity.tools.generic.MathTool JavaDoc
$mill org.apache.velocity.tools.generic.IteratorTool JavaDoc
$navtool com.dotcms.rendering.velocity.viewtools.navigation.NavTool JavaDoc
$number org.apache.velocity.tools.generic.NumberTool JavaDoc
$parser org.apache.velocity.tools.generic.ValueParser JavaDoc
$personatool com.dotcms.rendering.velocity.viewtools.PersonaTool JavaDoc
$pluginapitool com.dotcms.rendering.velocity.viewtools.PluginWebAPI JavaDoc
$render com.dotcms.rendering.velocity.viewtools.DotRenderTool JavaDoc
$request com.dotcms.rendering.velocity.viewtools.VelocityRequestWrapper JavaDoc
$response javax.servlet.http.HttpServletResponseWrapper < org.tuckey.web.filters.urlrewrite.UrlRewriteWrappedResponse JavaDoc
$session org.apache.catalina.session.StandardSessionFacade JavaDoc
$sitesearch com.dotmarketing.sitesearch.viewtool.SiteSearchWebAPI JavaDoc
$sorter org.apache.velocity.tools.generic.SortTool JavaDoc
$sql com.dotcms.rendering.velocity.viewtools.SQLResultsViewTool JavaDoc
$stringsapi com.dotcms.rendering.velocity.viewtools.StringsWebApi JavaDoc
$structures com.dotcms.rendering.velocity.viewtools.StructuresWebAPI JavaDoc
$submitcontenttool com.dotcms.rendering.velocity.viewtools.SubmitContentWebAPI JavaDoc
$tags com.dotcms.rendering.velocity.viewtools.TagsWebAPI JavaDoc
$templatetool com.dotcms.rendering.velocity.viewtools.DotTemplateTool JavaDoc
$text / $glossary / $globalvars / $languagewebapi / $langbackendwebapi com.dotcms.rendering.velocity.viewtools.LanguageViewtool JavaDoc
$user com.liferay.portal.model.User < UserWebAPI JavaDoc
$useragent com.dotcms.rendering.velocity.viewtools.UserAgentTool JavaDoc
$utilHtml com.dotmarketing.util.UtilHTML JavaDoc
$UtilMethods com.dotmarketing.util.UtilMethods JavaDoc
$velutil com.dotcms.rendering.velocity.viewtools.VelocityWebUtil JavaDoc
$visitor com.dotcms.visitor.domain.Visitor JavaDoc
$webapi com.dotcms.rendering.velocity.viewtools.WebAPI JavaDoc
$website com.dotcms.rendering.velocity.viewtools.WebsiteWebAPI JavaDoc
$website com.dotcms.rendering.velocity.viewtools.WebsiteWebAPI JavaDoc
$workflowtool com.dotcms.rendering.velocity.viewtools.WorkflowTool JavaDoc
$xmltool com.dotcms.rendering.velocity.viewtools.XmlTool JavaDoc
$xslttool com.dotcms.rendering.velocity.viewtools.XsltTool JavaDoc
$xsstool com.dotcms.rendering.velocity.viewtools.XssWebAPI JavaDoc

Velocity Directives

#define ($var) ... #end

#foreach ($item in $list) ... #end

#if ... #elseif ... #else ... #end

#dotParse (String path)

#dotInclude (String path)

#evaluate (String string)

#parseContainer (String containerInode, String timestemp)

#macro (MacroName $param(s)...) ... #end


Other