Liferay 6.0.5

com.liferay.portlet.softwarecatalog.model.impl
Class SCProductScreenshotModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<SCProductScreenshot>
      extended by com.liferay.portlet.softwarecatalog.model.impl.SCProductScreenshotModelImpl
All Implemented Interfaces:
BaseModel<SCProductScreenshot>, SCProductScreenshotModel, Serializable, Cloneable, Comparable<SCProductScreenshot>
Direct Known Subclasses:
SCProductScreenshotImpl

public class SCProductScreenshotModelImpl
extends BaseModelImpl<SCProductScreenshot>
implements SCProductScreenshotModel

The base model implementation for the SCProductScreenshot service. Represents a row in the "SCProductScreenshot" database table, with each column mapped to a property of this class.

This implementation and its corresponding interface SCProductScreenshotModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in SCProductScreenshotImpl.

Never modify or reference this class directly. All methods that expect a s c product screenshot model instance should use the SCProductScreenshot interface instead.

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

Field Summary
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long LOCK_EXPIRATION_TIME
           
static String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
static String SESSION_FACTORY
           
static Object[][] TABLE_COLUMNS
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static String TX_MANAGER
           
 
Constructor Summary
SCProductScreenshotModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(SCProductScreenshot scProductScreenshot)
           
 boolean equals(Object obj)
           
 long getCompanyId()
          Gets the company id of this s c product screenshot.
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 long getFullImageId()
          Gets the full image id of this s c product screenshot.
 long getGroupId()
          Gets the group id of this s c product screenshot.
 long getOriginalFullImageId()
           
 int getOriginalPriority()
           
 long getOriginalProductEntryId()
           
 long getOriginalThumbnailId()
           
 long getPrimaryKey()
          Gets the primary key of this s c product screenshot.
 Serializable getPrimaryKeyObj()
          Gets the primary key of this model instance.
 int getPriority()
          Gets the priority of this s c product screenshot.
 long getProductEntryId()
          Gets the product entry id of this s c product screenshot.
 long getProductScreenshotId()
          Gets the product screenshot id of this s c product screenshot.
 long getThumbnailId()
          Gets the thumbnail id of this s c product screenshot.
 int hashCode()
           
 void setCompanyId(long companyId)
          Sets the company id of this s c product screenshot.
 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 setPrimaryKey(long pk)
          Sets the primary key of this s c product screenshot
 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.
 SCProductScreenshot toEscapedModel()
          Gets a copy of this s c product screenshot as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 String toXmlString()
          Gets the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.softwarecatalog.model.SCProductScreenshotModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew
 

Field Detail

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final String TABLE_SQL_DROP
See Also:
Constant Field Values

ORDER_BY_JPQL

public static final String ORDER_BY_JPQL
See Also:
Constant Field Values

ORDER_BY_SQL

public static final String ORDER_BY_SQL
See Also:
Constant Field Values

DATA_SOURCE

public static final String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final String TX_MANAGER
See Also:
Constant Field Values

ENTITY_CACHE_ENABLED

public static final boolean ENTITY_CACHE_ENABLED

FINDER_CACHE_ENABLED

public static final boolean FINDER_CACHE_ENABLED

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

SCProductScreenshotModelImpl

public SCProductScreenshotModelImpl()
Method Detail

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: SCProductScreenshotModel
Gets 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

setPrimaryKey

public void setPrimaryKey(long pk)
Description copied from interface: SCProductScreenshotModel
Sets the primary key of this s c product screenshot

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

getPrimaryKeyObj

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

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

getProductScreenshotId

public long getProductScreenshotId()
Description copied from interface: SCProductScreenshotModel
Gets 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

setProductScreenshotId

public void setProductScreenshotId(long productScreenshotId)
Description copied from interface: SCProductScreenshotModel
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

getCompanyId

public long getCompanyId()
Description copied from interface: SCProductScreenshotModel
Gets 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

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: SCProductScreenshotModel
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

getGroupId

public long getGroupId()
Description copied from interface: SCProductScreenshotModel
Gets 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

setGroupId

public void setGroupId(long groupId)
Description copied from interface: SCProductScreenshotModel
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

getProductEntryId

public long getProductEntryId()
Description copied from interface: SCProductScreenshotModel
Gets 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

setProductEntryId

public void setProductEntryId(long productEntryId)
Description copied from interface: SCProductScreenshotModel
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

getOriginalProductEntryId

public long getOriginalProductEntryId()

getThumbnailId

public long getThumbnailId()
Description copied from interface: SCProductScreenshotModel
Gets 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

setThumbnailId

public void setThumbnailId(long thumbnailId)
Description copied from interface: SCProductScreenshotModel
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

getOriginalThumbnailId

public long getOriginalThumbnailId()

getFullImageId

public long getFullImageId()
Description copied from interface: SCProductScreenshotModel
Gets 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

setFullImageId

public void setFullImageId(long fullImageId)
Description copied from interface: SCProductScreenshotModel
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

getOriginalFullImageId

public long getOriginalFullImageId()

getPriority

public int getPriority()
Description copied from interface: SCProductScreenshotModel
Gets the priority of this s c product screenshot.

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

setPriority

public void setPriority(int priority)
Description copied from interface: SCProductScreenshotModel
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

getOriginalPriority

public int getOriginalPriority()

toEscapedModel

public SCProductScreenshot toEscapedModel()
Description copied from interface: SCProductScreenshotModel
Gets a copy of this s c product screenshot as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface SCProductScreenshotModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

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
Overrides:
getExpandoBridge in class BaseModelImpl<SCProductScreenshot>
Returns:
the expando bridge for this model instance

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
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<SCProductScreenshot>
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
Specified by:
clone in class BaseModelImpl<SCProductScreenshot>
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>

equals

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

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

Liferay 6.0.5