@ProviderType public interface SyncDeviceModel extends BaseModel<SyncDevice>, ShardedModel, StagedAuditedModel
This interface and its corresponding implementation com.liferay.sync.model.impl.SyncDeviceModelImpl
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.sync.model.impl.SyncDeviceImpl
.
SyncDevice
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(SyncDevice syncDevice) |
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.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
int |
getFeatureSet()
Returns the feature set of this sync device.
|
java.lang.String |
getHostname()
Returns the hostname of this sync device.
|
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()
Returns the primary key of this model instance.
|
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.
|
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
void |
setBuildNumber(long buildNumber)
Sets the build number of this sync device.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
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(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
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 |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this sync device.
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this sync device.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
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.
|
CacheModel<SyncDevice> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
SyncDevice |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler . |
java.lang.String |
toString() |
SyncDevice |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes
getStagedModelType
getModelClass, getModelClassName
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this sync device@AutoEscape java.lang.String getUuid()
getUuid
in interface StagedModel
void setUuid(java.lang.String uuid)
setUuid
in interface StagedModel
uuid
- the uuid of this sync devicelong getSyncDeviceId()
void setSyncDeviceId(long syncDeviceId)
syncDeviceId
- the sync device ID of this sync devicelong getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface ShardedModel
getCompanyId
in interface StagedModel
void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface ShardedModel
setCompanyId
in interface StagedModel
companyId
- the company ID of this sync devicelong getUserId()
getUserId
in interface AuditedModel
void setUserId(long userId)
setUserId
in interface AuditedModel
userId
- the user ID of this sync devicejava.lang.String getUserUuid()
getUserUuid
in interface AuditedModel
void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface AuditedModel
userUuid
- the user uuid of this sync device@AutoEscape java.lang.String getUserName()
getUserName
in interface AuditedModel
void setUserName(java.lang.String userName)
setUserName
in interface AuditedModel
userName
- the user name of this sync devicejava.util.Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface StagedModel
void setCreateDate(java.util.Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface StagedModel
createDate
- the create date of this sync devicejava.util.Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface StagedModel
void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface StagedModel
modifiedDate
- the modified date of this sync device@AutoEscape java.lang.String getType()
void setType(java.lang.String type)
type
- the type of this sync devicelong getBuildNumber()
void setBuildNumber(long buildNumber)
buildNumber
- the build number of this sync deviceint getFeatureSet()
void setFeatureSet(int featureSet)
featureSet
- the feature set of this sync device@AutoEscape java.lang.String getHostname()
void setHostname(java.lang.String hostname)
hostname
- the hostname of this sync deviceint getStatus()
void setStatus(int status)
status
- the status of this sync deviceboolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.isNew
in interface BaseModel<SyncDevice>
true
if this model instance does not yet exist in
the database; false
otherwisevoid setNew(boolean n)
BaseModel
setNew
in interface BaseModel<SyncDevice>
n
- whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface BaseModel<SyncDevice>
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<SyncDevice>
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.isEscapedModel
in interface BaseModel<SyncDevice>
true
if this model instance is escaped;
false
otherwisejava.io.Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<SyncDevice>
getPrimaryKeyObj
in interface ClassedModel
void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<SyncDevice>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<SyncDevice>
getExpandoBridge
in interface ClassedModel
void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<SyncDevice>
void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<SyncDevice>
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<SyncDevice>
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
java.lang.Object clone()
BaseModel
clone
in interface BaseModel<SyncDevice>
clone
in interface StagedModel
int compareTo(SyncDevice syncDevice)
compareTo
in interface java.lang.Comparable<SyncDevice>
int hashCode()
hashCode
in class java.lang.Object
CacheModel<SyncDevice> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<SyncDevice>
SyncDevice toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<SyncDevice>
AutoEscapeBeanHandler
SyncDevice toUnescapedModel()
toUnescapedModel
in interface BaseModel<SyncDevice>
java.lang.String toString()
toString
in class java.lang.Object
java.lang.String toXmlString()
BaseModel
toXmlString
in interface BaseModel<SyncDevice>