Liferay 6.1.2-ce-ga3

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

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<SCProductVersion>
      extended by com.liferay.portlet.softwarecatalog.model.impl.SCProductVersionModelImpl
All Implemented Interfaces:
AuditedModel, BaseModel<SCProductVersion>, ClassedModel, SCProductVersionModel, Serializable, Cloneable, Comparable<SCProductVersion>
Direct Known Subclasses:
SCProductVersionBaseImpl

@JSON(strict=true)
public class SCProductVersionModelImpl
extends BaseModelImpl<SCProductVersion>
implements SCProductVersionModel

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

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

See Also:
SCProductVersionImpl, SCProductVersion, SCProductVersionModel, 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 long DIRECTDOWNLOADURL_COLUMN_BITMASK
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED_SCFRAMEWORKVERSI_SCPRODUCTVERS
           
static long LOCK_EXPIRATION_TIME
           
static Object[][] MAPPING_TABLE_SCFRAMEWORKVERSI_SCPRODUCTVERS_COLUMNS
           
static String MAPPING_TABLE_SCFRAMEWORKVERSI_SCPRODUCTVERS_NAME
           
static String MAPPING_TABLE_SCFRAMEWORKVERSI_SCPRODUCTVERS_SQL_CREATE
           
static String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
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 String TX_MANAGER
           
 
Constructor Summary
SCProductVersionModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(SCProductVersion scProductVersion)
           
 boolean equals(Object obj)
           
 String getChangeLog()
          Returns the change log of this s c product version.
 long getColumnBitmask()
           
 long getCompanyId()
          Returns the company ID of this s c product version.
 Date getCreateDate()
          Returns the create date of this s c product version.
 String getDirectDownloadURL()
          Returns the direct download u r l of this s c product version.
 String getDownloadPageURL()
          Returns the download page u r l of this s c product version.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
          Returns the modified date of this s c product version.
 String getOriginalDirectDownloadURL()
           
 long getOriginalProductEntryId()
           
 long getPrimaryKey()
          Returns the primary key of this s c product version.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 long getProductEntryId()
          Returns the product entry ID of this s c product version.
 long getProductVersionId()
          Returns the product version ID of this s c product version.
 boolean getRepoStoreArtifact()
          Returns the repo store artifact of this s c product version.
 long getUserId()
          Returns the user ID of this s c product version.
 String getUserName()
          Returns the user name of this s c product version.
 String getUserUuid()
          Returns the user uuid of this s c product version.
 String getVersion()
          Returns the version of this s c product version.
 int hashCode()
           
 boolean isRepoStoreArtifact()
          Returns true if this s c product version is repo store artifact.
 void resetOriginalValues()
          Reset all original fields to current values.
 void setChangeLog(String changeLog)
          Sets the change log of this s c product version.
 void setCompanyId(long companyId)
          Sets the company ID of this s c product version.
 void setCreateDate(Date createDate)
          Sets the create date of this s c product version.
 void setDirectDownloadURL(String directDownloadURL)
          Sets the direct download u r l of this s c product version.
 void setDownloadPageURL(String downloadPageURL)
          Sets the download page u r l of this s c product version.
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 void setModelAttributes(Map<String,Object> attributes)
           
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this s c product version.
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this s c product version.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setProductEntryId(long productEntryId)
          Sets the product entry ID of this s c product version.
 void setProductVersionId(long productVersionId)
          Sets the product version ID of this s c product version.
 void setRepoStoreArtifact(boolean repoStoreArtifact)
          Sets whether this s c product version is repo store artifact.
 void setUserId(long userId)
          Sets the user ID of this s c product version.
 void setUserName(String userName)
          Sets the user name of this s c product version.
 void setUserUuid(String userUuid)
          Sets the user uuid of this s c product version.
 void setVersion(String version)
          Sets the version of this s c product version.
 CacheModel<SCProductVersion> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 SCProductVersion toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
