Liferay 7.0-ce-b4

com.liferay.portlet.dynamicdatamapping
Interface DDMTemplateManager


public interface DDMTemplateManager


Field Summary
static String TEMPLATE_MODE_CREATE
           
static String TEMPLATE_TYPE_DISPLAY
           
static String TEMPLATE_TYPE_MACRO
           
static String TEMPLATE_VERSION_DEFAULT
           
 
Method Summary
 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)
           
 DDMTemplate fetchTemplate(long groupId, long classNameId, String templateKey)
           
 DDMTemplate getTemplate(long templateId)
           
 

Field Detail

TEMPLATE_MODE_CREATE

static final String TEMPLATE_MODE_CREATE
See Also:
Constant Field Values

TEMPLATE_TYPE_DISPLAY

static final String TEMPLATE_TYPE_DISPLAY
See Also:
Constant Field Values

TEMPLATE_TYPE_MACRO

static final String TEMPLATE_TYPE_MACRO
See Also:
Constant Field Values

TEMPLATE_VERSION_DEFAULT

static final String TEMPLATE_VERSION_DEFAULT
See Also:
Constant Field Values
Method Detail

addTemplate

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

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

getTemplate

DDMTemplate getTemplate(long templateId)
                        throws PortalException
Throws:
PortalException

Liferay 7.0-ce-b4