|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<SCProductVersion>
com.liferay.portlet.softwarecatalog.model.impl.SCProductVersionModelImpl
@JSON(strict=true) @ProviderType public class SCProductVersionModelImpl
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.
SCProductVersionImpl,
SCProductVersion,
SCProductVersionModel,
Serialized Form| Field Summary | |
|---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static long |
CREATEDATE_COLUMN_BITMASK
|
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 |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
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()
|
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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| 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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static final long DIRECTDOWNLOADURL_COLUMN_BITMASK
public static final long PRODUCTENTRYID_COLUMN_BITMASK
public static final long CREATEDATE_COLUMN_BITMASK
public static final String MAPPING_TABLE_SCFRAMEWORKVERSI_SCPRODUCTVERS_NAME
public static final Object[][] MAPPING_TABLE_SCFRAMEWORKVERSI_SCPRODUCTVERS_COLUMNS
public static final String MAPPING_TABLE_SCFRAMEWORKVERSI_SCPRODUCTVERS_SQL_CREATE
public static final boolean FINDER_CACHE_ENABLED_SCFRAMEWORKVERSI_SCPRODUCTVERS
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public SCProductVersionModelImpl()
| Method Detail |
|---|
public static SCProductVersion toModel(SCProductVersionSoap soapModel)
soapModel - the soap model instance to convert
public static List<SCProductVersion> toModels(SCProductVersionSoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
SCProductVersionModel
getPrimaryKey in interface SCProductVersionModelpublic void setPrimaryKey(long primaryKey)
SCProductVersionModel
setPrimaryKey in interface SCProductVersionModelprimaryKey - the primary key of this s c product versionpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<SCProductVersion>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface SCProductVersionModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<SCProductVersion>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface SCProductVersionModelprimaryKeyObj - the primary key of this model instancepublic Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<SCProductVersion>getModelAttributes in class BaseModelImpl<SCProductVersion>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<SCProductVersion>setModelAttributes in class BaseModelImpl<SCProductVersion>@JSON public long getProductVersionId()
SCProductVersionModel
getProductVersionId in interface SCProductVersionModelpublic void setProductVersionId(long productVersionId)
SCProductVersionModel
setProductVersionId in interface SCProductVersionModelproductVersionId - the product version ID of this s c product version@JSON public long getCompanyId()
SCProductVersionModel
getCompanyId in interface AuditedModelgetCompanyId in interface SCProductVersionModelpublic void setCompanyId(long companyId)
SCProductVersionModel
setCompanyId in interface AuditedModelsetCompanyId in interface SCProductVersionModelcompanyId - the company ID of this s c product version@JSON public long getUserId()
SCProductVersionModel
getUserId in interface AuditedModelgetUserId in interface SCProductVersionModelpublic void setUserId(long userId)
SCProductVersionModel
setUserId in interface AuditedModelsetUserId in interface SCProductVersionModeluserId - the user ID of this s c product versionpublic String getUserUuid()
SCProductVersionModel
getUserUuid in interface AuditedModelgetUserUuid in interface SCProductVersionModelpublic void setUserUuid(String userUuid)
SCProductVersionModel
setUserUuid in interface AuditedModelsetUserUuid in interface SCProductVersionModeluserUuid - the user uuid of this s c product version@JSON public String getUserName()
SCProductVersionModel
getUserName in interface AuditedModelgetUserName in interface SCProductVersionModelpublic void setUserName(String userName)
SCProductVersionModel
setUserName in interface AuditedModelsetUserName in interface SCProductVersionModeluserName - the user name of this s c product version@JSON public Date getCreateDate()
SCProductVersionModel
getCreateDate in interface AuditedModelgetCreateDate in interface SCProductVersionModelpublic void setCreateDate(Date createDate)
SCProductVersionModel
setCreateDate in interface AuditedModelsetCreateDate in interface SCProductVersionModelcreateDate - the create date of this s c product version@JSON public Date getModifiedDate()
SCProductVersionModel
getModifiedDate in interface AuditedModelgetModifiedDate in interface SCProductVersionModelpublic void setModifiedDate(Date modifiedDate)
SCProductVersionModel
setModifiedDate in interface AuditedModelsetModifiedDate in interface SCProductVersionModelmodifiedDate - the modified date of this s c product version@JSON public long getProductEntryId()
SCProductVersionModel
getProductEntryId in interface SCProductVersionModelpublic void setProductEntryId(long productEntryId)
SCProductVersionModel
setProductEntryId in interface SCProductVersionModelproductEntryId - the product entry ID of this s c product versionpublic long getOriginalProductEntryId()
@JSON public String getVersion()
SCProductVersionModel
getVersion in interface SCProductVersionModelpublic void setVersion(String version)
SCProductVersionModel
setVersion in interface SCProductVersionModelversion - the version of this s c product version@JSON public String getChangeLog()
SCProductVersionModel
getChangeLog in interface SCProductVersionModelpublic void setChangeLog(String changeLog)
SCProductVersionModel
setChangeLog in interface SCProductVersionModelchangeLog - the change log of this s c product version@JSON public String getDownloadPageURL()
SCProductVersionModel
getDownloadPageURL in interface SCProductVersionModelpublic void setDownloadPageURL(String downloadPageURL)
SCProductVersionModel
setDownloadPageURL in interface SCProductVersionModeldownloadPageURL - the download page u r l of this s c product version@JSON public String getDirectDownloadURL()
SCProductVersionModel
getDirectDownloadURL in interface SCProductVersionModelpublic void setDirectDownloadURL(String directDownloadURL)
SCProductVersionModel
setDirectDownloadURL in interface SCProductVersionModeldirectDownloadURL - the direct download u r l of this s c product versionpublic String getOriginalDirectDownloadURL()
@JSON public boolean getRepoStoreArtifact()
SCProductVersionModel
getRepoStoreArtifact in interface SCProductVersionModelpublic boolean isRepoStoreArtifact()
SCProductVersionModeltrue if this s c product version is repo store artifact.
isRepoStoreArtifact in interface SCProductVersionModeltrue if this s c product version is repo store artifact; false otherwisepublic void setRepoStoreArtifact(boolean repoStoreArtifact)
SCProductVersionModel
setRepoStoreArtifact in interface SCProductVersionModelrepoStoreArtifact - the repo store artifact of this s c product versionpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<SCProductVersion>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface SCProductVersionModelgetExpandoBridge in class BaseModelImpl<SCProductVersion>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<SCProductVersion>setExpandoBridgeAttributes in interface SCProductVersionModelsetExpandoBridgeAttributes in class BaseModelImpl<SCProductVersion>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public SCProductVersion toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<SCProductVersion>toEscapedModel in interface SCProductVersionModeltoEscapedModel in class BaseModelImpl<SCProductVersion>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<SCProductVersion>clone in interface SCProductVersionModelclone in class BaseModelImpl<SCProductVersion>public int compareTo(SCProductVersion scProductVersion)
compareTo in interface SCProductVersionModelcompareTo in interface Comparable<SCProductVersion>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface SCProductVersionModelhashCode in class Objectpublic boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<SCProductVersion>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<SCProductVersion>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<SCProductVersion>resetOriginalValues in class BaseModelImpl<SCProductVersion>public CacheModel<SCProductVersion> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<SCProductVersion>toCacheModel in interface SCProductVersionModeltoCacheModel in class BaseModelImpl<SCProductVersion>public String toString()
toString in interface SCProductVersionModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<SCProductVersion>toXmlString in interface SCProductVersionModel
|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||