|
Liferay 7.0-ce-m6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ProviderType public interface DDMTemplateVersionModel
The base model interface for the DDMTemplateVersion service. Represents a row in the "DDMTemplateVersion" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.portlet.dynamicdatamapping.model.impl.DDMTemplateVersionModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portlet.dynamicdatamapping.model.impl.DDMTemplateVersionImpl.
DDMTemplateVersion,
com.liferay.portlet.dynamicdatamapping.model.impl.DDMTemplateVersionImpl,
com.liferay.portlet.dynamicdatamapping.model.impl.DDMTemplateVersionModelImpl| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(DDMTemplateVersion ddmTemplateVersion)
|
boolean |
getApproved()
Deprecated. As of 6.1.0, replaced by isApproved() |
String[] |
getAvailableLanguageIds()
|
String |
getClassName()
Returns the fully qualified class name of this d d m template version. |
long |
getClassNameId()
Returns the class name ID of this d d m template version. |
long |
getClassPK()
Returns the class p k of this d d m template version. |
long |
getCompanyId()
Returns the company ID of this d d m template version. |
Date |
getCreateDate()
Returns the create date of this d d m template version. |
String |
getDefaultLanguageId()
|
String |
getDescription()
Returns the description of this d d m template version. |
String |
getDescription(Locale locale)
Returns the localized description of this d d m template version in the language. |
String |
getDescription(Locale locale,
boolean useDefault)
Returns the localized description of this d d m template version in the language, optionally using the default language if no localization exists for the requested language. |
String |
getDescription(String languageId)
Returns the localized description of this d d m template version in the language. |
String |
getDescription(String languageId,
boolean useDefault)
Returns the localized description of this d d m template version in the language, optionally using the default language if no localization exists for the requested language. |
String |
getDescriptionCurrentLanguageId()
|
String |
getDescriptionCurrentValue()
|
Map<Locale,String> |
getDescriptionMap()
Returns a map of the locales and localized descriptions of this d d m template version. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this d d m template version. |
String |
getLanguage()
Returns the language of this d d m template version. |
String |
getName()
Returns the name of this d d m template version. |
String |
getName(Locale locale)
Returns the localized name of this d d m template version in the language. |
String |
getName(Locale locale,
boolean useDefault)
Returns the localized name of this d d m template version in the language, optionally using the default language if no localization exists for the requested language. |
String |
getName(String languageId)
Returns the localized name of this d d m template version in the language. |
String |
getName(String languageId,
boolean useDefault)
Returns the localized name of this d d m template version in the language, optionally using the default language if no localization exists for the requested language. |
String |
getNameCurrentLanguageId()
|
String |
getNameCurrentValue()
|
Map<Locale,String> |
getNameMap()
Returns a map of the locales and localized names of this d d m template version. |
long |
getPrimaryKey()
Returns the primary key of this d d m template version. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
String |
getScript()
Returns the script of this d d m template version. |
int |
getStatus()
Returns the status of this d d m template version. |
long |
getStatusByUserId()
Returns the status by user ID of this d d m template version. |
String |
getStatusByUserName()
Returns the status by user name of this d d m template version. |
String |
getStatusByUserUuid()
Returns the status by user uuid of this d d m template version. |
Date |
getStatusDate()
Returns the status date of this d d m template version. |
long |
getTemplateId()
Returns the template ID of this d d m template version. |
long |
getTemplateVersionId()
Returns the template version ID of this d d m template version. |
long |
getUserId()
Returns the user ID of this d d m template version. |
String |
getUserName()
Returns the user name of this d d m template version. |
String |
getUserUuid()
Returns the user uuid of this d d m template version. |
String |
getVersion()
Returns the version of this d d m template version. |
int |
hashCode()
|
boolean |
isApproved()
Returns true if this d d m template version is approved. |
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isDenied()
Returns true if this d d m template version is denied. |
boolean |
isDraft()
Returns true if this d d m template version is a draft. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isExpired()
Returns true if this d d m template version is expired. |
boolean |
isInactive()
Returns true if this d d m template version is inactive. |
boolean |
isIncomplete()
Returns true if this d d m template version is incomplete. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
boolean |
isPending()
Returns true if this d d m template version is pending. |
boolean |
isScheduled()
Returns true if this d d m template version is scheduled. |
void |
prepareLocalizedFieldsForImport()
|
void |
prepareLocalizedFieldsForImport(Locale defaultImportLocale)
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setClassName(String className)
|
void |
setClassNameId(long classNameId)
Sets the class name ID of this d d m template version. |
void |
setClassPK(long classPK)
Sets the class p k of this d d m template version. |
void |
setCompanyId(long companyId)
Sets the company ID of this d d m template version. |
void |
setCreateDate(Date createDate)
Sets the create date of this d d m template version. |
void |
setDescription(String description)
Sets the description of this d d m template version. |
void |
setDescription(String description,
Locale locale)
Sets the localized description of this d d m template version in the language. |
void |
setDescription(String description,
Locale locale,
Locale defaultLocale)
Sets the localized description of this d d m template version in the language, and sets the default locale. |
void |
setDescriptionCurrentLanguageId(String languageId)
|
void |
setDescriptionMap(Map<Locale,String> descriptionMap)
Sets the localized descriptions of this d d m template version from the map of locales and localized descriptions. |
void |
setDescriptionMap(Map<Locale,String> descriptionMap,
Locale defaultLocale)
Sets the localized descriptions of this d d m template version from the map of locales and localized descriptions, and sets the default locale. |
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setGroupId(long groupId)
Sets the group ID of this d d m template version. |
void |
setLanguage(String language)
Sets the language of this d d m template version. |
void |
setName(String name)
Sets the name of this d d m template version. |
void |
setName(String name,
Locale locale)
Sets the localized name of this d d m template version in the language. |
void |
setName(String name,
Locale locale,
Locale defaultLocale)
Sets the localized name of this d d m template version in the language, and sets the default locale. |
void |
setNameCurrentLanguageId(String languageId)
|
void |
setNameMap(Map<Locale,String> nameMap)
Sets the localized names of this d d m template version from the map of locales and localized names. |
void |
setNameMap(Map<Locale,String> nameMap,
Locale defaultLocale)
Sets the localized names of this d d m template version from the map of locales and localized names, and sets the default locale. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this d d m template version. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setScript(String script)
Sets the script of this d d m template version. |
void |
setStatus(int status)
Sets the status of this d d m template version. |
void |
setStatusByUserId(long statusByUserId)
Sets the status by user ID of this d d m template version. |
void |
setStatusByUserName(String statusByUserName)
Sets the status by user name of this d d m template version. |
void |
setStatusByUserUuid(String statusByUserUuid)
Sets the status by user uuid of this d d m template version. |
void |
setStatusDate(Date statusDate)
Sets the status date of this d d m template version. |
void |
setTemplateId(long templateId)
Sets the template ID of this d d m template version. |
void |
setTemplateVersionId(long templateVersionId)
Sets the template version ID of this d d m template version. |
void |
setUserId(long userId)
Sets the user ID of this d d m template version. |
void |
setUserName(String userName)
Sets the user name of this d d m template version. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this d d m template version. |
void |
setVersion(String version)
Sets the version of this d d m template version. |
CacheModel<DDMTemplateVersion> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
DDMTemplateVersion |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
DDMTemplateVersion |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| 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 |
| Method Detail |
|---|
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this d d m template versionlong getTemplateVersionId()
void setTemplateVersionId(long templateVersionId)
templateVersionId - the template version ID of this d d m template versionlong getGroupId()
void setGroupId(long groupId)
groupId - the group ID of this d d m template versionlong getCompanyId()
void setCompanyId(long companyId)
companyId - the company ID of this d d m template versionlong getUserId()
void setUserId(long userId)
userId - the user ID of this d d m template versionString getUserUuid()
void setUserUuid(String userUuid)
userUuid - the user uuid of this d d m template version@AutoEscape String getUserName()
void setUserName(String userName)
userName - the user name of this d d m template versionDate getCreateDate()
void setCreateDate(Date createDate)
createDate - the create date of this d d m template versionString getClassName()
getClassName in interface TypedModelvoid setClassName(String className)
long getClassNameId()
getClassNameId in interface TypedModelvoid setClassNameId(long classNameId)
setClassNameId in interface TypedModelclassNameId - the class name ID of this d d m template versionlong getClassPK()
getClassPK in interface AttachedModelvoid setClassPK(long classPK)
setClassPK in interface AttachedModelclassPK - the class p k of this d d m template versionlong getTemplateId()
void setTemplateId(long templateId)
templateId - the template ID of this d d m template version@AutoEscape String getVersion()
void setVersion(String version)
version - the version of this d d m template versionString getName()
@AutoEscape String getName(Locale locale)
locale - the locale of the language
@AutoEscape
String getName(Locale locale,
boolean useDefault)
locale - the local of the languageuseDefault - whether to use the default language if no localization exists for the requested language
useDefault is false and no localization exists for the requested language, an empty string will be returned.@AutoEscape String getName(String languageId)
languageId - the ID of the language
@AutoEscape
String getName(String languageId,
boolean useDefault)
languageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested language
@AutoEscape String getNameCurrentLanguageId()
@AutoEscape String getNameCurrentValue()
Map<Locale,String> getNameMap()
void setName(String name)
name - the name of this d d m template version
void setName(String name,
Locale locale)
name - the localized name of this d d m template versionlocale - the locale of the language
void setName(String name,
Locale locale,
Locale defaultLocale)
name - the localized name of this d d m template versionlocale - the locale of the languagedefaultLocale - the default localevoid setNameCurrentLanguageId(String languageId)
void setNameMap(Map<Locale,String> nameMap)
nameMap - the locales and localized names of this d d m template version
void setNameMap(Map<Locale,String> nameMap,
Locale defaultLocale)
nameMap - the locales and localized names of this d d m template versiondefaultLocale - the default localeString getDescription()
@AutoEscape String getDescription(Locale locale)
locale - the locale of the language
@AutoEscape
String getDescription(Locale locale,
boolean useDefault)
locale - the local of the languageuseDefault - whether to use the default language if no localization exists for the requested language
useDefault is false and no localization exists for the requested language, an empty string will be returned.@AutoEscape String getDescription(String languageId)
languageId - the ID of the language
@AutoEscape
String getDescription(String languageId,
boolean useDefault)
languageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested language
@AutoEscape String getDescriptionCurrentLanguageId()
@AutoEscape String getDescriptionCurrentValue()
Map<Locale,String> getDescriptionMap()
void setDescription(String description)
description - the description of this d d m template version
void setDescription(String description,
Locale locale)
description - the localized description of this d d m template versionlocale - the locale of the language
void setDescription(String description,
Locale locale,
Locale defaultLocale)
description - the localized description of this d d m template versionlocale - the locale of the languagedefaultLocale - the default localevoid setDescriptionCurrentLanguageId(String languageId)
void setDescriptionMap(Map<Locale,String> descriptionMap)
descriptionMap - the locales and localized descriptions of this d d m template version
void setDescriptionMap(Map<Locale,String> descriptionMap,
Locale defaultLocale)
descriptionMap - the locales and localized descriptions of this d d m template versiondefaultLocale - the default locale@AutoEscape String getLanguage()
void setLanguage(String language)
language - the language of this d d m template version@AutoEscape String getScript()
void setScript(String script)
script - the script of this d d m template versionint getStatus()
getStatus in interface WorkflowedModelvoid setStatus(int status)
setStatus in interface WorkflowedModelstatus - the status of this d d m template versionlong getStatusByUserId()
getStatusByUserId in interface WorkflowedModelvoid setStatusByUserId(long statusByUserId)
setStatusByUserId in interface WorkflowedModelstatusByUserId - the status by user ID of this d d m template versionString getStatusByUserUuid()
getStatusByUserUuid in interface WorkflowedModelvoid setStatusByUserUuid(String statusByUserUuid)
setStatusByUserUuid in interface WorkflowedModelstatusByUserUuid - the status by user uuid of this d d m template version@AutoEscape String getStatusByUserName()
getStatusByUserName in interface WorkflowedModelvoid setStatusByUserName(String statusByUserName)
setStatusByUserName in interface WorkflowedModelstatusByUserName - the status by user name of this d d m template versionDate getStatusDate()
getStatusDate in interface WorkflowedModelvoid setStatusDate(Date statusDate)
setStatusDate in interface WorkflowedModelstatusDate - the status date of this d d m template version@Deprecated boolean getApproved()
isApproved()
getApproved in interface WorkflowedModelboolean isApproved()
true if this d d m template version is approved.
isApproved in interface WorkflowedModeltrue if this d d m template version is approved; false otherwiseboolean isDenied()
true if this d d m template version is denied.
isDenied in interface WorkflowedModeltrue if this d d m template version is denied; false otherwiseboolean isDraft()
true if this d d m template version is a draft.
isDraft in interface WorkflowedModeltrue if this d d m template version is a draft; false otherwiseboolean isExpired()
true if this d d m template version is expired.
isExpired in interface WorkflowedModeltrue if this d d m template version is expired; false otherwiseboolean isInactive()
true if this d d m template version is inactive.
isInactive in interface WorkflowedModeltrue if this d d m template version is inactive; false otherwiseboolean isIncomplete()
true if this d d m template version is incomplete.
isIncomplete in interface WorkflowedModeltrue if this d d m template version is incomplete; false otherwiseboolean isPending()
true if this d d m template version is pending.
isPending in interface WorkflowedModeltrue if this d d m template version is pending; false otherwiseboolean isScheduled()
true if this d d m template version is scheduled.
isScheduled in interface WorkflowedModeltrue if this d d m template version is scheduled; false otherwiseboolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<DDMTemplateVersion>true if this model instance does not yet exist in
the database; false otherwisevoid setNew(boolean n)
BaseModel
setNew in interface BaseModel<DDMTemplateVersion>n - whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<DDMTemplateVersion>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<DDMTemplateVersion>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<DDMTemplateVersion>true if this model instance is escaped;
false otherwiseSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<DDMTemplateVersion>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<DDMTemplateVersion>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<DDMTemplateVersion>getExpandoBridge in interface ClassedModelvoid setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<DDMTemplateVersion>void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<DDMTemplateVersion>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<DDMTemplateVersion>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface LocalizedModelString getDefaultLanguageId()
getDefaultLanguageId in interface LocalizedModel
void prepareLocalizedFieldsForImport()
throws LocaleException
prepareLocalizedFieldsForImport in interface LocalizedModelLocaleException
void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
throws LocaleException
prepareLocalizedFieldsForImport in interface LocalizedModelLocaleExceptionObject clone()
BaseModel
clone in interface BaseModel<DDMTemplateVersion>int compareTo(DDMTemplateVersion ddmTemplateVersion)
compareTo in interface Comparable<DDMTemplateVersion>int hashCode()
hashCode in class ObjectCacheModel<DDMTemplateVersion> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<DDMTemplateVersion>DDMTemplateVersion toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<DDMTemplateVersion>AutoEscapeBeanHandlerDDMTemplateVersion toUnescapedModel()
toUnescapedModel in interface BaseModel<DDMTemplateVersion>String toString()
toString in class ObjectString toXmlString()
BaseModel
toXmlString in interface BaseModel<DDMTemplateVersion>
|
Liferay 7.0-ce-m6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||