public class RedirectEntryWrapper extends BaseModelWrapper<RedirectEntry> implements ModelWrapper<RedirectEntry>, RedirectEntry
This class is a wrapper for RedirectEntry.
RedirectEntry,
Serialized FormmodelREDIRECT_ENTRY_ID_ACCESSOR| Constructor and Description |
|---|
RedirectEntryWrapper(RedirectEntry redirectEntry) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCompanyId()
Returns the company ID of this redirect entry.
|
java.util.Date |
getCreateDate()
Returns the create date of this redirect entry.
|
java.lang.String |
getDestinationURL()
Returns the destination url of this redirect entry.
|
java.util.Date |
getExpirationDate()
Returns the expiration date of this redirect entry.
|
long |
getGroupId()
Returns the group ID of this redirect entry.
|
java.util.Date |
getLastOccurrenceDate()
Returns the last occurrence date of this redirect entry.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this redirect entry.
|
long |
getMvccVersion()
Returns the mvcc version of this redirect entry.
|
boolean |
getPermanent()
Returns the permanent of this redirect entry.
|
long |
getPrimaryKey()
Returns the primary key of this redirect entry.
|
long |
getRedirectEntryId()
Returns the redirect entry ID of this redirect entry.
|
java.lang.String |
getSourceURL()
Returns the source url of this redirect entry.
|
StagedModelType |
getStagedModelType() |
long |
getUserId()
Returns the user ID of this redirect entry.
|
java.lang.String |
getUserName()
Returns the user name of this redirect entry.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this redirect entry.
|
java.lang.String |
getUuid()
Returns the uuid of this redirect entry.
|
boolean |
isPermanent()
Returns
true if this redirect entry is permanent. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setCompanyId(long companyId)
Sets the company ID of this redirect entry.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this redirect entry.
|
void |
setDestinationURL(java.lang.String destinationURL)
Sets the destination url of this redirect entry.
|
void |
setExpirationDate(java.util.Date expirationDate)
Sets the expiration date of this redirect entry.
|
void |
setGroupId(long groupId)
Sets the group ID of this redirect entry.
|
void |
setLastOccurrenceDate(java.util.Date lastOccurrenceDate)
Sets the last occurrence date of this redirect 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 redirect entry.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this redirect entry.
|
void |
setPermanent(boolean permanent)
Sets whether this redirect entry is permanent.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this redirect entry.
|
void |
setRedirectEntryId(long redirectEntryId)
Sets the redirect entry ID of this redirect entry.
|
void |
setSourceURL(java.lang.String sourceURL)
Sets the source url of this redirect entry.
|
void |
setUserId(long userId)
Sets the user ID of this redirect entry.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this redirect entry.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this redirect entry.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this redirect entry.
|
protected RedirectEntryWrapper |
wrap(RedirectEntry redirectEntry) |
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 RedirectEntryWrapper(RedirectEntry redirectEntry)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<RedirectEntry>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<RedirectEntry>public long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelgetCompanyId in interface RedirectEntryModelpublic java.util.Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelgetCreateDate in interface RedirectEntryModelpublic java.lang.String getDestinationURL()
getDestinationURL in interface RedirectEntryModelpublic java.util.Date getExpirationDate()
getExpirationDate in interface RedirectEntryModelpublic long getGroupId()
getGroupId in interface GroupedModelgetGroupId in interface RedirectEntryModelpublic java.util.Date getLastOccurrenceDate()
getLastOccurrenceDate in interface RedirectEntryModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelgetModifiedDate in interface RedirectEntryModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface RedirectEntryModelpublic boolean getPermanent()
getPermanent in interface RedirectEntryModelpublic long getPrimaryKey()
getPrimaryKey in interface RedirectEntryModelpublic long getRedirectEntryId()
getRedirectEntryId in interface RedirectEntryModelpublic java.lang.String getSourceURL()
getSourceURL in interface RedirectEntryModelpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface RedirectEntryModelpublic java.lang.String getUserName()
getUserName in interface AuditedModelgetUserName in interface RedirectEntryModelpublic java.lang.String getUserUuid()
getUserUuid in interface AuditedModelgetUserUuid in interface RedirectEntryModelpublic java.lang.String getUuid()
getUuid in interface StagedModelgetUuid in interface RedirectEntryModelpublic boolean isPermanent()
true if this redirect entry is permanent.isPermanent in interface RedirectEntryModeltrue if this redirect entry is permanent; false otherwisepublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelsetCompanyId in interface RedirectEntryModelcompanyId - the company ID of this redirect entrypublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelsetCreateDate in interface RedirectEntryModelcreateDate - the create date of this redirect entrypublic void setDestinationURL(java.lang.String destinationURL)
setDestinationURL in interface RedirectEntryModeldestinationURL - the destination url of this redirect entrypublic void setExpirationDate(java.util.Date expirationDate)
setExpirationDate in interface RedirectEntryModelexpirationDate - the expiration date of this redirect entrypublic void setGroupId(long groupId)
setGroupId in interface GroupedModelsetGroupId in interface RedirectEntryModelgroupId - the group ID of this redirect entrypublic void setLastOccurrenceDate(java.util.Date lastOccurrenceDate)
setLastOccurrenceDate in interface RedirectEntryModellastOccurrenceDate - the last occurrence date of this redirect entrypublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelsetModifiedDate in interface RedirectEntryModelmodifiedDate - the modified date of this redirect entrypublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface RedirectEntryModelmvccVersion - the mvcc version of this redirect entrypublic void setPermanent(boolean permanent)
setPermanent in interface RedirectEntryModelpermanent - the permanent of this redirect entrypublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface RedirectEntryModelprimaryKey - the primary key of this redirect entrypublic void setRedirectEntryId(long redirectEntryId)
setRedirectEntryId in interface RedirectEntryModelredirectEntryId - the redirect entry ID of this redirect entrypublic void setSourceURL(java.lang.String sourceURL)
setSourceURL in interface RedirectEntryModelsourceURL - the source url of this redirect entrypublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface RedirectEntryModeluserId - the user ID of this redirect entrypublic void setUserName(java.lang.String userName)
setUserName in interface AuditedModelsetUserName in interface RedirectEntryModeluserName - the user name of this redirect entrypublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface RedirectEntryModeluserUuid - the user uuid of this redirect entrypublic void setUuid(java.lang.String uuid)
setUuid in interface StagedModelsetUuid in interface RedirectEntryModeluuid - the uuid of this redirect entrypublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelprotected RedirectEntryWrapper wrap(RedirectEntry redirectEntry)
wrap in class BaseModelWrapper<RedirectEntry>