public class DDMTemplateImpl extends DDMTemplateBaseImpl
CLASSNAMEID_COLUMN_BITMASK, CLASSPK_COLUMN_BITMASK, COLUMN_BITMASK_ENABLED, COMPANYID_COLUMN_BITMASK, DATA_SOURCE, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, GROUPID_COLUMN_BITMASK, LANGUAGE_COLUMN_BITMASK, LOCK_EXPIRATION_TIME, MODE_COLUMN_BITMASK, ORDER_BY_JPQL, ORDER_BY_SQL, SESSION_FACTORY, SMALLIMAGEID_COLUMN_BITMASK, TABLE_COLUMNS, TABLE_COLUMNS_MAP, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TEMPLATEID_COLUMN_BITMASK, TEMPLATEKEY_COLUMN_BITMASK, TX_MANAGER, TYPE_COLUMN_BITMASK, UUID_COLUMN_BITMASK
TEMPLATE_ID_ACCESSOR
Constructor and Description |
---|
DDMTemplateImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDefaultLanguageId() |
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) |
persist
clone, compareTo, equals, getAvailableLanguageIds, getCacheable, getClassName, getClassNameId, getClassPK, getColumnBitmask, getCompanyId, getCreateDate, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getExpandoBridge, getGroupId, getLanguage, getLastPublishDate, getMode, getModelAttributes, getModelClass, getModelClassName, getModifiedDate, getName, getName, getName, getName, getName, getNameCurrentLanguageId, getNameCurrentValue, getNameMap, getOriginalClassNameId, getOriginalClassPK, getOriginalCompanyId, getOriginalGroupId, getOriginalLanguage, getOriginalMode, getOriginalSmallImageId, getOriginalTemplateKey, getOriginalType, getOriginalUuid, getPrimaryKey, getPrimaryKeyObj, getResourceClassNameId, getScript, getSmallImage, getSmallImageId, getSmallImageURL, getStagedModelType, getTemplateId, getTemplateKey, getType, getUserId, getUserName, getUserUuid, getUuid, getVersion, getVersionUserId, getVersionUserName, getVersionUserUuid, hashCode, hasSetModifiedDate, isCacheable, isEntityCacheEnabled, isFinderCacheEnabled, isSmallImage, prepareLocalizedFieldsForImport, prepareLocalizedFieldsForImport, resetOriginalValues, setCacheable, setClassName, setClassNameId, setClassPK, setCompanyId, setCreateDate, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setExpandoBridgeAttributes, setGroupId, setLanguage, setLastPublishDate, setMode, setModelAttributes, setModifiedDate, setName, setName, setName, setNameCurrentLanguageId, setNameMap, setNameMap, setPrimaryKey, setPrimaryKeyObj, setResourceClassNameId, setScript, setSmallImage, setSmallImageId, setSmallImageURL, setTemplateId, setTemplateKey, setType, setUserId, setUserName, setUserUuid, setUuid, setVersion, setVersionUserId, setVersionUserName, setVersionUserUuid, toCacheModel, toEscapedModel, toModel, toModels, toString, toXmlString
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, compareTo, getAvailableLanguageIds, getCacheable, getClassName, getClassNameId, getClassPK, getCompanyId, getCreateDate, 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
public java.lang.String getDefaultLanguageId()
getDefaultLanguageId
in interface DDMTemplateModel
getDefaultLanguageId
in interface com.liferay.portal.kernel.model.LocalizedModel
getDefaultLanguageId
in class DDMTemplateModelImpl
public DDMTemplateVersion getLatestTemplateVersion() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getSmallImageType() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getTemplateImageURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
public DDMTemplateVersion getTemplateVersion() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public 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 URLpublic void setSmallImageType(java.lang.String smallImageType)