Liferay 6.1.2-ce-ga3

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>, ClassedModel, SCProductScreenshotModel, Serializable, Cloneable, Comparable<SCProductScreenshot>
Direct Known Subclasses:
SCProductScreenshotBaseImpl

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.

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

Field Summary
static boolean COLUMN_BITMASK_ENABLED
           
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long FULLIMAGEID_COLUMN_BITMASK
           
static long LOCK_EXPIRATION_TIME
           
static String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
static long PRIORITY_COLUMN_BITMASK
           
static long PRODUCTENTRYID_COLUMN_BITMASK
           
static String SESSION_FACTORY
           
static Object[][] TABLE_COLUMNS
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static long THUMBNAILID_COLUMN_BITMASK
           
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 getColumnBitmask()
           
 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 getOriginalFullImageId()
           
 int getOriginalPriority()
           
 long getOriginalProductEntryId()
           
 long getOriginalThumbnailId()
           
 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.
 int hashCode()
           
 void resetOriginalValues()
          Reset all original fields to current values.
 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 setModelAttributes(Map<String,Object> attributes)
           
 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 com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, 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, 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

COLUMN_BITMASK_ENABLED

public static final boolean COLUMN_BITMASK_ENABLED

FULLIMAGEID_COLUMN_BITMASK

public static long FULLIMAGEID_COLUMN_BITMASK

PRIORITY_COLUMN_BITMASK

public static long PRIORITY_COLUMN_BITMASK

PRODUCTENTRYID_COLUMN_BITMASK

public static long PRODUCTENTRYID_COLUMN_BITMASK

THUMBNAILID_COLUMN_BITMASK

public static long THUMBNAILID_COLUMN_BITMASK

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
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

setPrimaryKey

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

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

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

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>
Overrides:
getModelAttributes in class BaseModelImpl<SCProductScreenshot>

setModelAttributes

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

getProductScreenshotId

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

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
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

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
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

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
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

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
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

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
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

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
Returns 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()

getColumnBitmask

public long getColumnBitmask()

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
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
See Also:
ServiceContext.getExpandoBridgeAttributes( )

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
Overrides:
toEscapedModel in class BaseModelImpl<SCProductScreenshot>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public SCProductScreenshot toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<SCProductScreenshot>
Specified by:
toUnescapedModel in interface SCProductScreenshotModel
Overrides:
toUnescapedModel in class BaseModelImpl<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
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

resetOriginalValues

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

Specified by:
resetOriginalValues in interface BaseModel<SCProductScreenshot>
Overrides:
resetOriginalValues in class BaseModelImpl<SCProductScreenshot>

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
Overrides:
toCacheModel in class BaseModelImpl<SCProductScreenshot>
Returns:
the cache model 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
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

Liferay 6.1.2-ce-ga3