Liferay 7.0-ce-m6

com.liferay.portlet.dynamicdatamapping.model.impl
Class DDMTemplateImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<DDMTemplate>
      extended by com.liferay.portlet.dynamicdatamapping.model.impl.DDMTemplateModelImpl
          extended by com.liferay.portlet.dynamicdatamapping.model.impl.DDMTemplateBaseImpl
              extended by com.liferay.portlet.dynamicdatamapping.model.impl.DDMTemplateImpl
All Implemented Interfaces:
AttachedModel, AuditedModel, BaseModel<DDMTemplate>, ClassedModel, GroupedModel, LocalizedModel, PersistedModel, StagedGroupedModel, StagedModel, TypedModel, DDMTemplate, DDMTemplateModel, Serializable, Cloneable, Comparable<DDMTemplate>

public class DDMTemplateImpl
extends DDMTemplateBaseImpl

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.liferay.portlet.dynamicdatamapping.model.impl.DDMTemplateModelImpl
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_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TEMPLATEID_COLUMN_BITMASK, TEMPLATEKEY_COLUMN_BITMASK, TX_MANAGER, TYPE_COLUMN_BITMASK, UUID_COLUMN_BITMASK
 
Constructor Summary
DDMTemplateImpl()
           
 
Method Summary
 String getDefaultLanguageId()
           
 String getSmallImageType()
           
 String getTemplateImageURL(ThemeDisplay themeDisplay)
           
 DDMTemplateVersion getTemplateVersion()
           
 String getWebDavURL(ThemeDisplay themeDisplay, String webDAVToken)
          Returns the WebDAV URL to access the template.
 void setSmallImageType(String smallImageType)
           
 
Methods inherited from class com.liferay.portlet.dynamicdatamapping.model.impl.DDMTemplateBaseImpl
persist
 
Methods inherited from class com.liferay.portlet.dynamicdatamapping.model.impl.DDMTemplateModelImpl
clone, compareTo, equals, getAvailableLanguageIds, getCacheable, getClassName, getClassNameId, getClassPK, getColumnBitmask, getCompanyId, getCreateDate, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getExpandoBridge, getGroupId, getLanguage, 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, 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
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.dynamicdatamapping.model.DDMTemplateModel
clone, compareTo, getAvailableLanguageIds, getCacheable, getClassName, getClassNameId, getClassPK, getCompanyId, getCreateDate, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getExpandoBridge, getGroupId, getLanguage, 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, 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
 
Methods inherited from interface com.liferay.portal.model.BaseModel
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 
Methods inherited from interface com.liferay.portal.model.StagedModel
getStagedModelType
 

Constructor Detail

DDMTemplateImpl

public DDMTemplateImpl()
Method Detail

getDefaultLanguageId

public String getDefaultLanguageId()
Specified by:
getDefaultLanguageId in interface LocalizedModel
Specified by:
getDefaultLanguageId in interface DDMTemplateModel
Overrides:
getDefaultLanguageId in class DDMTemplateModelImpl

getSmallImageType

public String getSmallImageType()
                         throws PortalException
Throws:
PortalException

getTemplateImageURL

public String getTemplateImageURL(ThemeDisplay themeDisplay)

getTemplateVersion

public DDMTemplateVersion getTemplateVersion()
                                      throws PortalException
Throws:
PortalException

getWebDavURL

public String getWebDavURL(ThemeDisplay themeDisplay,
                           String webDAVToken)
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

setSmallImageType

public void setSmallImageType(String smallImageType)

Liferay 7.0-ce-m6