Liferay 7.0-ce-b4

com.liferay.portlet.dynamicdatamapping
Class DDMTemplateManagerUtil

java.lang.Object
  extended by com.liferay.portlet.dynamicdatamapping.DDMTemplateManagerUtil

public class DDMTemplateManagerUtil
extends Object


Constructor Summary
DDMTemplateManagerUtil()
           
 
Method Summary
static DDMTemplate addTemplate(long userId, long groupId, long classNameId, long classPK, long resourceClassNameId, String templateKey, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String type, String mode, String language, String script, boolean cacheable, boolean smallImage, String smallImageURL, File smallImageFile, ServiceContext serviceContext)
           
static DDMTemplate fetchTemplate(long groupId, long classNameId, String templateKey)
           
static DDMTemplate getTemplate(long templateId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDMTemplateManagerUtil

public DDMTemplateManagerUtil()
Method Detail

addTemplate

public static DDMTemplate addTemplate(long userId,
                                      long groupId,
                                      long classNameId,
                                      long classPK,
                                      long resourceClassNameId,
                                      String templateKey,
                                      Map<Locale,String> nameMap,
                                      Map<Locale,String> descriptionMap,
                                      String type,
                                      String mode,
                                      String language,
                                      String script,
                                      boolean cacheable,
                                      boolean smallImage,
                                      String smallImageURL,
                                      File smallImageFile,
                                      ServiceContext serviceContext)
                               throws PortalException
Throws:
PortalException

fetchTemplate

public static DDMTemplate fetchTemplate(long groupId,
                                        long classNameId,
                                        String templateKey)

getTemplate

public static DDMTemplate getTemplate(long templateId)
                               throws PortalException
Throws:
PortalException

Liferay 7.0-ce-b4