public class SyncDeviceWrapper extends java.lang.Object implements com.liferay.portal.kernel.model.ModelWrapper<SyncDevice>, SyncDevice
This class is a wrapper for SyncDevice
.
SyncDevice
,
Serialized FormSYNC_DEVICE_ID_ACCESSOR
Constructor and Description |
---|
SyncDeviceWrapper(SyncDevice syncDevice) |
Modifier and Type | Method and Description |
---|---|
void |
checkStatus() |
java.lang.Object |
clone() |
int |
compareTo(SyncDevice syncDevice) |
boolean |
equals(java.lang.Object object) |
long |
getBuildNumber()
Returns the build number of this sync device.
|
long |
getCompanyId()
Returns the company ID of this sync device.
|
java.util.Date |
getCreateDate()
Returns the create date of this sync device.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
int |
getFeatureSet()
Returns the feature set of this sync device.
|
java.lang.String |
getHostname()
Returns the hostname of this sync device.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate()
Returns the modified date of this sync device.
|
long |
getPrimaryKey()
Returns the primary key of this sync device.
|
java.io.Serializable |
getPrimaryKeyObj() |
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
int |
getStatus()
Returns the status of this sync device.
|
long |
getSyncDeviceId()
Returns the sync device ID of this sync device.
|
java.lang.String |
getType()
Returns the type of this sync device.
|
long |
getUserId()
Returns the user ID of this sync device.
|
java.lang.String |
getUserName()
Returns the user name of this sync device.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this sync device.
|
java.lang.String |
getUuid()
Returns the uuid of this sync device.
|
SyncDevice |
getWrappedModel() |
int |
hashCode() |
boolean |
hasSetModifiedDate() |
boolean |
isCachedModel() |
boolean |
isEntityCacheEnabled() |
boolean |
isEscapedModel() |
boolean |
isFinderCacheEnabled() |
boolean |
isNew() |
boolean |
isSupported() |
void |
persist() |
void |
resetOriginalValues() |
void |
setBuildNumber(long buildNumber)
Sets the build number of this sync device.
|
void |
setCachedModel(boolean cachedModel) |
void |
setCompanyId(long companyId)
Sets the company ID of this sync device.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this sync device.
|
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setFeatureSet(int featureSet)
Sets the feature set of this sync device.
|
void |
setHostname(java.lang.String hostname)
Sets the hostname of this sync device.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this sync device.
|
void |
setNew(boolean n) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this sync device.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setStatus(int status)
Sets the status of this sync device.
|
void |
setSyncDeviceId(long syncDeviceId)
Sets the sync device ID of this sync device.
|
void |
setType(java.lang.String type)
Sets the type of this sync device.
|
void |
setUserId(long userId)
Sets the user ID of this sync device.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this sync device.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this sync device.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this sync device.
|
boolean |
supports(int featureSet) |
com.liferay.portal.kernel.model.CacheModel<SyncDevice> |
toCacheModel() |
SyncDevice |
toEscapedModel() |
java.lang.String |
toString() |
SyncDevice |
toUnescapedModel() |
java.lang.String |
toXmlString() |
public SyncDeviceWrapper(SyncDevice syncDevice)
public java.lang.Class<?> getModelClass()
getModelClass
in interface com.liferay.portal.kernel.model.ClassedModel
public java.lang.String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<SyncDevice>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<SyncDevice>
public void checkStatus() throws com.liferay.portal.kernel.exception.PortalException
checkStatus
in interface SyncDevice
com.liferay.portal.kernel.exception.PortalException
public java.lang.Object clone()
clone
in interface com.liferay.portal.kernel.model.BaseModel<SyncDevice>
clone
in interface com.liferay.portal.kernel.model.StagedModel
clone
in interface SyncDeviceModel
clone
in class java.lang.Object
public int compareTo(SyncDevice syncDevice)
compareTo
in interface SyncDeviceModel
compareTo
in interface java.lang.Comparable<SyncDevice>
public long getBuildNumber()
getBuildNumber
in interface SyncDeviceModel
public long getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
getCompanyId
in interface SyncDeviceModel
public java.util.Date getCreateDate()
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
getCreateDate
in interface SyncDeviceModel
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<SyncDevice>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
getExpandoBridge
in interface SyncDeviceModel
public int getFeatureSet()
getFeatureSet
in interface SyncDeviceModel
public java.lang.String getHostname()
getHostname
in interface SyncDeviceModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
getModifiedDate
in interface SyncDeviceModel
public long getPrimaryKey()
getPrimaryKey
in interface SyncDeviceModel
public java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<SyncDevice>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
getPrimaryKeyObj
in interface SyncDeviceModel
public int getStatus()
getStatus
in interface SyncDeviceModel
public long getSyncDeviceId()
getSyncDeviceId
in interface SyncDeviceModel
public java.lang.String getType()
getType
in interface SyncDeviceModel
public long getUserId()
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
getUserId
in interface SyncDeviceModel
public java.lang.String getUserName()
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
getUserName
in interface SyncDeviceModel
public java.lang.String getUserUuid()
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
getUserUuid
in interface SyncDeviceModel
public java.lang.String getUuid()
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
getUuid
in interface SyncDeviceModel
public int hashCode()
hashCode
in interface SyncDeviceModel
hashCode
in class java.lang.Object
public boolean hasSetModifiedDate()
hasSetModifiedDate
in interface SyncDevice
public boolean isCachedModel()
isCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<SyncDevice>
isCachedModel
in interface SyncDeviceModel
public boolean isEscapedModel()
isEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<SyncDevice>
isEscapedModel
in interface SyncDeviceModel
public boolean isNew()
isNew
in interface com.liferay.portal.kernel.model.BaseModel<SyncDevice>
isNew
in interface SyncDeviceModel
public boolean isSupported()
isSupported
in interface SyncDevice
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setBuildNumber(long buildNumber)
setBuildNumber
in interface SyncDeviceModel
buildNumber
- the build number of this sync devicepublic void setCachedModel(boolean cachedModel)
setCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<SyncDevice>
setCachedModel
in interface SyncDeviceModel
public void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
setCompanyId
in interface SyncDeviceModel
companyId
- the company ID of this sync devicepublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
setCreateDate
in interface SyncDeviceModel
createDate
- the create date of this sync devicepublic void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<SyncDevice>
setExpandoBridgeAttributes
in interface SyncDeviceModel
public void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<SyncDevice>
setExpandoBridgeAttributes
in interface SyncDeviceModel
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<SyncDevice>
setExpandoBridgeAttributes
in interface SyncDeviceModel
public void setFeatureSet(int featureSet)
setFeatureSet
in interface SyncDeviceModel
featureSet
- the feature set of this sync devicepublic void setHostname(java.lang.String hostname)
setHostname
in interface SyncDeviceModel
hostname
- the hostname of this sync devicepublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
setModifiedDate
in interface SyncDeviceModel
modifiedDate
- the modified date of this sync devicepublic void setNew(boolean n)
setNew
in interface com.liferay.portal.kernel.model.BaseModel<SyncDevice>
setNew
in interface SyncDeviceModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface SyncDeviceModel
primaryKey
- the primary key of this sync devicepublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<SyncDevice>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
setPrimaryKeyObj
in interface SyncDeviceModel
public void setStatus(int status)
setStatus
in interface SyncDeviceModel
status
- the status of this sync devicepublic void setSyncDeviceId(long syncDeviceId)
setSyncDeviceId
in interface SyncDeviceModel
syncDeviceId
- the sync device ID of this sync devicepublic void setType(java.lang.String type)
setType
in interface SyncDeviceModel
type
- the type of this sync devicepublic void setUserId(long userId)
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
setUserId
in interface SyncDeviceModel
userId
- the user ID of this sync devicepublic void setUserName(java.lang.String userName)
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
setUserName
in interface SyncDeviceModel
userName
- the user name of this sync devicepublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
setUserUuid
in interface SyncDeviceModel
userUuid
- the user uuid of this sync devicepublic void setUuid(java.lang.String uuid)
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
setUuid
in interface SyncDeviceModel
uuid
- the uuid of this sync devicepublic boolean supports(int featureSet)
supports
in interface SyncDevice
public com.liferay.portal.kernel.model.CacheModel<SyncDevice> toCacheModel()
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<SyncDevice>
toCacheModel
in interface SyncDeviceModel
public SyncDevice toEscapedModel()
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<SyncDevice>
toEscapedModel
in interface SyncDeviceModel
public java.lang.String toString()
toString
in interface SyncDeviceModel
toString
in class java.lang.Object
public SyncDevice toUnescapedModel()
toUnescapedModel
in interface com.liferay.portal.kernel.model.BaseModel<SyncDevice>
toUnescapedModel
in interface SyncDeviceModel
public java.lang.String toXmlString()
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<SyncDevice>
toXmlString
in interface SyncDeviceModel
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
public SyncDevice getWrappedModel()
getWrappedModel
in interface com.liferay.portal.kernel.model.ModelWrapper<SyncDevice>
public boolean isEntityCacheEnabled()
isEntityCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<SyncDevice>
public boolean isFinderCacheEnabled()
isFinderCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<SyncDevice>
public void resetOriginalValues()
resetOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<SyncDevice>