@ProviderType public class SCProductScreenshotWrapper extends java.lang.Object implements SCProductScreenshot, ModelWrapper<SCProductScreenshot>
This class is a wrapper for SCProductScreenshot.
SCProductScreenshot,
Serialized FormPRODUCT_SCREENSHOT_ID_ACCESSOR| Constructor and Description |
|---|
SCProductScreenshotWrapper(SCProductScreenshot scProductScreenshot) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(SCProductScreenshot scProductScreenshot) |
boolean |
equals(java.lang.Object obj) |
long |
getCompanyId()
Returns the company ID of this s c product screenshot.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
long |
getFullImageId()
Returns the full image ID of this s c product screenshot.
|
long |
getGroupId()
Returns the group ID of this s c product screenshot.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
long |
getPrimaryKey()
Returns the primary key of this s c product screenshot.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
int |
getPriority()
Returns the priority of this s c product screenshot.
|
long |
getProductEntryId()
Returns the product entry ID of this s c product screenshot.
|
long |
getProductScreenshotId()
Returns the product screenshot ID of this s c product screenshot.
|
long |
getThumbnailId()
Returns the thumbnail ID of this s c product screenshot.
|
SCProductScreenshot |
getWrappedModel() |
SCProductScreenshot |
getWrappedSCProductScreenshot()
Deprecated.
As of 6.1.0, replaced by
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns
true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns
true if this model's finder cache is enabled. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
resetOriginalValues()
Reset all original fields to current values.
|
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 s c product screenshot.
|
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 |
setFullImageId(long fullImageId)
Sets the full image ID of this s c product screenshot.
|
void |
setGroupId(long groupId)
Sets the group ID of this s c product screenshot.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
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 s c product screenshot.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setPriority(int priority)
Sets the priority of this s c product screenshot.
|
void |
setProductEntryId(long productEntryId)
Sets the product entry ID of this s c product screenshot.
|
void |
setProductScreenshotId(long productScreenshotId)
Sets the product screenshot ID of this s c product screenshot.
|
void |
setThumbnailId(long thumbnailId)
Sets the thumbnail ID of this s c product screenshot.
|
CacheModel<SCProductScreenshot> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
SCProductScreenshot |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
java.lang.String |
toString() |
SCProductScreenshot |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
public SCProductScreenshotWrapper(SCProductScreenshot scProductScreenshot)
public java.lang.Class<?> getModelClass()
getModelClass in interface ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<SCProductScreenshot>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<SCProductScreenshot>public java.lang.Object clone()
BaseModelclone in interface BaseModel<SCProductScreenshot>clone in interface SCProductScreenshotModelclone in class java.lang.Objectpublic int compareTo(SCProductScreenshot scProductScreenshot)
compareTo in interface SCProductScreenshotModelcompareTo in interface java.lang.Comparable<SCProductScreenshot>public long getCompanyId()
getCompanyId in interface ShardedModelgetCompanyId in interface SCProductScreenshotModelpublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<SCProductScreenshot>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface SCProductScreenshotModelpublic long getFullImageId()
getFullImageId in interface SCProductScreenshotModelpublic long getGroupId()
getGroupId in interface SCProductScreenshotModelpublic long getPrimaryKey()
getPrimaryKey in interface SCProductScreenshotModelpublic java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<SCProductScreenshot>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface SCProductScreenshotModelpublic int getPriority()
getPriority in interface SCProductScreenshotModelpublic long getProductEntryId()
getProductEntryId in interface SCProductScreenshotModelpublic long getProductScreenshotId()
getProductScreenshotId in interface SCProductScreenshotModelpublic long getThumbnailId()
getThumbnailId in interface SCProductScreenshotModelpublic int hashCode()
hashCode in interface SCProductScreenshotModelhashCode in class java.lang.Objectpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<SCProductScreenshot>isCachedModel in interface SCProductScreenshotModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<SCProductScreenshot>isEscapedModel in interface SCProductScreenshotModeltrue if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<SCProductScreenshot>isNew in interface SCProductScreenshotModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<SCProductScreenshot>setCachedModel in interface SCProductScreenshotModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setCompanyId(long companyId)
setCompanyId in interface ShardedModelsetCompanyId in interface SCProductScreenshotModelcompanyId - the company ID of this s c product screenshotpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<SCProductScreenshot>setExpandoBridgeAttributes in interface SCProductScreenshotModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<SCProductScreenshot>setExpandoBridgeAttributes in interface SCProductScreenshotModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<SCProductScreenshot>setExpandoBridgeAttributes in interface SCProductScreenshotModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setFullImageId(long fullImageId)
setFullImageId in interface SCProductScreenshotModelfullImageId - the full image ID of this s c product screenshotpublic void setGroupId(long groupId)
setGroupId in interface SCProductScreenshotModelgroupId - the group ID of this s c product screenshotpublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<SCProductScreenshot>setNew in interface SCProductScreenshotModeln - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface SCProductScreenshotModelprimaryKey - the primary key of this s c product screenshotpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<SCProductScreenshot>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface SCProductScreenshotModelprimaryKeyObj - the primary key of this model instancepublic void setPriority(int priority)
setPriority in interface SCProductScreenshotModelpriority - the priority of this s c product screenshotpublic void setProductEntryId(long productEntryId)
setProductEntryId in interface SCProductScreenshotModelproductEntryId - the product entry ID of this s c product screenshotpublic void setProductScreenshotId(long productScreenshotId)
setProductScreenshotId in interface SCProductScreenshotModelproductScreenshotId - the product screenshot ID of this s c product screenshotpublic void setThumbnailId(long thumbnailId)
setThumbnailId in interface SCProductScreenshotModelthumbnailId - the thumbnail ID of this s c product screenshotpublic CacheModel<SCProductScreenshot> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<SCProductScreenshot>toCacheModel in interface SCProductScreenshotModelpublic SCProductScreenshot toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<SCProductScreenshot>toEscapedModel in interface SCProductScreenshotModelAutoEscapeBeanHandlerpublic java.lang.String toString()
toString in interface SCProductScreenshotModeltoString in class java.lang.Objectpublic SCProductScreenshot toUnescapedModel()
toUnescapedModel in interface BaseModel<SCProductScreenshot>toUnescapedModel in interface SCProductScreenshotModelpublic java.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<SCProductScreenshot>toXmlString in interface SCProductScreenshotModelpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object@Deprecated public SCProductScreenshot getWrappedSCProductScreenshot()
getWrappedModel()public SCProductScreenshot getWrappedModel()
getWrappedModel in interface ModelWrapper<SCProductScreenshot>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<SCProductScreenshot>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.isFinderCacheEnabled in interface BaseModel<SCProductScreenshot>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<SCProductScreenshot>