@ProviderType
public interface DDMTemplateManager
Modifier and Type | Field and Description |
---|---|
static String |
TEMPLATE_MODE_CREATE |
static String |
TEMPLATE_TYPE_DISPLAY |
static String |
TEMPLATE_TYPE_MACRO |
static String |
TEMPLATE_VERSION_DEFAULT |
Modifier and Type | Method and Description |
---|---|
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) |
default DDMTemplate |
updateTemplate(long userId,
long templateId,
long classPK,
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 final String TEMPLATE_MODE_CREATE
static final String TEMPLATE_TYPE_DISPLAY
static final String TEMPLATE_TYPE_MACRO
static final String TEMPLATE_VERSION_DEFAULT
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
PortalException
DDMTemplate fetchTemplate(long groupId, long classNameId, String templateKey)
DDMTemplate getTemplate(long templateId) throws PortalException
PortalException
default DDMTemplate updateTemplate(long userId, long templateId, long classPK, 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
PortalException