public class TranslationEntryWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<TranslationEntry> implements com.liferay.portal.kernel.model.ModelWrapper<TranslationEntry>, TranslationEntry
This class is a wrapper for TranslationEntry.
TranslationEntry,
Serialized FormTRANSLATION_ENTRY_ID_ACCESSOR| Constructor and Description |
|---|
TranslationEntryWrapper(TranslationEntry translationEntry) |
| Modifier and Type | Method and Description |
|---|---|
TranslationEntry |
cloneWithOriginalValues() |
java.util.Map<java.lang.String,java.util.function.Function<TranslationEntry,java.lang.Object>> |
getAttributeGetterFunctions() |
java.util.Map<java.lang.String,java.util.function.BiConsumer<TranslationEntry,java.lang.Object>> |
getAttributeSetterBiConsumers() |
java.lang.String |
getClassName()
Returns the fully qualified class name of this translation entry.
|
long |
getClassNameId()
Returns the class name ID of this translation entry.
|
long |
getClassPK()
Returns the class pk of this translation entry.
|
long |
getCompanyId()
Returns the company ID of this translation entry.
|
java.lang.String |
getContent()
Returns the content of this translation entry.
|
java.lang.String |
getContentType()
Returns the content type of this translation entry.
|
java.util.Date |
getCreateDate()
Returns the create date of this translation entry.
|
long |
getCtCollectionId()
Returns the ct collection ID of this translation entry.
|
long |
getGroupId()
Returns the group ID of this translation entry.
|
com.liferay.info.item.InfoItemFieldValues |
getInfoItemFieldValues(long groupId,
java.lang.String className,
long classPK,
java.lang.String content) |
java.lang.String |
getLanguageId()
Returns the language ID of this translation entry.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this translation entry.
|
long |
getMvccVersion()
Returns the mvcc version of this translation entry.
|
long |
getPrimaryKey()
Returns the primary key of this translation entry.
|
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
int |
getStatus()
Returns the status of this translation entry.
|
long |
getStatusByUserId()
Returns the status by user ID of this translation entry.
|
java.lang.String |
getStatusByUserName()
Returns the status by user name of this translation entry.
|
java.lang.String |
getStatusByUserUuid()
Returns the status by user uuid of this translation entry.
|
java.util.Date |
getStatusDate()
Returns the status date of this translation entry.
|
long |
getTranslationEntryId()
Returns the translation entry ID of this translation entry.
|
long |
getUserId()
Returns the user ID of this translation entry.
|
java.lang.String |
getUserName()
Returns the user name of this translation entry.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this translation entry.
|
java.lang.String |
getUuid()
Returns the uuid of this translation entry.
|
boolean |
isApproved()
Returns
true if this translation entry is approved. |
boolean |
isDenied()
Returns
true if this translation entry is denied. |
boolean |
isDraft()
Returns
true if this translation entry is a draft. |
boolean |
isExpired()
Returns
true if this translation entry is expired. |
boolean |
isInactive()
Returns
true if this translation entry is inactive. |
boolean |
isIncomplete()
Returns
true if this translation entry is incomplete. |
boolean |
isPending()
Returns
true if this translation entry is pending. |
boolean |
isScheduled()
Returns
true if this translation entry is scheduled. |
void |
persist() |
void |
setClassName(java.lang.String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this translation entry.
|
void |
setClassPK(long classPK)
Sets the class pk of this translation entry.
|
void |
setCompanyId(long companyId)
Sets the company ID of this translation entry.
|
void |
setContent(java.lang.String content)
Sets the content of this translation entry.
|
void |
setContentType(java.lang.String contentType)
Sets the content type of this translation entry.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this translation entry.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this translation entry.
|
void |
setGroupId(long groupId)
Sets the group ID of this translation entry.
|
void |
setLanguageId(java.lang.String languageId)
Sets the language ID of this translation entry.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this translation entry.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this translation entry.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this translation entry.
|
void |
setStatus(int status)
Sets the status of this translation entry.
|
void |
setStatusByUserId(long statusByUserId)
Sets the status by user ID of this translation entry.
|
void |
setStatusByUserName(java.lang.String statusByUserName)
Sets the status by user name of this translation entry.
|
void |
setStatusByUserUuid(java.lang.String statusByUserUuid)
Sets the status by user uuid of this translation entry.
|
void |
setStatusDate(java.util.Date statusDate)
Sets the status date of this translation entry.
|
void |
setTranslationEntryId(long translationEntryId)
Sets the translation entry ID of this translation entry.
|
void |
setUserId(long userId)
Sets the user ID of this translation entry.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this translation entry.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this translation entry.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this translation entry.
|
java.lang.String |
toXmlString() |
protected TranslationEntryWrapper |
wrap(TranslationEntry translationEntry) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelpublic TranslationEntryWrapper(TranslationEntry translationEntry)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<TranslationEntry>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<TranslationEntry>public TranslationEntry cloneWithOriginalValues()
cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<TranslationEntry>cloneWithOriginalValues in interface TranslationEntryModelpublic java.lang.String getClassName()
getClassName in interface com.liferay.portal.kernel.model.TypedModelgetClassName in interface TranslationEntryModelpublic long getClassNameId()
getClassNameId in interface com.liferay.portal.kernel.model.TypedModelgetClassNameId in interface TranslationEntryModelpublic long getClassPK()
getClassPK in interface com.liferay.portal.kernel.model.AttachedModelgetClassPK in interface TranslationEntryModelpublic long getCompanyId()
getCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelgetCompanyId in interface TranslationEntryModelpublic java.lang.String getContent()
getContent in interface TranslationEntryModelpublic java.lang.String getContentType()
getContentType in interface TranslationEntryModelpublic java.util.Date getCreateDate()
getCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelgetCreateDate in interface TranslationEntryModelpublic long getCtCollectionId()
getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<TranslationEntry>getCtCollectionId in interface TranslationEntryModelpublic long getGroupId()
getGroupId in interface com.liferay.portal.kernel.model.GroupedModelgetGroupId in interface TranslationEntryModelpublic com.liferay.info.item.InfoItemFieldValues getInfoItemFieldValues(long groupId,
java.lang.String className,
long classPK,
java.lang.String content)
throws com.liferay.portal.kernel.exception.PortalException
getInfoItemFieldValues in interface TranslationEntrycom.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getLanguageId()
getLanguageId in interface TranslationEntryModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelgetModifiedDate in interface TranslationEntryModelpublic long getMvccVersion()
getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelgetMvccVersion in interface TranslationEntryModelpublic long getPrimaryKey()
getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<TranslationEntry>getPrimaryKey in interface TranslationEntryModelpublic int getStatus()
getStatus in interface com.liferay.portal.kernel.model.WorkflowedModelgetStatus in interface TranslationEntryModelpublic long getStatusByUserId()
getStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModelgetStatusByUserId in interface TranslationEntryModelpublic java.lang.String getStatusByUserName()
getStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModelgetStatusByUserName in interface TranslationEntryModelpublic java.lang.String getStatusByUserUuid()
getStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModelgetStatusByUserUuid in interface TranslationEntryModelpublic java.util.Date getStatusDate()
getStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModelgetStatusDate in interface TranslationEntryModelpublic long getTranslationEntryId()
getTranslationEntryId in interface TranslationEntryModelpublic long getUserId()
getUserId in interface com.liferay.portal.kernel.model.AuditedModelgetUserId in interface TranslationEntryModelpublic java.lang.String getUserName()
getUserName in interface com.liferay.portal.kernel.model.AuditedModelgetUserName in interface TranslationEntryModelpublic java.lang.String getUserUuid()
getUserUuid in interface com.liferay.portal.kernel.model.AuditedModelgetUserUuid in interface TranslationEntryModelpublic java.lang.String getUuid()
getUuid in interface com.liferay.portal.kernel.model.StagedModelgetUuid in interface TranslationEntryModelpublic boolean isApproved()
true if this translation entry is approved.isApproved in interface com.liferay.portal.kernel.model.WorkflowedModelisApproved in interface TranslationEntryModeltrue if this translation entry is approved; false otherwisepublic boolean isDenied()
true if this translation entry is denied.isDenied in interface com.liferay.portal.kernel.model.WorkflowedModelisDenied in interface TranslationEntryModeltrue if this translation entry is denied; false otherwisepublic boolean isDraft()
true if this translation entry is a draft.isDraft in interface com.liferay.portal.kernel.model.WorkflowedModelisDraft in interface TranslationEntryModeltrue if this translation entry is a draft; false otherwisepublic boolean isExpired()
true if this translation entry is expired.isExpired in interface com.liferay.portal.kernel.model.WorkflowedModelisExpired in interface TranslationEntryModeltrue if this translation entry is expired; false otherwisepublic boolean isInactive()
true if this translation entry is inactive.isInactive in interface com.liferay.portal.kernel.model.WorkflowedModelisInactive in interface TranslationEntryModeltrue if this translation entry is inactive; false otherwisepublic boolean isIncomplete()
true if this translation entry is incomplete.isIncomplete in interface com.liferay.portal.kernel.model.WorkflowedModelisIncomplete in interface TranslationEntryModeltrue if this translation entry is incomplete; false otherwisepublic boolean isPending()
true if this translation entry is pending.isPending in interface com.liferay.portal.kernel.model.WorkflowedModelisPending in interface TranslationEntryModeltrue if this translation entry is pending; false otherwisepublic boolean isScheduled()
true if this translation entry is scheduled.isScheduled in interface com.liferay.portal.kernel.model.WorkflowedModelisScheduled in interface TranslationEntryModeltrue if this translation entry is scheduled; false otherwisepublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setClassName(java.lang.String className)
setClassName in interface TranslationEntryModelpublic void setClassNameId(long classNameId)
setClassNameId in interface com.liferay.portal.kernel.model.TypedModelsetClassNameId in interface TranslationEntryModelclassNameId - the class name ID of this translation entrypublic void setClassPK(long classPK)
setClassPK in interface com.liferay.portal.kernel.model.AttachedModelsetClassPK in interface TranslationEntryModelclassPK - the class pk of this translation entrypublic void setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface com.liferay.portal.kernel.model.StagedModelsetCompanyId in interface TranslationEntryModelcompanyId - the company ID of this translation entrypublic void setContent(java.lang.String content)
setContent in interface TranslationEntryModelcontent - the content of this translation entrypublic void setContentType(java.lang.String contentType)
setContentType in interface TranslationEntryModelcontentType - the content type of this translation entrypublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelsetCreateDate in interface TranslationEntryModelcreateDate - the create date of this translation entrypublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<TranslationEntry>setCtCollectionId in interface TranslationEntryModelctCollectionId - the ct collection ID of this translation entrypublic void setGroupId(long groupId)
setGroupId in interface com.liferay.portal.kernel.model.GroupedModelsetGroupId in interface TranslationEntryModelgroupId - the group ID of this translation entrypublic void setLanguageId(java.lang.String languageId)
setLanguageId in interface TranslationEntryModellanguageId - the language ID of this translation entrypublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelsetModifiedDate in interface TranslationEntryModelmodifiedDate - the modified date of this translation entrypublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelsetMvccVersion in interface TranslationEntryModelmvccVersion - the mvcc version of this translation entrypublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<TranslationEntry>setPrimaryKey in interface TranslationEntryModelprimaryKey - the primary key of this translation entrypublic void setStatus(int status)
setStatus in interface com.liferay.portal.kernel.model.WorkflowedModelsetStatus in interface TranslationEntryModelstatus - the status of this translation entrypublic void setStatusByUserId(long statusByUserId)
setStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModelsetStatusByUserId in interface TranslationEntryModelstatusByUserId - the status by user ID of this translation entrypublic void setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModelsetStatusByUserName in interface TranslationEntryModelstatusByUserName - the status by user name of this translation entrypublic void setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModelsetStatusByUserUuid in interface TranslationEntryModelstatusByUserUuid - the status by user uuid of this translation entrypublic void setStatusDate(java.util.Date statusDate)
setStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModelsetStatusDate in interface TranslationEntryModelstatusDate - the status date of this translation entrypublic void setTranslationEntryId(long translationEntryId)
setTranslationEntryId in interface TranslationEntryModeltranslationEntryId - the translation entry ID of this translation entrypublic void setUserId(long userId)
setUserId in interface com.liferay.portal.kernel.model.AuditedModelsetUserId in interface TranslationEntryModeluserId - the user ID of this translation entrypublic void setUserName(java.lang.String userName)
setUserName in interface com.liferay.portal.kernel.model.AuditedModelsetUserName in interface TranslationEntryModeluserName - the user name of this translation entrypublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.portal.kernel.model.AuditedModelsetUserUuid in interface TranslationEntryModeluserUuid - the user uuid of this translation entrypublic void setUuid(java.lang.String uuid)
setUuid in interface com.liferay.portal.kernel.model.StagedModelsetUuid in interface TranslationEntryModeluuid - the uuid of this translation entrypublic java.lang.String toXmlString()
toXmlString in interface TranslationEntryModelpublic java.util.Map<java.lang.String,java.util.function.Function<TranslationEntry,java.lang.Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<TranslationEntry>public java.util.Map<java.lang.String,java.util.function.BiConsumer<TranslationEntry,java.lang.Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<TranslationEntry>public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelprotected TranslationEntryWrapper wrap(TranslationEntry translationEntry)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<TranslationEntry>