Liferay 7.0-ce-a2

com.liferay.portlet.softwarecatalog.model
Class SCProductScreenshotWrapper

java.lang.Object
  extended by com.liferay.portlet.softwarecatalog.model.SCProductScreenshotWrapper
All Implemented Interfaces:
BaseModel<SCProductScreenshot>, ClassedModel, ModelWrapper<SCProductScreenshot>, PersistedModel, SCProductScreenshot, SCProductScreenshotModel, Serializable, Cloneable, Comparable<SCProductScreenshot>

@ProviderType
public class SCProductScreenshotWrapper
extends Object
implements SCProductScreenshot, ModelWrapper<SCProductScreenshot>

This class is a wrapper for SCProductScreenshot.

See Also:
SCProductScreenshot, Serialized Form

Field Summary
 
Fields inherited from interface com.liferay.portlet.softwarecatalog.model.SCProductScreenshot
PRODUCT_SCREENSHOT_ID_ACCESSOR
 
Constructor Summary
SCProductScreenshotWrapper(SCProductScreenshot scProductScreenshot)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(SCProductScreenshot scProductScreenshot)
           
 boolean equals(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.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 long getPrimaryKey()
          Returns the primary key of this s c product screenshot.
 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(Map<String,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(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.
 String toString()
           
 SCProductScreenshot toUnescapedModel()
           
 String toXmlString()
          Returns the XML representation of this model instance.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SCProductScreenshotWrapper

public SCProductScreenshotWrapper(SCProductScreenshot scProductScreenshot)
Method Detail

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<SCProductScreenshot>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<SCProductScreenshot>

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<SCProductScreenshot>
Specified by:
clone in interface SCProductScreenshotModel
Overrides:
clone in class Object
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(SCProductScreenshot scProductScreenshot)
Specified by:
compareTo in interface SCProductScreenshotModel
Specified by:
compareTo in interface Comparable<SCProductScreenshot>

getCompanyId

public long getCompanyId()
Returns the company ID of this s c product screenshot.

Specified by:
getCompanyId in interface SCProductScreenshotModel
Returns:
the company ID of this s c product screenshot

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Returns the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<SCProductScreenshot>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface SCProductScreenshotModel
Returns:
the expando bridge for this model instance

getFullImageId

public long getFullImageId()
Returns the full image ID of this s c product screenshot.

Specified by:
getFullImageId in interface SCProductScreenshotModel
Returns:
the full image ID of this s c product screenshot

getGroupId

public long getGroupId()
Returns the group ID of this s c product screenshot.

Specified by:
getGroupId in interface SCProductScreenshotModel
Returns:
the group ID of this s c product screenshot

getPrimaryKey

public long getPrimaryKey()
Returns the primary key of this s c product screenshot.

Specified by:
getPrimaryKey in interface SCProductScreenshotModel
Returns:
the primary key of this s c product screenshot

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Returns the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<SCProductScreenshot>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface SCProductScreenshotModel
Returns:
the primary key of this model instance

getPriority

public int getPriority()
Returns the priority of this s c product screenshot.

Specified by:
getPriority in interface SCProductScreenshotModel
Returns:
the priority of this s c product screenshot

getProductEntryId

public long getProductEntryId()
Returns the product entry ID of this s c product screenshot.

Specified by:
getProductEntryId in interface SCProductScreenshotModel
Returns:
the product entry ID of this s c product screenshot

getProductScreenshotId

public long getProductScreenshotId()
Returns the product screenshot ID of this s c product screenshot.

Specified by:
getProductScreenshotId in interface SCProductScreenshotModel
Returns:
the product screenshot ID of this s c product screenshot

getThumbnailId

public long getThumbnailId()
Returns the thumbnail ID of this s c product screenshot.

Specified by:
getThumbnailId in interface SCProductScreenshotModel
Returns:
the thumbnail ID of this s c product screenshot

hashCode

public int hashCode()
Specified by:
hashCode in interface SCProductScreenshotModel
Overrides:
hashCode in class Object

isCachedModel

public boolean isCachedModel()
Description copied from interface: BaseModel
Returns true if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<SCProductScreenshot>
Specified by:
isCachedModel in interface SCProductScreenshotModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

isEscapedModel

public boolean isEscapedModel()
Description copied from interface: BaseModel
Returns true if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<SCProductScreenshot>
Specified by:
isEscapedModel in interface SCProductScreenshotModel
Returns:
true if this model instance is escaped; false otherwise

isNew

public boolean isNew()
Description copied from interface: BaseModel
Returns true if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<SCProductScreenshot>
Specified by:
isNew in interface SCProductScreenshotModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

persist

public void persist()
Description copied from interface: PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
persist in interface PersistedModel

setCachedModel

public void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<SCProductScreenshot>
Specified by:
setCachedModel in interface SCProductScreenshotModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

setCompanyId

public void setCompanyId(long companyId)
Sets the company ID of this s c product screenshot.

Specified by:
setCompanyId in interface SCProductScreenshotModel
Parameters:
companyId - the company ID of this s c product screenshot

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<SCProductScreenshot>
Specified by:
setExpandoBridgeAttributes in interface SCProductScreenshotModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<SCProductScreenshot>
Specified by:
setExpandoBridgeAttributes in interface SCProductScreenshotModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<SCProductScreenshot>
Specified by:
setExpandoBridgeAttributes in interface SCProductScreenshotModel
Parameters:
serviceContext - the service context to be applied
See Also:
ServiceContext.getExpandoBridgeAttributes( )

setFullImageId

public void setFullImageId(long fullImageId)
Sets the full image ID of this s c product screenshot.

Specified by:
setFullImageId in interface SCProductScreenshotModel
Parameters:
fullImageId - the full image ID of this s c product screenshot

setGroupId

public void setGroupId(long groupId)
Sets the group ID of this s c product screenshot.

Specified by:
setGroupId in interface SCProductScreenshotModel
Parameters:
groupId - the group ID of this s c product screenshot

setNew

public void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<SCProductScreenshot>
Specified by:
setNew in interface SCProductScreenshotModel
Parameters:
n - whether this model instance does not yet exist in the database

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Sets the primary key of this s c product screenshot.

Specified by:
setPrimaryKey in interface SCProductScreenshotModel
Parameters:
primaryKey - the primary key of this s c product screenshot

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<SCProductScreenshot>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface SCProductScreenshotModel
Parameters:
primaryKeyObj - the primary key of this model instance

setPriority

public void setPriority(int priority)
Sets the priority of this s c product screenshot.

Specified by:
setPriority in interface SCProductScreenshotModel
Parameters:
priority - the priority of this s c product screenshot

setProductEntryId

public void setProductEntryId(long productEntryId)
Sets the product entry ID of this s c product screenshot.

Specified by:
setProductEntryId in interface SCProductScreenshotModel
Parameters:
productEntryId - the product entry ID of this s c product screenshot

setProductScreenshotId

public void setProductScreenshotId(long productScreenshotId)
Sets the product screenshot ID of this s c product screenshot.

Specified by:
setProductScreenshotId in interface SCProductScreenshotModel
Parameters:
productScreenshotId - the product screenshot ID of this s c product screenshot

setThumbnailId

public void setThumbnailId(long thumbnailId)
Sets the thumbnail ID of this s c product screenshot.

Specified by:
setThumbnailId in interface SCProductScreenshotModel
Parameters:
thumbnailId - the thumbnail ID of this s c product screenshot

toCacheModel

public CacheModel<SCProductScreenshot> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<SCProductScreenshot>
Specified by:
toCacheModel in interface SCProductScreenshotModel
Returns:
the cache model object

toEscapedModel

public SCProductScreenshot toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<SCProductScreenshot>
Specified by:
toEscapedModel in interface SCProductScreenshotModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toString

public String toString()
Specified by:
toString in interface SCProductScreenshotModel
Overrides:
toString in class Object

toUnescapedModel

public SCProductScreenshot toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<SCProductScreenshot>
Specified by:
toUnescapedModel in interface SCProductScreenshotModel

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Returns the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<SCProductScreenshot>
Specified by:
toXmlString in interface SCProductScreenshotModel
Returns:
the XML representation of this model instance

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getWrappedSCProductScreenshot

@Deprecated
public SCProductScreenshot getWrappedSCProductScreenshot()
Deprecated. As of 6.1.0, replaced by getWrappedModel()


getWrappedModel

public SCProductScreenshot getWrappedModel()
Specified by:
getWrappedModel in interface ModelWrapper<SCProductScreenshot>

isEntityCacheEnabled

public boolean isEntityCacheEnabled()
Description copied from interface: BaseModel
Returns true if this model's entity cache is enabled.

Specified by:
isEntityCacheEnabled in interface BaseModel<SCProductScreenshot>
Returns:
true if this model's entity cache is enabled; false otherwise

isFinderCacheEnabled

public boolean isFinderCacheEnabled()
Description copied from interface: BaseModel
Returns true if this model's finder cache is enabled.

Specified by:
isFinderCacheEnabled in interface BaseModel<SCProductScreenshot>
Returns:
true if this model's finder cache is enabled; false otherwise

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<SCProductScreenshot>

Liferay 7.0-ce-a2