public class TranslationEntryWrapper extends BaseModelWrapper<TranslationEntry> implements ModelWrapper<TranslationEntry>, TranslationEntry
This class is a wrapper for TranslationEntry.
TranslationEntry,
Serialized FormmodelTRANSLATION_ENTRY_ID_ACCESSOR| Constructor and Description |
|---|
TranslationEntryWrapper(TranslationEntry translationEntry) |
| Modifier and Type | Method and Description |
|---|---|
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 |
getGroupId()
Returns the group ID of this translation entry.
|
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.
|
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()
Updates this model instance in the database or adds it if it does not yet
exist.
|
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 |
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, toXmlStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetWrappedModelclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringclonegetModelClass, getModelClassNamepublic TranslationEntryWrapper(TranslationEntry translationEntry)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<TranslationEntry>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<TranslationEntry>public java.lang.String getClassName()
getClassName in interface TypedModelgetClassName in interface TranslationEntryModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId in interface TranslationEntryModelpublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface TranslationEntryModelpublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface 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 AuditedModelgetCreateDate in interface StagedModelgetCreateDate in interface TranslationEntryModelpublic long getGroupId()
getGroupId in interface GroupedModelgetGroupId in interface TranslationEntryModelpublic InfoItemFieldValues getInfoItemFieldValues(long groupId, java.lang.String className, long classPK, java.lang.String content) throws PortalException
getInfoItemFieldValues in interface TranslationEntryPortalExceptionpublic java.lang.String getLanguageId()
getLanguageId in interface TranslationEntryModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelgetModifiedDate in interface TranslationEntryModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface TranslationEntryModelpublic long getPrimaryKey()
getPrimaryKey in interface TranslationEntryModelpublic int getStatus()
getStatus in interface WorkflowedModelgetStatus in interface TranslationEntryModelpublic long getStatusByUserId()
getStatusByUserId in interface WorkflowedModelgetStatusByUserId in interface TranslationEntryModelpublic java.lang.String getStatusByUserName()
getStatusByUserName in interface WorkflowedModelgetStatusByUserName in interface TranslationEntryModelpublic java.lang.String getStatusByUserUuid()
getStatusByUserUuid in interface WorkflowedModelgetStatusByUserUuid in interface TranslationEntryModelpublic java.util.Date getStatusDate()
getStatusDate in interface WorkflowedModelgetStatusDate in interface TranslationEntryModelpublic long getTranslationEntryId()
getTranslationEntryId in interface TranslationEntryModelpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface TranslationEntryModelpublic java.lang.String getUserName()
getUserName in interface AuditedModelgetUserName in interface TranslationEntryModelpublic java.lang.String getUserUuid()
getUserUuid in interface AuditedModelgetUserUuid in interface TranslationEntryModelpublic java.lang.String getUuid()
getUuid in interface StagedModelgetUuid in interface TranslationEntryModelpublic boolean isApproved()
true if this translation entry is approved.isApproved in interface WorkflowedModelisApproved in interface TranslationEntryModeltrue if this translation entry is approved; false otherwisepublic boolean isDenied()
true if this translation entry is denied.isDenied in interface 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 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 WorkflowedModelisExpired in interface TranslationEntryModeltrue if this translation entry is expired; false otherwisepublic boolean isInactive()
true if this translation entry is inactive.isInactive in interface WorkflowedModelisInactive in interface TranslationEntryModeltrue if this translation entry is inactive; false otherwisepublic boolean isIncomplete()
true if this translation entry is incomplete.isIncomplete in interface WorkflowedModelisIncomplete in interface TranslationEntryModeltrue if this translation entry is incomplete; false otherwisepublic boolean isPending()
true if this translation entry is pending.isPending in interface WorkflowedModelisPending in interface TranslationEntryModeltrue if this translation entry is pending; false otherwisepublic boolean isScheduled()
true if this translation entry is scheduled.isScheduled in interface WorkflowedModelisScheduled in interface TranslationEntryModeltrue if this translation entry is scheduled; false otherwisepublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setClassName(java.lang.String className)
setClassName in interface TranslationEntryModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TypedModelsetClassNameId in interface TranslationEntryModelclassNameId - the class name ID of this translation entrypublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface TranslationEntryModelclassPK - the class pk of this translation entrypublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface 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 AuditedModelsetCreateDate in interface StagedModelsetCreateDate in interface TranslationEntryModelcreateDate - the create date of this translation entrypublic void setGroupId(long groupId)
setGroupId in interface 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 AuditedModelsetModifiedDate in interface StagedModelsetModifiedDate in interface TranslationEntryModelmodifiedDate - the modified date of this translation entrypublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface TranslationEntryModelmvccVersion - the mvcc version of this translation entrypublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface TranslationEntryModelprimaryKey - the primary key of this translation entrypublic void setStatus(int status)
setStatus in interface WorkflowedModelsetStatus in interface TranslationEntryModelstatus - the status of this translation entrypublic void setStatusByUserId(long statusByUserId)
setStatusByUserId in interface WorkflowedModelsetStatusByUserId in interface TranslationEntryModelstatusByUserId - the status by user ID of this translation entrypublic void setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName in interface WorkflowedModelsetStatusByUserName in interface TranslationEntryModelstatusByUserName - the status by user name of this translation entrypublic void setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid in interface WorkflowedModelsetStatusByUserUuid in interface TranslationEntryModelstatusByUserUuid - the status by user uuid of this translation entrypublic void setStatusDate(java.util.Date statusDate)
setStatusDate in interface 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 AuditedModelsetUserId in interface TranslationEntryModeluserId - the user ID of this translation entrypublic void setUserName(java.lang.String userName)
setUserName in interface AuditedModelsetUserName in interface TranslationEntryModeluserName - the user name of this translation entrypublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface TranslationEntryModeluserUuid - the user uuid of this translation entrypublic void setUuid(java.lang.String uuid)
setUuid in interface StagedModelsetUuid in interface TranslationEntryModeluuid - the uuid of this translation entrypublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelprotected TranslationEntryWrapper wrap(TranslationEntry translationEntry)
wrap in class BaseModelWrapper<TranslationEntry>