public class SyncDeviceWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<SyncDevice> 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() |
SyncDevice |
cloneWithOriginalValues() |
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.
|
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.
|
boolean |
hasSetModifiedDate() |
boolean |
isSupported() |
void |
persist() |
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, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public SyncDeviceWrapper(SyncDevice syncDevice)
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 SyncDevice cloneWithOriginalValues()
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<SyncDevice>
cloneWithOriginalValues
in interface SyncDeviceModel
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 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 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 boolean hasSetModifiedDate()
hasSetModifiedDate
in interface SyncDevice
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 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 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 setPrimaryKey(long primaryKey)
setPrimaryKey
in interface SyncDeviceModel
primaryKey
- the primary key of this sync devicepublic 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.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
protected SyncDeviceWrapper wrap(SyncDevice syncDevice)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<SyncDevice>