Package com.liferay.translation.model
Class TranslationEntryWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<TranslationEntry>
com.liferay.translation.model.TranslationEntryWrapper
- All Implemented Interfaces:
com.liferay.portal.kernel.model.AttachedModel,com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<TranslationEntry>,com.liferay.portal.kernel.model.change.tracking.CTModel<TranslationEntry>,com.liferay.portal.kernel.model.ClassedModel,com.liferay.portal.kernel.model.GroupedModel,com.liferay.portal.kernel.model.ModelWrapper<TranslationEntry>,com.liferay.portal.kernel.model.MVCCModel,com.liferay.portal.kernel.model.PersistedModel,com.liferay.portal.kernel.model.ShardedModel,com.liferay.portal.kernel.model.StagedAuditedModel,com.liferay.portal.kernel.model.StagedModel,com.liferay.portal.kernel.model.TypedModel,com.liferay.portal.kernel.model.WorkflowedModel,TranslationEntry,TranslationEntryModel,Serializable,Cloneable,Comparable<TranslationEntry>
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.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.translation.model.TranslationEntry
TRANSLATION_ENTRY_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the fully qualified class name of this translation entry.longReturns the class name ID of this translation entry.longReturns the class pk of this translation entry.longReturns the company ID of this translation entry.Returns the content of this translation entry.Returns the content type of this translation entry.Returns the create date of this translation entry.longReturns the ct collection ID of this translation entry.longReturns the group ID of this translation entry.com.liferay.info.item.InfoItemFieldValuesgetInfoItemFieldValues(long groupId, String className, long classPK, String content) Returns the language ID of this translation entry.Returns the modified date of this translation entry.longReturns the mvcc version of this translation entry.longReturns the primary key of this translation entry.com.liferay.exportimport.kernel.lar.StagedModelTypeintReturns the status of this translation entry.longReturns the status by user ID of this translation entry.Returns the status by user name of this translation entry.Returns the status by user uuid of this translation entry.Returns the status date of this translation entry.longReturns the translation entry ID of this translation entry.longReturns the user ID of this translation entry.Returns the user name of this translation entry.Returns the user uuid of this translation entry.getUuid()Returns the uuid of this translation entry.booleanReturnstrueif this translation entry is approved.booleanisDenied()Returnstrueif this translation entry is denied.booleanisDraft()Returnstrueif this translation entry is a draft.booleanReturnstrueif this translation entry is expired.booleanReturnstrueif this translation entry is inactive.booleanReturnstrueif this translation entry is incomplete.booleanReturnstrueif this translation entry is pending.booleanReturnstrueif this translation entry is scheduled.voidpersist()voidsetClassName(String className) voidsetClassNameId(long classNameId) Sets the class name ID of this translation entry.voidsetClassPK(long classPK) Sets the class pk of this translation entry.voidsetCompanyId(long companyId) Sets the company ID of this translation entry.voidsetContent(String content) Sets the content of this translation entry.voidsetContentType(String contentType) Sets the content type of this translation entry.voidsetCreateDate(Date createDate) Sets the create date of this translation entry.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this translation entry.voidsetGroupId(long groupId) Sets the group ID of this translation entry.voidsetLanguageId(String languageId) Sets the language ID of this translation entry.voidsetModelAttributes(Map<String, Object> attributes) voidsetModifiedDate(Date modifiedDate) Sets the modified date of this translation entry.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this translation entry.voidsetPrimaryKey(long primaryKey) Sets the primary key of this translation entry.voidsetStatus(int status) Sets the status of this translation entry.voidsetStatusByUserId(long statusByUserId) Sets the status by user ID of this translation entry.voidsetStatusByUserName(String statusByUserName) Sets the status by user name of this translation entry.voidsetStatusByUserUuid(String statusByUserUuid) Sets the status by user uuid of this translation entry.voidsetStatusDate(Date statusDate) Sets the status date of this translation entry.voidsetTranslationEntryId(long translationEntryId) Sets the translation entry ID of this translation entry.voidsetUserId(long userId) Sets the user ID of this translation entry.voidsetUserName(String userName) Sets the user name of this translation entry.voidsetUserUuid(String userUuid) Sets the user uuid of this translation entry.voidSets the uuid of this translation entry.protected TranslationEntryWrapperwrap(TranslationEntry translationEntry) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModelMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
TranslationEntryWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<TranslationEntry>
-
setModelAttributes
- Specified by:
setModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<TranslationEntry>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<TranslationEntry>- Specified by:
cloneWithOriginalValuesin interfaceTranslationEntryModel
-
getClassName
Returns the fully qualified class name of this translation entry.- Specified by:
getClassNamein interfaceTranslationEntryModel- Specified by:
getClassNamein interfacecom.liferay.portal.kernel.model.TypedModel- Returns:
- the fully qualified class name of this translation entry
-
getClassNameId
public long getClassNameId()Returns the class name ID of this translation entry.- Specified by:
getClassNameIdin interfaceTranslationEntryModel- Specified by:
getClassNameIdin interfacecom.liferay.portal.kernel.model.TypedModel- Returns:
- the class name ID of this translation entry
-
getClassPK
public long getClassPK()Returns the class pk of this translation entry.- Specified by:
getClassPKin interfacecom.liferay.portal.kernel.model.AttachedModel- Specified by:
getClassPKin interfaceTranslationEntryModel- Returns:
- the class pk of this translation entry
-
getCompanyId
public long getCompanyId()Returns the company ID of this translation entry.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Specified by:
getCompanyIdin interfaceTranslationEntryModel- Returns:
- the company ID of this translation entry
-
getContent
Returns the content of this translation entry.- Specified by:
getContentin interfaceTranslationEntryModel- Returns:
- the content of this translation entry
-
getContentType
Returns the content type of this translation entry.- Specified by:
getContentTypein interfaceTranslationEntryModel- Returns:
- the content type of this translation entry
-
getCreateDate
Returns the create date of this translation entry.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Specified by:
getCreateDatein interfaceTranslationEntryModel- Returns:
- the create date of this translation entry
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this translation entry.- Specified by:
getCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<TranslationEntry>- Specified by:
getCtCollectionIdin interfaceTranslationEntryModel- Returns:
- the ct collection ID of this translation entry
-
getGroupId
public long getGroupId()Returns the group ID of this translation entry.- Specified by:
getGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Specified by:
getGroupIdin interfaceTranslationEntryModel- Returns:
- the group ID of this translation entry
-
getInfoItemFieldValues
public com.liferay.info.item.InfoItemFieldValues getInfoItemFieldValues(long groupId, String className, long classPK, String content) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getInfoItemFieldValuesin interfaceTranslationEntry- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLanguageId
Returns the language ID of this translation entry.- Specified by:
getLanguageIdin interfaceTranslationEntryModel- Returns:
- the language ID of this translation entry
-
getModifiedDate
Returns the modified date of this translation entry.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Specified by:
getModifiedDatein interfaceTranslationEntryModel- Returns:
- the modified date of this translation entry
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this translation entry.- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Specified by:
getMvccVersionin interfaceTranslationEntryModel- Returns:
- the mvcc version of this translation entry
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this translation entry.- Specified by:
getPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<TranslationEntry>- Specified by:
getPrimaryKeyin interfaceTranslationEntryModel- Returns:
- the primary key of this translation entry
-
getStatus
public int getStatus()Returns the status of this translation entry.- Specified by:
getStatusin interfaceTranslationEntryModel- Specified by:
getStatusin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status of this translation entry
-
getStatusByUserId
public long getStatusByUserId()Returns the status by user ID of this translation entry.- Specified by:
getStatusByUserIdin interfaceTranslationEntryModel- Specified by:
getStatusByUserIdin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user ID of this translation entry
-
getStatusByUserName
Returns the status by user name of this translation entry.- Specified by:
getStatusByUserNamein interfaceTranslationEntryModel- Specified by:
getStatusByUserNamein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user name of this translation entry
-
getStatusByUserUuid
Returns the status by user uuid of this translation entry.- Specified by:
getStatusByUserUuidin interfaceTranslationEntryModel- Specified by:
getStatusByUserUuidin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user uuid of this translation entry
-
getStatusDate
Returns the status date of this translation entry.- Specified by:
getStatusDatein interfaceTranslationEntryModel- Specified by:
getStatusDatein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status date of this translation entry
-
getTranslationEntryId
public long getTranslationEntryId()Returns the translation entry ID of this translation entry.- Specified by:
getTranslationEntryIdin interfaceTranslationEntryModel- Returns:
- the translation entry ID of this translation entry
-
getUserId
public long getUserId()Returns the user ID of this translation entry.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserIdin interfaceTranslationEntryModel- Returns:
- the user ID of this translation entry
-
getUserName
Returns the user name of this translation entry.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserNamein interfaceTranslationEntryModel- Returns:
- the user name of this translation entry
-
getUserUuid
Returns the user uuid of this translation entry.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserUuidin interfaceTranslationEntryModel- Returns:
- the user uuid of this translation entry
-
getUuid
Returns the uuid of this translation entry.- Specified by:
getUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Specified by:
getUuidin interfaceTranslationEntryModel- Returns:
- the uuid of this translation entry
-
isApproved
public boolean isApproved()Returnstrueif this translation entry is approved.- Specified by:
isApprovedin interfaceTranslationEntryModel- Specified by:
isApprovedin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this translation entry is approved;falseotherwise
-
isDenied
public boolean isDenied()Returnstrueif this translation entry is denied.- Specified by:
isDeniedin interfaceTranslationEntryModel- Specified by:
isDeniedin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this translation entry is denied;falseotherwise
-
isDraft
public boolean isDraft()Returnstrueif this translation entry is a draft.- Specified by:
isDraftin interfaceTranslationEntryModel- Specified by:
isDraftin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this translation entry is a draft;falseotherwise
-
isExpired
public boolean isExpired()Returnstrueif this translation entry is expired.- Specified by:
isExpiredin interfaceTranslationEntryModel- Specified by:
isExpiredin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this translation entry is expired;falseotherwise
-
isInactive
public boolean isInactive()Returnstrueif this translation entry is inactive.- Specified by:
isInactivein interfaceTranslationEntryModel- Specified by:
isInactivein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this translation entry is inactive;falseotherwise
-
isIncomplete
public boolean isIncomplete()Returnstrueif this translation entry is incomplete.- Specified by:
isIncompletein interfaceTranslationEntryModel- Specified by:
isIncompletein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this translation entry is incomplete;falseotherwise
-
isPending
public boolean isPending()Returnstrueif this translation entry is pending.- Specified by:
isPendingin interfaceTranslationEntryModel- Specified by:
isPendingin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this translation entry is pending;falseotherwise
-
isScheduled
public boolean isScheduled()Returnstrueif this translation entry is scheduled.- Specified by:
isScheduledin interfaceTranslationEntryModel- Specified by:
isScheduledin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this translation entry is scheduled;falseotherwise
-
persist
public void persist()- Specified by:
persistin interfacecom.liferay.portal.kernel.model.PersistedModel
-
setClassName
- Specified by:
setClassNamein interfaceTranslationEntryModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this translation entry.- Specified by:
setClassNameIdin interfaceTranslationEntryModel- Specified by:
setClassNameIdin interfacecom.liferay.portal.kernel.model.TypedModel- Parameters:
classNameId- the class name ID of this translation entry
-
setClassPK
public void setClassPK(long classPK) Sets the class pk of this translation entry.- Specified by:
setClassPKin interfacecom.liferay.portal.kernel.model.AttachedModel- Specified by:
setClassPKin interfaceTranslationEntryModel- Parameters:
classPK- the class pk of this translation entry
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this translation entry.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Specified by:
setCompanyIdin interfaceTranslationEntryModel- Parameters:
companyId- the company ID of this translation entry
-
setContent
Sets the content of this translation entry.- Specified by:
setContentin interfaceTranslationEntryModel- Parameters:
content- the content of this translation entry
-
setContentType
Sets the content type of this translation entry.- Specified by:
setContentTypein interfaceTranslationEntryModel- Parameters:
contentType- the content type of this translation entry
-
setCreateDate
Sets the create date of this translation entry.- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Specified by:
setCreateDatein interfaceTranslationEntryModel- Parameters:
createDate- the create date of this translation entry
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this translation entry.- Specified by:
setCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<TranslationEntry>- Specified by:
setCtCollectionIdin interfaceTranslationEntryModel- Parameters:
ctCollectionId- the ct collection ID of this translation entry
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this translation entry.- Specified by:
setGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Specified by:
setGroupIdin interfaceTranslationEntryModel- Parameters:
groupId- the group ID of this translation entry
-
setLanguageId
Sets the language ID of this translation entry.- Specified by:
setLanguageIdin interfaceTranslationEntryModel- Parameters:
languageId- the language ID of this translation entry
-
setModifiedDate
Sets the modified date of this translation entry.- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Specified by:
setModifiedDatein interfaceTranslationEntryModel- Parameters:
modifiedDate- the modified date of this translation entry
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this translation entry.- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Specified by:
setMvccVersionin interfaceTranslationEntryModel- Parameters:
mvccVersion- the mvcc version of this translation entry
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this translation entry.- Specified by:
setPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<TranslationEntry>- Specified by:
setPrimaryKeyin interfaceTranslationEntryModel- Parameters:
primaryKey- the primary key of this translation entry
-
setStatus
public void setStatus(int status) Sets the status of this translation entry.- Specified by:
setStatusin interfaceTranslationEntryModel- Specified by:
setStatusin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
status- the status of this translation entry
-
setStatusByUserId
public void setStatusByUserId(long statusByUserId) Sets the status by user ID of this translation entry.- Specified by:
setStatusByUserIdin interfaceTranslationEntryModel- Specified by:
setStatusByUserIdin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserId- the status by user ID of this translation entry
-
setStatusByUserName
Sets the status by user name of this translation entry.- Specified by:
setStatusByUserNamein interfaceTranslationEntryModel- Specified by:
setStatusByUserNamein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserName- the status by user name of this translation entry
-
setStatusByUserUuid
Sets the status by user uuid of this translation entry.- Specified by:
setStatusByUserUuidin interfaceTranslationEntryModel- Specified by:
setStatusByUserUuidin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserUuid- the status by user uuid of this translation entry
-
setStatusDate
Sets the status date of this translation entry.- Specified by:
setStatusDatein interfaceTranslationEntryModel- Specified by:
setStatusDatein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusDate- the status date of this translation entry
-
setTranslationEntryId
public void setTranslationEntryId(long translationEntryId) Sets the translation entry ID of this translation entry.- Specified by:
setTranslationEntryIdin interfaceTranslationEntryModel- Parameters:
translationEntryId- the translation entry ID of this translation entry
-
setUserId
public void setUserId(long userId) Sets the user ID of this translation entry.- Specified by:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserIdin interfaceTranslationEntryModel- Parameters:
userId- the user ID of this translation entry
-
setUserName
Sets the user name of this translation entry.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserNamein interfaceTranslationEntryModel- Parameters:
userName- the user name of this translation entry
-
setUserUuid
Sets the user uuid of this translation entry.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserUuidin interfaceTranslationEntryModel- Parameters:
userUuid- the user uuid of this translation entry
-
setUuid
Sets the uuid of this translation entry.- Specified by:
setUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Specified by:
setUuidin interfaceTranslationEntryModel- Parameters:
uuid- the uuid of this translation entry
-
toXmlString
- Specified by:
toXmlStringin interfaceTranslationEntryModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfacecom.liferay.portal.kernel.model.BaseModel<TranslationEntry>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfacecom.liferay.portal.kernel.model.BaseModel<TranslationEntry>
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelTypein interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrapin classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<TranslationEntry>
-