Liferay 6.0.3

com.liferay.portlet.softwarecatalog.model
Class SCProductScreenshotWrapper

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

public class SCProductScreenshotWrapper
extends Object
implements SCProductScreenshot

This class is a wrapper for SCProductScreenshot.

See Also:
SCProductScreenshot, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor Summary
SCProductScreenshotWrapper(SCProductScreenshot scProductScreenshot)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(SCProductScreenshot scProductScreenshot)
           
 long getCompanyId()
           
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 long getFullImageId()
           
 long getGroupId()
           
 long getPrimaryKey()
           
 Serializable getPrimaryKeyObj()
          Gets the primary key for this model instance.
 int getPriority()
           
 long getProductEntryId()
           
 long getProductScreenshotId()
           
 long getThumbnailId()
           
 SCProductScreenshot getWrappedSCProductScreenshot()
           
 int hashCode()
           
 boolean isCachedModel()
          Determines if this model instance was retrieved from the entity cache.
 boolean isEscapedModel()
          Determines if this model instance has been wrapped with an HTML auto escape handler.
 boolean isNew()
          Determines if this model instance does not yet exist in the database.
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 void setCompanyId(long companyId)
           
 void setEscapedModel(boolean escapedModel)
          Sets whether this model instance has been wrapped with an HTML auto escape handler.
 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)
           
 void setGroupId(long groupId)
           
 void setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 void setPrimaryKey(long pk)
           
 void setPriority(int priority)
           
 void setProductEntryId(long productEntryId)
           
 void setProductScreenshotId(long productScreenshotId)
           
 void setThumbnailId(long thumbnailId)
           
 SCProductScreenshot toEscapedModel()
           
 String toString()
           
 String toXmlString()
          Gets the XML representation of this model instance.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SCProductScreenshotWrapper

public SCProductScreenshotWrapper(SCProductScreenshot scProductScreenshot)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface SCProductScreenshotModel

setPrimaryKey

public void setPrimaryKey(long pk)
Specified by:
setPrimaryKey in interface SCProductScreenshotModel

getProductScreenshotId

public long getProductScreenshotId()
Specified by:
getProductScreenshotId in interface SCProductScreenshotModel

setProductScreenshotId

public void setProductScreenshotId(long productScreenshotId)
Specified by:
setProductScreenshotId in interface SCProductScreenshotModel

getCompanyId

public long getCompanyId()
Specified by:
getCompanyId in interface SCProductScreenshotModel

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface SCProductScreenshotModel

getGroupId

public long getGroupId()
Specified by:
getGroupId in interface SCProductScreenshotModel

setGroupId

public void setGroupId(long groupId)
Specified by:
setGroupId in interface SCProductScreenshotModel

getProductEntryId

public long getProductEntryId()
Specified by:
getProductEntryId in interface SCProductScreenshotModel

setProductEntryId

public void setProductEntryId(long productEntryId)
Specified by:
setProductEntryId in interface SCProductScreenshotModel

getThumbnailId

public long getThumbnailId()
Specified by:
getThumbnailId in interface SCProductScreenshotModel

setThumbnailId

public void setThumbnailId(long thumbnailId)
Specified by:
setThumbnailId in interface SCProductScreenshotModel

getFullImageId

public long getFullImageId()
Specified by:
getFullImageId in interface SCProductScreenshotModel

setFullImageId

public void setFullImageId(long fullImageId)
Specified by:
setFullImageId in interface SCProductScreenshotModel

getPriority

public int getPriority()
Specified by:
getPriority in interface SCProductScreenshotModel

setPriority

public void setPriority(int priority)
Specified by:
setPriority in interface SCProductScreenshotModel

toEscapedModel

public SCProductScreenshot toEscapedModel()
Specified by:
toEscapedModel in interface SCProductScreenshotModel

isNew

public boolean isNew()
Description copied from interface: BaseModel
Determines 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

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

isCachedModel

public boolean isCachedModel()
Description copied from interface: BaseModel
Determines 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)

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

isEscapedModel

public boolean isEscapedModel()
Description copied from interface: BaseModel
Determines if this model instance has been wrapped with an HTML auto escape handler.

Specified by:
isEscapedModel in interface BaseModel<SCProductScreenshot>
Specified by:
isEscapedModel in interface SCProductScreenshotModel
Returns:
true if this model instance has been wrapped with an HTML auto escape handler; false otherwise
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance has been wrapped with an HTML auto escape handler.

A model instance can be wrapped with an HTML auto escape handler using its toEscapedModel method. For example, UserModel.toEscapedModel().

Specified by:
setEscapedModel in interface BaseModel<SCProductScreenshot>
Specified by:
setEscapedModel in interface SCProductScreenshotModel
Parameters:
escapedModel - whether this model instance has been wrapped with an HTML auto escape handler
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<SCProductScreenshot>
Specified by:
getPrimaryKeyObj in interface SCProductScreenshotModel
Returns:
the primary key

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<SCProductScreenshot>
Specified by:
getExpandoBridge in interface SCProductScreenshotModel
Returns:
the expando bridge

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 retrieve the expando bridge attributes from
See Also:
ServiceContext.getExpandoBridgeAttributes( )

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 clone

compareTo

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

hashCode

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

toString

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

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Gets 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

getWrappedSCProductScreenshot

public SCProductScreenshot getWrappedSCProductScreenshot()

Liferay 6.0.3