Interface DDMTemplate
- All Superinterfaces:
com.liferay.portal.kernel.model.AttachedModel
,com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<DDMTemplate>
,com.liferay.portal.kernel.model.ClassedModel
,Cloneable
,Comparable<DDMTemplate>
,com.liferay.portal.kernel.model.change.tracking.CTModel<DDMTemplate>
,DDMTemplateModel
,com.liferay.portal.kernel.model.ExternalReferenceCodeModel
,com.liferay.portal.kernel.model.GroupedModel
,com.liferay.portal.kernel.model.LocalizedModel
,com.liferay.portal.kernel.model.MVCCModel
,com.liferay.portal.kernel.model.PersistedModel
,Serializable
,com.liferay.portal.kernel.model.ShardedModel
,com.liferay.portal.kernel.model.StagedGroupedModel
,com.liferay.portal.kernel.model.StagedModel
,com.liferay.portal.kernel.model.TypedModel
- All Known Implementing Classes:
DDMTemplateWrapper
@ProviderType
public interface DDMTemplate
extends DDMTemplateModel, com.liferay.portal.kernel.model.PersistedModel
The extended model interface for the DDMTemplate service. Represents a row in the "DDMTemplate" database table, with each column mapped to a property of this class.
- See Also:
- Generated:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.liferay.portal.kernel.util.Accessor<DDMTemplate,
Long> -
Method Summary
Modifier and TypeMethodDescriptiongetTemplateImageURL
(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) getWebDavURL
(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, String webDAVToken) Returns the WebDAV URL to access the template.void
setResourceClassName
(String resourceClassName) void
setSmallImageType
(String smallImageType) Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.dynamic.data.mapping.model.DDMTemplateModel
cloneWithOriginalValues, getAvailableLanguageIds, getCacheable, getClassName, getClassNameId, getClassPK, getCompanyId, getCreateDate, getCtCollectionId, getDefaultLanguageId, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getExternalReferenceCode, getGroupId, getLanguage, getLastPublishDate, getMode, getModifiedDate, getMvccVersion, getName, getName, getName, getName, getName, getNameCurrentLanguageId, getNameCurrentValue, getNameMap, getPrimaryKey, getResourceClassNameId, getScript, getSmallImage, getSmallImageId, getSmallImageURL, getTemplateId, getTemplateKey, getType, getUserId, getUserName, getUserUuid, getUuid, getVersion, getVersionUserId, getVersionUserName, getVersionUserUuid, isCacheable, isSmallImage, prepareLocalizedFieldsForImport, prepareLocalizedFieldsForImport, setCacheable, setClassName, setClassNameId, setClassPK, setCompanyId, setCreateDate, setCtCollectionId, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setExternalReferenceCode, setGroupId, setLanguage, setLastPublishDate, setMode, setModifiedDate, setMvccVersion, setName, setName, setName, setNameCurrentLanguageId, setNameMap, setNameMap, setPrimaryKey, setResourceClassNameId, setScript, setSmallImage, setSmallImageId, setSmallImageURL, setTemplateId, setTemplateKey, setType, setUserId, setUserName, setUserUuid, setUuid, setVersion, setVersionUserId, setVersionUserName, setVersionUserUuid, toXmlString
Methods inherited from interface com.liferay.portal.kernel.model.PersistedModel
persist
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone, getStagedModelType
-
Field Details
-
TEMPLATE_ID_ACCESSOR
-
-
Method Details
-
getLatestTemplateVersion
DDMTemplateVersion getLatestTemplateVersion() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getResourceClassName
String getResourceClassName() -
getSmallImageType
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getTemplateImageURL
-
getTemplateVersion
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWebDavURL
Returns the WebDAV URL to access the template.- Parameters:
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 URL- Returns:
- the WebDAV URL
-
setResourceClassName
-
setSmallImageType
-