|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Template | |
com.arsdigita.cms | Contains the core classes for the Red Hat Content Management
System (CMS), classes that persist the fundamental objects for CMS
such as content items , templates , content sections , and content types . |
com.arsdigita.cms.contenttypes | |
com.arsdigita.cms.dispatcher | Provides a set of classes that serves requests to the Content Management System. |
com.arsdigita.cms.ui.templates |
Uses of Template in com.arsdigita.cms |
Methods in com.arsdigita.cms that return Template | |
Template |
StandalonePage.getTemplate()
Return the internal template used by this page. |
protected static Template |
SectionTemplateMapping.getDefaultTemplate(ContentSection section,
ContentType type,
String useContext,
com.arsdigita.mimetypes.MimeType mimeType)
Get the default template for the given use context and mime type |
protected static Template |
SectionTemplateMapping.getDefaultTemplate(ContentSection section,
ContentType type,
String useContext)
Deprecated. use getDefaultTemplates with the MimeType or use the collection since there can be one default per mime type per context |
protected static Template |
ItemTemplateMapping.getTemplate(ContentItem item,
String useContext)
Deprecated. use getTemplate(ContentItem item, String useContext, MimeType mimeType) |
protected static Template |
ItemTemplateMapping.getTemplate(ContentItem item,
String useContext,
com.arsdigita.mimetypes.MimeType mimeType)
Get the template for the item in the specified use context. |
Template |
TemplateManager.getTemplate(ContentItem item,
String context)
Retrieve a template for the item in the given use context. |
Template |
TemplateManager.getDefaultTemplate(ContentSection section,
ContentType type,
String context)
Deprecated. Use getDefaultTemplate(ContentSection, ContentType, String, MimeType) |
Template |
TemplateManager.getDefaultTemplate(ContentSection section,
ContentType type,
String context,
com.arsdigita.mimetypes.MimeType mimeType)
Get the default template for the given section, type and use context |
Template |
DefaultTemplateManager.getTemplate(ContentItem item,
String context)
Retrieve a template for the item in the given use context. |
Template |
DefaultTemplateManager.getDefaultTemplate(ContentSection section,
ContentType type,
String context)
Get the default template for the given section, type and use context |
Template |
DefaultTemplateManager.getDefaultTemplate(ContentSection section,
ContentType type,
String context,
com.arsdigita.mimetypes.MimeType mimeType)
Get the default template for the given section, type and use context |
Template |
TemplateMapping.getTemplate()
Return the template for this mapping |
static Template |
CategoryTemplateMapping.getDefaultTemplate(com.arsdigita.categorization.Category category,
ContentType type,
String useContext)
Get the default template for the given use context |
abstract Template |
TemplateCollection.getTemplate()
Return the current template |
Template |
CategoryTemplateCollection.getTemplate()
Return the current template |
Methods in com.arsdigita.cms with parameters of type Template | |
void |
StandalonePage.setTemplate(Template t)
Set the internal template used by this page. |
protected static SectionTemplateMapping |
SectionTemplateMapping.getMapping(ContentSection section,
ContentType type,
Template template,
String useContext)
Deprecated. use getMapping(ContentSection section, ContentType type, Template template, String useContext, MimeType mimeType) |
protected static SectionTemplateMapping |
SectionTemplateMapping.getMapping(ContentSection section,
ContentType type,
Template template,
String useContext,
com.arsdigita.mimetypes.MimeType mimeType)
Load the specified mapping; return null if no such mapping exists |
static ItemTemplateMapping |
ItemTemplateMapping.getMapping(ContentItem item,
String useContext,
Template template)
|
protected static com.arsdigita.cms.ItemTemplateCollection |
ItemTemplateMapping.getItems(Template template)
Retrieve all content items for the given template, along with their use context |
void |
TemplateManager.addTemplate(ContentItem item,
Template template,
String context)
Assign a template to the item in the given context. |
void |
TemplateManager.removeTemplate(ContentItem item,
Template template,
String context)
Unassign a template from the item in the given context. |
void |
TemplateManager.addTemplate(ContentSection section,
ContentType type,
Template template,
String context)
Add a template to the given content type for the given content section. |
void |
TemplateManager.removeTemplate(ContentSection section,
ContentType type,
Template template,
String context)
Remove the specified template from the content type in the given context. |
void |
TemplateManager.addTemplate(ContentSection section,
ContentType type,
Template template,
String context,
boolean isDefault)
Add a template to the given content type for the given content section. |
void |
TemplateManager.setDefaultTemplate(ContentSection section,
ContentType type,
Template template,
String context)
Designate the given template as the default template within its use context. |
void |
DefaultTemplateManager.addTemplate(ContentItem item,
Template template,
String context,
com.arsdigita.mimetypes.MimeType mimeType)
Assign a template to the item in the given context. |
void |
DefaultTemplateManager.addTemplate(ContentItem item,
Template template,
String context)
|
void |
DefaultTemplateManager.removeTemplate(ContentItem item,
Template template,
String context)
Unassign a template from the item in the given context. |
void |
DefaultTemplateManager.addTemplate(ContentSection section,
ContentType type,
Template template,
String context,
boolean isDefault)
Add a template to the given content type for the given content section. |
void |
DefaultTemplateManager.setDefaultTemplate(ContentSection section,
ContentType type,
Template template,
String useContext)
Designate the given template as the default template within its use context. |
void |
DefaultTemplateManager.addTemplate(ContentSection section,
ContentType type,
Template template,
String context)
Add a template to the given content type for the given content section. |
void |
DefaultTemplateManager.removeTemplate(ContentSection section,
ContentType type,
Template template,
String context)
Remove the specified template from the content type in the given context. |
void |
TemplateMapping.setTemplate(Template t)
Set the new template for this mapping |
static CategoryTemplateMapping |
CategoryTemplateMapping.getMapping(com.arsdigita.categorization.Category category,
ContentType type,
Template template,
String useContext)
Load the specified mapping; return null if no such mapping exists |
Uses of Template in com.arsdigita.cms.contenttypes |
Methods in com.arsdigita.cms.contenttypes that return Template | |
protected Template |
AbstractContentTypeLoader.setDefaultTemplate(String name,
String label,
URL templateURL,
ContentSection section,
ContentType type,
LifecycleDefinition ld,
com.arsdigita.workflow.simple.WorkflowTemplate wf)
This provides an easy way to subtypes to register default templates during the loading. |
Uses of Template in com.arsdigita.cms.dispatcher |
Methods in com.arsdigita.cms.dispatcher with parameters of type Template | |
String |
DefaultTemplateResolver.getTemplatePath(Template template)
Returns the JSP template filename relative to the webapp root for a given Template reference. |
String |
DefaultTemplateResolver.getTemplateXSLPath(Template template)
Returns the XSL template filename relative to the webapp root for a given Template reference. |
protected String |
DefaultTemplateResolver.getTemplateFilename(Template template,
ContentSection section,
ContentItem item,
javax.servlet.http.HttpServletRequest request)
Returns the filename for a Template object |
protected String |
DefaultTemplateResolver.getTemplateXSLFilename(Template template,
ContentSection section,
ContentItem item,
javax.servlet.http.HttpServletRequest request)
Returns the filename for a Template object |
protected String |
DefaultTemplateResolver.getTemplateFilename(Template template,
ContentSection section)
Returns the filename for a Template object |
protected String |
DefaultTemplateResolver.getTemplateXSLFilename(Template template,
ContentSection section)
Returns the filename for a Template object |
String |
CategoryItemResolverImpl.getTemplateXSLPath(Template template)
|
String |
CategoryItemResolverImpl.getTemplatePath(Template template)
|
abstract String |
AbstractTemplateResolver.getTemplatePath(Template template)
|
static void |
ContentItemDispatcher.cachePut(ContentItem item,
Template t)
Method cachePut. |
static void |
ContentItemDispatcher.cachePut(ContentSection section,
ContentType type,
Template t)
Method cachePut. |
String |
TemplateResolver.getTemplatePath(Template template)
Returns the JSP template filename relative to the webapp root for a given Template reference. |
String |
TemplateResolver.getTemplateXSLPath(Template template)
Returns the XSL template filename relative to the webapp root for a given Template reference. |
Uses of Template in com.arsdigita.cms.ui.templates |
Methods in com.arsdigita.cms.ui.templates with parameters of type Template | |
void |
CategoryTemplates.AvailableTemplatesListing.assignTemplate(com.arsdigita.bebop.PageState s,
Template t)
Assign a template to the current item |
void |
ItemTemplates.AvailableTemplatesListing.assignTemplate(com.arsdigita.bebop.PageState s,
Template t)
Assign a template to the current item |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |