@ProviderType public interface DDMTemplate extends DDMTemplateModel, com.liferay.portal.kernel.model.PersistedModel
DDMTemplateModel
,
DDMTemplateImpl
,
DDMTemplateModelImpl
Modifier and Type | Field and Description |
---|---|
static com.liferay.portal.kernel.util.Accessor<DDMTemplate,java.lang.Long> |
TEMPLATE_ID_ACCESSOR |
Modifier and Type | Method and Description |
---|---|
DDMTemplateVersion |
getLatestTemplateVersion() |
java.lang.String |
getSmallImageType() |
java.lang.String |
getTemplateImageURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
DDMTemplateVersion |
getTemplateVersion() |
java.lang.String |
getWebDavURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
java.lang.String webDAVToken)
Returns the WebDAV URL to access the template.
|
void |
setSmallImageType(java.lang.String smallImageType) |
clone, compareTo, getAvailableLanguageIds, getCacheable, getClassName, getClassNameId, getClassPK, getCompanyId, getCreateDate, getDefaultLanguageId, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getExpandoBridge, getGroupId, getLanguage, getLastPublishDate, getMode, getModifiedDate, getName, getName, getName, getName, getName, getNameCurrentLanguageId, getNameCurrentValue, getNameMap, getPrimaryKey, getPrimaryKeyObj, getResourceClassNameId, getScript, getSmallImage, getSmallImageId, getSmallImageURL, getTemplateId, getTemplateKey, getType, getUserId, getUserName, getUserUuid, getUuid, getVersion, getVersionUserId, getVersionUserName, getVersionUserUuid, hashCode, isCacheable, isCachedModel, isEscapedModel, isNew, isSmallImage, prepareLocalizedFieldsForImport, prepareLocalizedFieldsForImport, setCacheable, setCachedModel, setClassName, setClassNameId, setClassPK, setCompanyId, setCreateDate, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setGroupId, setLanguage, setLastPublishDate, setMode, setModifiedDate, setName, setName, setName, setNameCurrentLanguageId, setNameMap, setNameMap, setNew, setPrimaryKey, setPrimaryKeyObj, setResourceClassNameId, setScript, setSmallImage, setSmallImageId, setSmallImageURL, setTemplateId, setTemplateKey, setType, setUserId, setUserName, setUserUuid, setUuid, setVersion, setVersionUserId, setVersionUserName, setVersionUserUuid, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes
static final com.liferay.portal.kernel.util.Accessor<DDMTemplate,java.lang.Long> TEMPLATE_ID_ACCESSOR
DDMTemplateVersion getLatestTemplateVersion() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.lang.String getSmallImageType() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.lang.String getTemplateImageURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
DDMTemplateVersion getTemplateVersion() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.lang.String getWebDavURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, java.lang.String webDAVToken)
themeDisplay
- the theme display needed to build the URL. It can
set HTTPS access, the server name, the server port, the path
context, and the scope group.webDAVToken
- the WebDAV token for the URLvoid setSmallImageType(java.lang.String smallImageType)