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
model
Fields 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.long
Returns the class name ID of this translation entry.long
Returns the class pk of this translation entry.long
Returns 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.long
Returns the ct collection ID of this translation entry.long
Returns the group ID of this translation entry.com.liferay.info.item.InfoItemFieldValues
getInfoItemFieldValues
(long groupId, String className, long classPK, String content) Returns the language ID of this translation entry.Returns the modified date of this translation entry.long
Returns the mvcc version of this translation entry.long
Returns the primary key of this translation entry.com.liferay.exportimport.kernel.lar.StagedModelType
int
Returns the status of this translation entry.long
Returns 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.long
Returns the translation entry ID of this translation entry.long
Returns 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.boolean
Returnstrue
if this translation entry is approved.boolean
isDenied()
Returnstrue
if this translation entry is denied.boolean
isDraft()
Returnstrue
if this translation entry is a draft.boolean
Returnstrue
if this translation entry is expired.boolean
Returnstrue
if this translation entry is inactive.boolean
Returnstrue
if this translation entry is incomplete.boolean
Returnstrue
if this translation entry is pending.boolean
Returnstrue
if this translation entry is scheduled.void
persist()
void
setClassName
(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
(String content) Sets the content of this translation entry.void
setContentType
(String contentType) Sets the content type of this translation entry.void
setCreateDate
(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
(String languageId) Sets the language ID of this translation entry.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(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
(String statusByUserName) Sets the status by user name of this translation entry.void
setStatusByUserUuid
(String statusByUserUuid) Sets the status by user uuid of this translation entry.void
setStatusDate
(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
(String userName) Sets the user name of this translation entry.void
setUserUuid
(String userUuid) Sets the user uuid of this translation entry.void
Sets the uuid of this translation entry.protected TranslationEntryWrapper
wrap
(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, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
TranslationEntryWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<TranslationEntry>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<TranslationEntry>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<TranslationEntry>
- Specified by:
cloneWithOriginalValues
in interfaceTranslationEntryModel
-
getClassName
Returns the fully qualified class name of this translation entry.- Specified by:
getClassName
in interfaceTranslationEntryModel
- Specified by:
getClassName
in 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:
getClassNameId
in interfaceTranslationEntryModel
- Specified by:
getClassNameId
in 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:
getClassPK
in interfacecom.liferay.portal.kernel.model.AttachedModel
- Specified by:
getClassPK
in interfaceTranslationEntryModel
- Returns:
- the class pk of this translation entry
-
getCompanyId
public long getCompanyId()Returns the company ID of this translation entry.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Specified by:
getCompanyId
in interfaceTranslationEntryModel
- Returns:
- the company ID of this translation entry
-
getContent
Returns the content of this translation entry.- Specified by:
getContent
in interfaceTranslationEntryModel
- Returns:
- the content of this translation entry
-
getContentType
Returns the content type of this translation entry.- Specified by:
getContentType
in interfaceTranslationEntryModel
- Returns:
- the content type of this translation entry
-
getCreateDate
Returns the create date of this translation entry.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Specified by:
getCreateDate
in interfaceTranslationEntryModel
- Returns:
- the create date of this translation entry
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this translation entry.- Specified by:
getCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<TranslationEntry>
- Specified by:
getCtCollectionId
in interfaceTranslationEntryModel
- Returns:
- the ct collection ID of this translation entry
-
getGroupId
public long getGroupId()Returns the group ID of this translation entry.- Specified by:
getGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Specified by:
getGroupId
in 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:
getInfoItemFieldValues
in interfaceTranslationEntry
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLanguageId
Returns the language ID of this translation entry.- Specified by:
getLanguageId
in interfaceTranslationEntryModel
- Returns:
- the language ID of this translation entry
-
getModifiedDate
Returns the modified date of this translation entry.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Specified by:
getModifiedDate
in interfaceTranslationEntryModel
- Returns:
- the modified date of this translation entry
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this translation entry.- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Specified by:
getMvccVersion
in interfaceTranslationEntryModel
- Returns:
- the mvcc version of this translation entry
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this translation entry.- Specified by:
getPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<TranslationEntry>
- Specified by:
getPrimaryKey
in interfaceTranslationEntryModel
- Returns:
- the primary key of this translation entry
-
getStatus
public int getStatus()Returns the status of this translation entry.- Specified by:
getStatus
in interfaceTranslationEntryModel
- Specified by:
getStatus
in 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:
getStatusByUserId
in interfaceTranslationEntryModel
- Specified by:
getStatusByUserId
in 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:
getStatusByUserName
in interfaceTranslationEntryModel
- Specified by:
getStatusByUserName
in 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:
getStatusByUserUuid
in interfaceTranslationEntryModel
- Specified by:
getStatusByUserUuid
in 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:
getStatusDate
in interfaceTranslationEntryModel
- Specified by:
getStatusDate
in 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:
getTranslationEntryId
in interfaceTranslationEntryModel
- Returns:
- the translation entry ID of this translation entry
-
getUserId
public long getUserId()Returns the user ID of this translation entry.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceTranslationEntryModel
- Returns:
- the user ID of this translation entry
-
getUserName
Returns the user name of this translation entry.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceTranslationEntryModel
- Returns:
- the user name of this translation entry
-
getUserUuid
Returns the user uuid of this translation entry.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceTranslationEntryModel
- Returns:
- the user uuid of this translation entry
-
getUuid
Returns the uuid of this translation entry.- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Specified by:
getUuid
in interfaceTranslationEntryModel
- Returns:
- the uuid of this translation entry
-
isApproved
public boolean isApproved()Returnstrue
if this translation entry is approved.- Specified by:
isApproved
in interfaceTranslationEntryModel
- Specified by:
isApproved
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this translation entry is approved;false
otherwise
-
isDenied
public boolean isDenied()Returnstrue
if this translation entry is denied.- Specified by:
isDenied
in interfaceTranslationEntryModel
- Specified by:
isDenied
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this translation entry is denied;false
otherwise
-
isDraft
public boolean isDraft()Returnstrue
if this translation entry is a draft.- Specified by:
isDraft
in interfaceTranslationEntryModel
- Specified by:
isDraft
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this translation entry is a draft;false
otherwise
-
isExpired
public boolean isExpired()Returnstrue
if this translation entry is expired.- Specified by:
isExpired
in interfaceTranslationEntryModel
- Specified by:
isExpired
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this translation entry is expired;false
otherwise
-
isInactive
public boolean isInactive()Returnstrue
if this translation entry is inactive.- Specified by:
isInactive
in interfaceTranslationEntryModel
- Specified by:
isInactive
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this translation entry is inactive;false
otherwise
-
isIncomplete
public boolean isIncomplete()Returnstrue
if this translation entry is incomplete.- Specified by:
isIncomplete
in interfaceTranslationEntryModel
- Specified by:
isIncomplete
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this translation entry is incomplete;false
otherwise
-
isPending
public boolean isPending()Returnstrue
if this translation entry is pending.- Specified by:
isPending
in interfaceTranslationEntryModel
- Specified by:
isPending
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this translation entry is pending;false
otherwise
-
isScheduled
public boolean isScheduled()Returnstrue
if this translation entry is scheduled.- Specified by:
isScheduled
in interfaceTranslationEntryModel
- Specified by:
isScheduled
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this translation entry is scheduled;false
otherwise
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
setClassName
- Specified by:
setClassName
in interfaceTranslationEntryModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this translation entry.- Specified by:
setClassNameId
in interfaceTranslationEntryModel
- Specified by:
setClassNameId
in 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:
setClassPK
in interfacecom.liferay.portal.kernel.model.AttachedModel
- Specified by:
setClassPK
in 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:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Specified by:
setCompanyId
in interfaceTranslationEntryModel
- Parameters:
companyId
- the company ID of this translation entry
-
setContent
Sets the content of this translation entry.- Specified by:
setContent
in interfaceTranslationEntryModel
- Parameters:
content
- the content of this translation entry
-
setContentType
Sets the content type of this translation entry.- Specified by:
setContentType
in interfaceTranslationEntryModel
- Parameters:
contentType
- the content type of this translation entry
-
setCreateDate
Sets the create date of this translation entry.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Specified by:
setCreateDate
in 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:
setCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<TranslationEntry>
- Specified by:
setCtCollectionId
in 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:
setGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Specified by:
setGroupId
in interfaceTranslationEntryModel
- Parameters:
groupId
- the group ID of this translation entry
-
setLanguageId
Sets the language ID of this translation entry.- Specified by:
setLanguageId
in interfaceTranslationEntryModel
- Parameters:
languageId
- the language ID of this translation entry
-
setModifiedDate
Sets the modified date of this translation entry.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Specified by:
setModifiedDate
in 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:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Specified by:
setMvccVersion
in 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:
setPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<TranslationEntry>
- Specified by:
setPrimaryKey
in 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:
setStatus
in interfaceTranslationEntryModel
- Specified by:
setStatus
in 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:
setStatusByUserId
in interfaceTranslationEntryModel
- Specified by:
setStatusByUserId
in 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:
setStatusByUserName
in interfaceTranslationEntryModel
- Specified by:
setStatusByUserName
in 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:
setStatusByUserUuid
in interfaceTranslationEntryModel
- Specified by:
setStatusByUserUuid
in 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:
setStatusDate
in interfaceTranslationEntryModel
- Specified by:
setStatusDate
in 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:
setTranslationEntryId
in 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:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceTranslationEntryModel
- Parameters:
userId
- the user ID of this translation entry
-
setUserName
Sets the user name of this translation entry.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceTranslationEntryModel
- Parameters:
userName
- the user name of this translation entry
-
setUserUuid
Sets the user uuid of this translation entry.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceTranslationEntryModel
- Parameters:
userUuid
- the user uuid of this translation entry
-
setUuid
Sets the uuid of this translation entry.- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Specified by:
setUuid
in interfaceTranslationEntryModel
- Parameters:
uuid
- the uuid of this translation entry
-
toXmlString
- Specified by:
toXmlString
in interfaceTranslationEntryModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfacecom.liferay.portal.kernel.model.BaseModel<TranslationEntry>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfacecom.liferay.portal.kernel.model.BaseModel<TranslationEntry>
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelType
in interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<TranslationEntry>
-