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 |
---|---|
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.
|
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, toUnescapedModel, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public 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 java.lang.String getClassName()
getClassName
in interface com.liferay.portal.kernel.model.TypedModel
getClassName
in interface TranslationEntryModel
public long getClassNameId()
getClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
getClassNameId
in interface TranslationEntryModel
public long getClassPK()
getClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
getClassPK
in interface TranslationEntryModel
public long getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
getCompanyId
in interface TranslationEntryModel
public java.lang.String getContent()
getContent
in interface TranslationEntryModel
public java.lang.String getContentType()
getContentType
in interface TranslationEntryModel
public java.util.Date getCreateDate()
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
getCreateDate
in interface TranslationEntryModel
public long getCtCollectionId()
getCtCollectionId
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<TranslationEntry>
getCtCollectionId
in interface TranslationEntryModel
public long getGroupId()
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
getGroupId
in interface TranslationEntryModel
public 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 TranslationEntry
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getLanguageId()
getLanguageId
in interface TranslationEntryModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
getModifiedDate
in interface TranslationEntryModel
public long getMvccVersion()
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
getMvccVersion
in interface TranslationEntryModel
public long getPrimaryKey()
getPrimaryKey
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<TranslationEntry>
getPrimaryKey
in interface TranslationEntryModel
public int getStatus()
getStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
getStatus
in interface TranslationEntryModel
public long getStatusByUserId()
getStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
getStatusByUserId
in interface TranslationEntryModel
public java.lang.String getStatusByUserName()
getStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
getStatusByUserName
in interface TranslationEntryModel
public java.lang.String getStatusByUserUuid()
getStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
getStatusByUserUuid
in interface TranslationEntryModel
public java.util.Date getStatusDate()
getStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
getStatusDate
in interface TranslationEntryModel
public long getTranslationEntryId()
getTranslationEntryId
in interface TranslationEntryModel
public long getUserId()
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
getUserId
in interface TranslationEntryModel
public java.lang.String getUserName()
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
getUserName
in interface TranslationEntryModel
public java.lang.String getUserUuid()
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
getUserUuid
in interface TranslationEntryModel
public java.lang.String getUuid()
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
getUuid
in interface TranslationEntryModel
public boolean isApproved()
true
if this translation entry is approved.isApproved
in interface com.liferay.portal.kernel.model.WorkflowedModel
isApproved
in interface TranslationEntryModel
true
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.WorkflowedModel
isDenied
in interface TranslationEntryModel
true
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.WorkflowedModel
isDraft
in interface TranslationEntryModel
true
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.WorkflowedModel
isExpired
in interface TranslationEntryModel
true
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.WorkflowedModel
isInactive
in interface TranslationEntryModel
true
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.WorkflowedModel
isIncomplete
in interface TranslationEntryModel
true
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.WorkflowedModel
isPending
in interface TranslationEntryModel
true
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.WorkflowedModel
isScheduled
in interface TranslationEntryModel
true
if this translation entry is scheduled; false
otherwisepublic void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setClassName(java.lang.String className)
setClassName
in interface TranslationEntryModel
public void setClassNameId(long classNameId)
setClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
setClassNameId
in interface TranslationEntryModel
classNameId
- the class name ID of this translation entrypublic void setClassPK(long classPK)
setClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
setClassPK
in interface TranslationEntryModel
classPK
- the class pk of this translation entrypublic void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
setCompanyId
in interface TranslationEntryModel
companyId
- the company ID of this translation entrypublic void setContent(java.lang.String content)
setContent
in interface TranslationEntryModel
content
- the content of this translation entrypublic void setContentType(java.lang.String contentType)
setContentType
in interface TranslationEntryModel
contentType
- the content type of this translation entrypublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
setCreateDate
in interface TranslationEntryModel
createDate
- 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 TranslationEntryModel
ctCollectionId
- the ct collection ID of this translation entrypublic void setGroupId(long groupId)
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
setGroupId
in interface TranslationEntryModel
groupId
- the group ID of this translation entrypublic void setLanguageId(java.lang.String languageId)
setLanguageId
in interface TranslationEntryModel
languageId
- the language ID of this translation entrypublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
setModifiedDate
in interface TranslationEntryModel
modifiedDate
- the modified date of this translation entrypublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
setMvccVersion
in interface TranslationEntryModel
mvccVersion
- 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 TranslationEntryModel
primaryKey
- the primary key of this translation entrypublic void setStatus(int status)
setStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
setStatus
in interface TranslationEntryModel
status
- the status of this translation entrypublic void setStatusByUserId(long statusByUserId)
setStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
setStatusByUserId
in interface TranslationEntryModel
statusByUserId
- the status by user ID of this translation entrypublic void setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
setStatusByUserName
in interface TranslationEntryModel
statusByUserName
- the status by user name of this translation entrypublic void setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
setStatusByUserUuid
in interface TranslationEntryModel
statusByUserUuid
- the status by user uuid of this translation entrypublic void setStatusDate(java.util.Date statusDate)
setStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
setStatusDate
in interface TranslationEntryModel
statusDate
- the status date of this translation entrypublic void setTranslationEntryId(long translationEntryId)
setTranslationEntryId
in interface TranslationEntryModel
translationEntryId
- the translation entry ID of this translation entrypublic void setUserId(long userId)
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
setUserId
in interface TranslationEntryModel
userId
- the user ID of this translation entrypublic void setUserName(java.lang.String userName)
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
setUserName
in interface TranslationEntryModel
userName
- the user name of this translation entrypublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
setUserUuid
in interface TranslationEntryModel
userUuid
- the user uuid of this translation entrypublic void setUuid(java.lang.String uuid)
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
setUuid
in interface TranslationEntryModel
uuid
- the uuid of this translation entrypublic 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.StagedModel
protected TranslationEntryWrapper wrap(TranslationEntry translationEntry)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<TranslationEntry>