Package com.liferay.translation.model
Interface TranslationEntryModel
- All Superinterfaces:
com.liferay.portal.kernel.model.AttachedModel,com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<TranslationEntry>,com.liferay.portal.kernel.model.ClassedModel,Cloneable,Comparable<TranslationEntry>,com.liferay.portal.kernel.model.change.tracking.CTModel<TranslationEntry>,com.liferay.portal.kernel.model.GroupedModel,com.liferay.portal.kernel.model.MVCCModel,Serializable,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
- All Known Subinterfaces:
TranslationEntry
- All Known Implementing Classes:
TranslationEntryWrapper
@ProviderType
public interface TranslationEntryModel
extends com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.BaseModel<TranslationEntry>, com.liferay.portal.kernel.model.change.tracking.CTModel<TranslationEntry>, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel, com.liferay.portal.kernel.model.WorkflowedModel
The base model interface for the TranslationEntry service. Represents a row in the "TranslationEntry" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.translation.model.impl.TranslationEntryModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.translation.model.impl.TranslationEntryImpl.
- See Also:
- Generated:
-
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.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.intReturns 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.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.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.default StringMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, 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.StagedModel
clone, getStagedModelType
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this translation entry.- Specified by:
getPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<TranslationEntry>- Returns:
- the primary key of this translation entry
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this translation entry.- Specified by:
setPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<TranslationEntry>- Parameters:
primaryKey- the primary key of this translation entry
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this translation entry.- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this translation entry
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this translation entry.- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this translation entry
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this translation entry.- Specified by:
getCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<TranslationEntry>- Returns:
- the ct collection ID of this translation entry
-
setCtCollectionId
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>- Parameters:
ctCollectionId- the ct collection ID of this translation entry
-
getUuid
Returns the uuid of this translation entry.- Specified by:
getUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the uuid of this translation entry
-
setUuid
Sets the uuid of this translation entry.- Specified by:
setUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
uuid- the uuid of this translation entry
-
getTranslationEntryId
long getTranslationEntryId()Returns the translation entry ID of this translation entry.- Returns:
- the translation entry ID of this translation entry
-
setTranslationEntryId
void setTranslationEntryId(long translationEntryId) Sets the translation entry ID of this translation entry.- Parameters:
translationEntryId- the translation entry ID of this translation entry
-
getGroupId
long getGroupId()Returns the group ID of this translation entry.- Specified by:
getGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Returns:
- the group ID of this translation entry
-
setGroupId
void setGroupId(long groupId) Sets the group ID of this translation entry.- Specified by:
setGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Parameters:
groupId- the group ID of this translation entry
-
getCompanyId
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- Returns:
- the company ID of this translation entry
-
setCompanyId
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- Parameters:
companyId- the company ID of this translation entry
-
getUserId
long getUserId()Returns the user ID of this translation entry.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user ID of this translation entry
-
setUserId
void setUserId(long userId) Sets the user ID of this translation entry.- Specified by:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userId- the user ID of this translation entry
-
getUserUuid
String getUserUuid()Returns the user uuid of this translation entry.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user uuid of this translation entry
-
setUserUuid
Sets the user uuid of this translation entry.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userUuid- the user uuid of this translation entry
-
getUserName
Returns the user name of this translation entry.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user name of this translation entry
-
setUserName
Sets the user name of this translation entry.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userName- the user name of this translation entry
-
getCreateDate
Date 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- Returns:
- the create date 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- Parameters:
createDate- the create date of this translation entry
-
getModifiedDate
Date 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- Returns:
- the modified date 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- Parameters:
modifiedDate- the modified date of this translation entry
-
getClassName
String getClassName()Returns the fully qualified class name of this translation entry.- Specified by:
getClassNamein interfacecom.liferay.portal.kernel.model.TypedModel- Returns:
- the fully qualified class name of this translation entry
-
setClassName
-
getClassNameId
long getClassNameId()Returns the class name ID of this translation entry.- Specified by:
getClassNameIdin interfacecom.liferay.portal.kernel.model.TypedModel- Returns:
- the class name ID of this translation entry
-
setClassNameId
void setClassNameId(long classNameId) Sets the class name ID of this translation entry.- Specified by:
setClassNameIdin interfacecom.liferay.portal.kernel.model.TypedModel- Parameters:
classNameId- the class name ID of this translation entry
-
getClassPK
long getClassPK()Returns the class pk of this translation entry.- Specified by:
getClassPKin interfacecom.liferay.portal.kernel.model.AttachedModel- Returns:
- the class pk of this translation entry
-
setClassPK
void setClassPK(long classPK) Sets the class pk of this translation entry.- Specified by:
setClassPKin interfacecom.liferay.portal.kernel.model.AttachedModel- Parameters:
classPK- the class pk of this translation entry
-
getContent
Returns the content of this translation entry.- Returns:
- the content of this translation entry
-
setContent
Sets the content of this translation entry.- Parameters:
content- the content of this translation entry
-
getContentType
Returns the content type of this translation entry.- Returns:
- the content type of this translation entry
-
setContentType
Sets the content type of this translation entry.- Parameters:
contentType- the content type of this translation entry
-
getLanguageId
Returns the language ID of this translation entry.- Returns:
- the language ID of this translation entry
-
setLanguageId
Sets the language ID of this translation entry.- Parameters:
languageId- the language ID of this translation entry
-
getStatus
int getStatus()Returns the status of this translation entry.- Specified by:
getStatusin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status of this translation entry
-
setStatus
void setStatus(int status) Sets the status of this translation entry.- Specified by:
setStatusin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
status- the status of this translation entry
-
getStatusByUserId
long getStatusByUserId()Returns the status by user ID of this translation entry.- Specified by:
getStatusByUserIdin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user ID of this translation entry
-
setStatusByUserId
void setStatusByUserId(long statusByUserId) Sets the status by user ID of this translation entry.- Specified by:
setStatusByUserIdin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserId- the status by user ID of this translation entry
-
getStatusByUserUuid
String getStatusByUserUuid()Returns the status by user uuid of this translation entry.- Specified by:
getStatusByUserUuidin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user uuid of this translation entry
-
setStatusByUserUuid
Sets the status by user uuid of this translation entry.- Specified by:
setStatusByUserUuidin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserUuid- the status by user uuid of this translation entry
-
getStatusByUserName
Returns the status by user name of this translation entry.- Specified by:
getStatusByUserNamein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user name of this translation entry
-
setStatusByUserName
Sets the status by user name of this translation entry.- Specified by:
setStatusByUserNamein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserName- the status by user name of this translation entry
-
getStatusDate
Date getStatusDate()Returns the status date of this translation entry.- Specified by:
getStatusDatein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status date of this translation entry
-
setStatusDate
Sets the status date of this translation entry.- Specified by:
setStatusDatein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusDate- the status date of this translation entry
-
isApproved
boolean isApproved()Returnstrueif this translation entry is approved.- Specified by:
isApprovedin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this translation entry is approved;falseotherwise
-
isDenied
boolean isDenied()Returnstrueif this translation entry is denied.- Specified by:
isDeniedin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this translation entry is denied;falseotherwise
-
isDraft
boolean isDraft()Returnstrueif this translation entry is a draft.- Specified by:
isDraftin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this translation entry is a draft;falseotherwise
-
isExpired
boolean isExpired()Returnstrueif this translation entry is expired.- Specified by:
isExpiredin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this translation entry is expired;falseotherwise
-
isInactive
boolean isInactive()Returnstrueif this translation entry is inactive.- Specified by:
isInactivein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this translation entry is inactive;falseotherwise
-
isIncomplete
boolean isIncomplete()Returnstrueif this translation entry is incomplete.- Specified by:
isIncompletein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this translation entry is incomplete;falseotherwise
-
isPending
boolean isPending()Returnstrueif this translation entry is pending.- Specified by:
isPendingin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this translation entry is pending;falseotherwise
-
isScheduled
boolean isScheduled()Returnstrueif this translation entry is scheduled.- Specified by:
isScheduledin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this translation entry is scheduled;falseotherwise
-
cloneWithOriginalValues
TranslationEntry cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<TranslationEntry>
-
toXmlString
-