com.dotmarketing.services
Class TemplateServices

java.lang.Object
  extended by com.dotmarketing.services.TemplateServices

public class TemplateServices
extends java.lang.Object

Author:
will To change this generated comment edit the template variable "typecomment": Window>Preferences>Java>Templates. To enable and disable the creation of type comments go to Window>Preferences>Java>Code Generation.

Constructor Summary
TemplateServices()
           
 
Method Summary
static java.io.InputStream buildVelocity(Template template, boolean EDIT_MODE)
           
static java.io.InputStream buildVelocity(Template template, Identifier identifier, boolean EDIT_MODE)
           
static void invalidate(Template template)
           
static void invalidate(Template template, boolean EDIT_MODE)
           
static void invalidate(Template template, Identifier identifier, boolean EDIT_MODE)
           
static void removeTemplateFile(Template asset, boolean EDIT_MODE)
           
static void removeTemplateFile(Template asset, Identifier identifier, boolean EDIT_MODE)
           
static void unpublishTemplateFile(Template asset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateServices

public TemplateServices()
Method Detail

invalidate

public static void invalidate(Template template)
                       throws DotStateException,
                              DotDataException
Throws:
DotStateException
DotDataException

invalidate

public static void invalidate(Template template,
                              boolean EDIT_MODE)
                       throws DotStateException,
                              DotDataException
Throws:
DotStateException
DotDataException

buildVelocity

public static java.io.InputStream buildVelocity(Template template,
                                                boolean EDIT_MODE)
                                         throws DotStateException,
                                                DotDataException
Throws:
DotStateException
DotDataException

buildVelocity

public static java.io.InputStream buildVelocity(Template template,
                                                Identifier identifier,
                                                boolean EDIT_MODE)

invalidate

public static void invalidate(Template template,
                              Identifier identifier,
                              boolean EDIT_MODE)

unpublishTemplateFile

public static void unpublishTemplateFile(Template asset)
                                  throws DotStateException,
                                         DotDataException
Throws:
DotStateException
DotDataException

removeTemplateFile

public static void removeTemplateFile(Template asset,
                                      boolean EDIT_MODE)
                               throws DotStateException,
                                      DotDataException
Throws:
DotStateException
DotDataException

removeTemplateFile

public static void removeTemplateFile(Template asset,
                                      Identifier identifier,
                                      boolean EDIT_MODE)


Copyright © 2013 dotCMS Inc. All Rights Reserved.