com.liferay.portlet.dynamicdatamapping
Class DDMTemplateManagerUtil
java.lang.Object
com.liferay.portlet.dynamicdatamapping.DDMTemplateManagerUtil
public class DDMTemplateManagerUtil
- extends Object
|
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 |
DDMTemplateManagerUtil
public DDMTemplateManagerUtil()
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