public class SyncDeviceWrapper extends BaseModelWrapper<SyncDevice> implements ModelWrapper<SyncDevice>, SyncDevice
This class is a wrapper for SyncDevice.
SyncDevice,
Serialized FormmodelSYNC_DEVICE_ID_ACCESSOR| Constructor and Description |
|---|
SyncDeviceWrapper(SyncDevice syncDevice) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkStatus() |
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.
|
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.util.Date |
getModifiedDate()
Returns the modified date of this sync device.
|
long |
getPrimaryKey()
Returns the primary key of this sync device.
|
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.
|
boolean |
hasSetModifiedDate() |
boolean |
isSupported() |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setBuildNumber(long buildNumber)
Sets the build number of this sync device.
|
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 |
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 |
setPrimaryKey(long primaryKey)
Sets the primary key of this sync device.
|
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) |
protected SyncDeviceWrapper |
wrap(SyncDevice syncDevice) |
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 SyncDeviceWrapper(SyncDevice syncDevice)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<SyncDevice>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<SyncDevice>public void checkStatus()
throws PortalException
checkStatus in interface SyncDevicePortalExceptionpublic long getBuildNumber()
getBuildNumber in interface SyncDeviceModelpublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelgetCompanyId in interface SyncDeviceModelpublic java.util.Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelgetCreateDate in interface SyncDeviceModelpublic int getFeatureSet()
getFeatureSet in interface SyncDeviceModelpublic java.lang.String getHostname()
getHostname in interface SyncDeviceModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelgetModifiedDate in interface SyncDeviceModelpublic long getPrimaryKey()
getPrimaryKey in interface SyncDeviceModelpublic int getStatus()
getStatus in interface SyncDeviceModelpublic long getSyncDeviceId()
getSyncDeviceId in interface SyncDeviceModelpublic java.lang.String getType()
getType in interface SyncDeviceModelpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface SyncDeviceModelpublic java.lang.String getUserName()
getUserName in interface AuditedModelgetUserName in interface SyncDeviceModelpublic java.lang.String getUserUuid()
getUserUuid in interface AuditedModelgetUserUuid in interface SyncDeviceModelpublic java.lang.String getUuid()
getUuid in interface StagedModelgetUuid in interface SyncDeviceModelpublic boolean hasSetModifiedDate()
hasSetModifiedDate in interface SyncDevicepublic boolean isSupported()
isSupported in interface SyncDevicepublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setBuildNumber(long buildNumber)
setBuildNumber in interface SyncDeviceModelbuildNumber - the build number of this sync devicepublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelsetCompanyId in interface SyncDeviceModelcompanyId - the company ID of this sync devicepublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelsetCreateDate in interface SyncDeviceModelcreateDate - the create date of this sync devicepublic void setFeatureSet(int featureSet)
setFeatureSet in interface SyncDeviceModelfeatureSet - the feature set of this sync devicepublic void setHostname(java.lang.String hostname)
setHostname in interface SyncDeviceModelhostname - the hostname of this sync devicepublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelsetModifiedDate in interface SyncDeviceModelmodifiedDate - the modified date of this sync devicepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface SyncDeviceModelprimaryKey - the primary key of this sync devicepublic void setStatus(int status)
setStatus in interface SyncDeviceModelstatus - the status of this sync devicepublic void setSyncDeviceId(long syncDeviceId)
setSyncDeviceId in interface SyncDeviceModelsyncDeviceId - the sync device ID of this sync devicepublic void setType(java.lang.String type)
setType in interface SyncDeviceModeltype - the type of this sync devicepublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface SyncDeviceModeluserId - the user ID of this sync devicepublic void setUserName(java.lang.String userName)
setUserName in interface AuditedModelsetUserName in interface SyncDeviceModeluserName - the user name of this sync devicepublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface SyncDeviceModeluserUuid - the user uuid of this sync devicepublic void setUuid(java.lang.String uuid)
setUuid in interface StagedModelsetUuid in interface SyncDeviceModeluuid - the uuid of this sync devicepublic boolean supports(int featureSet)
supports in interface SyncDevicepublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelprotected SyncDeviceWrapper wrap(SyncDevice syncDevice)
wrap in class BaseModelWrapper<SyncDevice>