static SCProductVersion toModel(SCProductVersionSoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<SCProductVersion> toModels(SCProductVersionSoap[] soapModels)
          Converts the soap model instances into normal model instances.
 String toString()
           
 SCProductVersion 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.SCProductVersionModel
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

DIRECTDOWNLOADURL_COLUMN_BITMASK

public static long DIRECTDOWNLOADURL_COLUMN_BITMASK

PRODUCTENTRYID_COLUMN_BITMASK

public static long PRODUCTENTRYID_COLUMN_BITMASK

MAPPING_TABLE_SCFRAMEWORKVERSI_SCPRODUCTVERS_NAME

public static final String MAPPING_TABLE_SCFRAMEWORKVERSI_SCPRODUCTVERS_NAME
See Also:
Constant Field Values

MAPPING_TABLE_SCFRAMEWORKVERSI_SCPRODUCTVERS_COLUMNS

public static final Object[][] MAPPING_TABLE_SCFRAMEWORKVERSI_SCPRODUCTVERS_COLUMNS

MAPPING_TABLE_SCFRAMEWORKVERSI_SCPRODUCTVERS_SQL_CREATE

public static final String MAPPING_TABLE_SCFRAMEWORKVERSI_SCPRODUCTVERS_SQL_CREATE
See Also:
Constant Field Values

FINDER_CACHE_ENABLED_SCFRAMEWORKVERSI_SCPRODUCTVERS

public static final boolean FINDER_CACHE_ENABLED_SCFRAMEWORKVERSI_SCPRODUCTVERS

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

SCProductVersionModelImpl

public SCProductVersionModelImpl()
Method Detail

toModel

public static SCProductVersion toModel(SCProductVersionSoap soapModel)
Converts the soap model instance into a normal model instance.

Parameters:
soapModel - the soap model instance to convert
Returns:
the normal model instance

toModels

public static List<SCProductVersion> toModels(SCProductVersionSoap[] soapModels)
Converts the soap model instances into normal model instances.

Parameters:
soapModels - the soap model instances to convert
Returns:
the normal model instances

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: SCProductVersionModel
Returns the primary key of this s c product version.

Specified by:
getPrimaryKey in interface SCProductVersionModel
Returns:
the primary key of this s c product version

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Description copied from interface: SCProductVersionModel
Sets the primary key of this s c product version.

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

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<SCProductVersion>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface SCProductVersionModel
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<SCProductVersion>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface SCProductVersionModel
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<SCProductVersion>
Overrides:
getModelAttributes in class BaseModelImpl<SCProductVersion>

setModelAttributes

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

getProductVersionId

@JSON
public long getProductVersionId()
Description copied from interface: SCProductVersionModel
Returns the product version ID of this s c product version.

Specified by:
getProductVersionId in interface SCProductVersionModel
Returns:
the product version ID of this s c product version

setProductVersionId

public void setProductVersionId(long productVersionId)
Description copied from interface: SCProductVersionModel
Sets the product version ID of this s c product version.

Specified by:
setProductVersionId in interface SCProductVersionModel
Parameters:
productVersionId - the product version ID of this s c product version

getCompanyId

@JSON
public long getCompanyId()
Description copied from interface: SCProductVersionModel
Returns the company ID of this s c product version.

Specified by:
getCompanyId in interface AuditedModel
Specified by:
getCompanyId in interface SCProductVersionModel
Returns:
the company ID of this s c product version

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: SCProductVersionModel
Sets the company ID of this s c product version.

Specified by:
setCompanyId in interface AuditedModel
Specified by:
setCompanyId in interface SCProductVersionModel
Parameters:
companyId - the company ID of this s c product version

getUserId

@JSON
public long getUserId()
Description copied from interface: SCProductVersionModel
Returns the user ID of this s c product version.

Specified by:
getUserId in interface AuditedModel
Specified by:
getUserId in interface SCProductVersionModel
Returns:
the user ID of this s c product version

setUserId

public void setUserId(long userId)
Description copied from interface: SCProductVersionModel
Sets the user ID of this s c product version.

Specified by:
setUserId in interface AuditedModel
Specified by:
setUserId in interface SCProductVersionModel
Parameters:
userId - the user ID of this s c product version

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: SCProductVersionModel
Returns the user uuid of this s c product version.

Specified by:
getUserUuid in interface AuditedModel
Specified by:
getUserUuid in interface SCProductVersionModel
Returns:
the user uuid of this s c product version
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Description copied from interface: SCProductVersionModel
Sets the user uuid of this s c product version.

Specified by:
setUserUuid in interface AuditedModel
Specified by:
setUserUuid in interface SCProductVersionModel
Parameters:
userUuid - the user uuid of this s c product version

getUserName

@JSON
public String getUserName()
Description copied from interface: SCProductVersionModel
Returns the user name of this s c product version.

Specified by:
getUserName in interface AuditedModel
Specified by:
getUserName in interface SCProductVersionModel
Returns:
the user name of this s c product version

setUserName

public void setUserName(String userName)
Description copied from interface: SCProductVersionModel
Sets the user name of this s c product version.

Specified by:
setUserName in interface AuditedModel
Specified by:
setUserName in interface SCProductVersionModel
Parameters:
userName - the user name of this s c product version

getCreateDate

@JSON
public Date getCreateDate()
Description copied from interface: SCProductVersionModel
Returns the create date of this s c product version.

Specified by:
getCreateDate in interface AuditedModel
Specified by:
getCreateDate in interface SCProductVersionModel
Returns:
the create date of this s c product version

setCreateDate

public void setCreateDate(Date createDate)
Description copied from interface: SCProductVersionModel
Sets the create date of this s c product version.

Specified by:
setCreateDate in interface AuditedModel
Specified by:
setCreateDate in interface SCProductVersionModel
Parameters:
createDate - the create date of this s c product version

getModifiedDate

@JSON
public Date getModifiedDate()
Description copied from interface: SCProductVersionModel
Returns the modified date of this s c product version.

Specified by:
getModifiedDate in interface AuditedModel
Specified by:
getModifiedDate in interface SCProductVersionModel
Returns:
the modified date of this s c product version

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Description copied from interface: SCProductVersionModel
Sets the modified date of this s c product version.

Specified by:
setModifiedDate in interface AuditedModel
Specified by:
setModifiedDate in interface SCProductVersionModel
Parameters:
modifiedDate - the modified date of this s c product version

getProductEntryId

@JSON
public long getProductEntryId()
Description copied from interface: SCProductVersionModel
Returns the product entry ID of this s c product version.

Specified by:
getProductEntryId in interface SCProductVersionModel
Returns:
the product entry ID of this s c product version

setProductEntryId

public void setProductEntryId(long productEntryId)
Description copied from interface: SCProductVersionModel
Sets the product entry ID of this s c product version.

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

getOriginalProductEntryId

public long getOriginalProductEntryId()

getVersion

@JSON
public String getVersion()
Description copied from interface: SCProductVersionModel
Returns the version of this s c product version.

Specified by:
getVersion in interface SCProductVersionModel
Returns:
the version of this s c product version

setVersion

public void setVersion(String version)
Description copied from interface: SCProductVersionModel
Sets the version of this s c product version.

Specified by:
setVersion in interface SCProductVersionModel
Parameters:
version - the version of this s c product version

getChangeLog

@JSON
public String getChangeLog()
Description copied from interface: SCProductVersionModel
Returns the change log of this s c product version.

Specified by:
getChangeLog in interface SCProductVersionModel
Returns:
the change log of this s c product version

setChangeLog

public void setChangeLog(String changeLog)
Description copied from interface: SCProductVersionModel
Sets the change log of this s c product version.

Specified by:
setChangeLog in interface SCProductVersionModel
Parameters:
changeLog - the change log of this s c product version

getDownloadPageURL

@JSON
public String getDownloadPageURL()
Description copied from interface: SCProductVersionModel
Returns the download page u r l of this s c product version.

Specified by:
getDownloadPageURL in interface SCProductVersionModel
Returns:
the download page u r l of this s c product version

setDownloadPageURL

public void setDownloadPageURL(String downloadPageURL)
Description copied from interface: SCProductVersionModel
Sets the download page u r l of this s c product version.

Specified by:
setDownloadPageURL in interface SCProductVersionModel
Parameters:
downloadPageURL - the download page u r l of this s c product version

getDirectDownloadURL

@JSON
public String getDirectDownloadURL()
Description copied from interface: SCProductVersionModel
Returns the direct download u r l of this s c product version.

Specified by:
getDirectDownloadURL in interface SCProductVersionModel
Returns:
the direct download u r l of this s c product version

setDirectDownloadURL

public void setDirectDownloadURL(String directDownloadURL)
Description copied from interface: SCProductVersionModel
Sets the direct download u r l of this s c product version.

Specified by:
setDirectDownloadURL in interface SCProductVersionModel
Parameters:
directDownloadURL - the direct download u r l of this s c product version

getOriginalDirectDownloadURL

public String getOriginalDirectDownloadURL()

getRepoStoreArtifact

@JSON
public boolean getRepoStoreArtifact()
Description copied from interface: SCProductVersionModel
Returns the repo store artifact of this s c product version.

Specified by:
getRepoStoreArtifact in interface SCProductVersionModel
Returns:
the repo store artifact of this s c product version

isRepoStoreArtifact

public boolean isRepoStoreArtifact()
Description copied from interface: SCProductVersionModel
Returns true if this s c product version is repo store artifact.

Specified by:
isRepoStoreArtifact in interface SCProductVersionModel
Returns:
true if this s c product version is repo store artifact; false otherwise

setRepoStoreArtifact

public void setRepoStoreArtifact(boolean repoStoreArtifact)
Description copied from interface: SCProductVersionModel
Sets whether this s c product version is repo store artifact.

Specified by:
setRepoStoreArtifact in interface SCProductVersionModel
Parameters:
repoStoreArtifact - the repo store artifact of this s c product version

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<SCProductVersion>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface SCProductVersionModel
Overrides:
getExpandoBridge in class BaseModelImpl<SCProductVersion>
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<SCProductVersion>
Specified by:
setExpandoBridgeAttributes in interface SCProductVersionModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<SCProductVersion>
Parameters:
serviceContext - the service context
See Also:
ServiceContext.getExpandoBridgeAttributes( )

toEscapedModel

public SCProductVersion 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<SCProductVersion>
Specified by:
toEscapedModel in interface SCProductVersionModel
Overrides:
toEscapedModel in class BaseModelImpl<SCProductVersion>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public SCProductVersion toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<SCProductVersion>
Specified by:
toUnescapedModel in interface SCProductVersionModel
Overrides:
toUnescapedModel in class BaseModelImpl<SCProductVersion>

clone

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

Specified by:
clone in interface BaseModel<SCProductVersion>
Specified by:
clone in interface SCProductVersionModel
Specified by:
clone in class BaseModelImpl<SCProductVersion>
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(SCProductVersion scProductVersion)
Specified by:
compareTo in interface SCProductVersionModel
Specified by:
compareTo in interface Comparable<SCProductVersion>

equals

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

hashCode

public int hashCode()
Specified by:
hashCode in interface SCProductVersionModel
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<SCProductVersion>
Overrides:
resetOriginalValues in class BaseModelImpl<SCProductVersion>

toCacheModel

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

Specified by:
toCacheModel in interface BaseModel<SCProductVersion>
Specified by:
toCacheModel in interface SCProductVersionModel
Overrides:
toCacheModel in class BaseModelImpl<SCProductVersion>
Returns:
the cache model object

toString

public String toString()
Specified by:
toString in interface SCProductVersionModel
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<SCProductVersion>
Specified by:
toXmlString in interface SCProductVersionModel
Returns:
the XML representation of this model instance

Liferay 6.1.2-ce-ga3