com.liferay.portlet.dynamicdatamapping
Interface DDMTemplateManager
public interface DDMTemplateManager
|
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)
|
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
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