@ProviderType
public class DDMTemplateManagerUtil
extends Object
Constructor and Description |
---|
DDMTemplateManagerUtil() |
Modifier and Type | Method and Description |
---|---|
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) |
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
PortalException
public static DDMTemplate fetchTemplate(long groupId, long classNameId, String templateKey)
public static DDMTemplate getTemplate(long templateId) throws PortalException
PortalException