|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.impl.BaseModelImpl<SCProductVersion> com.liferay.portlet.softwarecatalog.model.impl.SCProductVersionModelImpl
@JSON(strict=true) 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 FormField 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 |
---|
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 long DIRECTDOWNLOADURL_COLUMN_BITMASK
public static long PRODUCTENTRYID_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 SCProductVersionModel
public void setPrimaryKey(long primaryKey)
SCProductVersionModel
setPrimaryKey
in interface SCProductVersionModel
primaryKey
- the primary key of this s c product versionpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<SCProductVersion>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface SCProductVersionModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<SCProductVersion>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface SCProductVersionModel
primaryKeyObj
- the primary key of this model instancepublic Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public 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 SCProductVersionModel
public void setProductVersionId(long productVersionId)
SCProductVersionModel
setProductVersionId
in interface SCProductVersionModel
productVersionId
- the product version ID of this s c product version@JSON public long getCompanyId()
SCProductVersionModel
getCompanyId
in interface AuditedModel
getCompanyId
in interface SCProductVersionModel
public void setCompanyId(long companyId)
SCProductVersionModel
setCompanyId
in interface AuditedModel
setCompanyId
in interface SCProductVersionModel
companyId
- the company ID of this s c product version@JSON public long getUserId()
SCProductVersionModel
getUserId
in interface AuditedModel
getUserId
in interface SCProductVersionModel
public void setUserId(long userId)
SCProductVersionModel
setUserId
in interface AuditedModel
setUserId
in interface SCProductVersionModel
userId
- the user ID of this s c product versionpublic String getUserUuid() throws SystemException
SCProductVersionModel
getUserUuid
in interface AuditedModel
getUserUuid
in interface SCProductVersionModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
SCProductVersionModel
setUserUuid
in interface AuditedModel
setUserUuid
in interface SCProductVersionModel
userUuid
- the user uuid of this s c product version@JSON public String getUserName()
SCProductVersionModel
getUserName
in interface AuditedModel
getUserName
in interface SCProductVersionModel
public void setUserName(String userName)
SCProductVersionModel
setUserName
in interface AuditedModel
setUserName
in interface SCProductVersionModel
userName
- the user name of this s c product version@JSON public Date getCreateDate()
SCProductVersionModel
getCreateDate
in interface AuditedModel
getCreateDate
in interface SCProductVersionModel
public void setCreateDate(Date createDate)
SCProductVersionModel
setCreateDate
in interface AuditedModel
setCreateDate
in interface SCProductVersionModel
createDate
- the create date of this s c product version@JSON public Date getModifiedDate()
SCProductVersionModel
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface SCProductVersionModel
public void setModifiedDate(Date modifiedDate)
SCProductVersionModel
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface SCProductVersionModel
modifiedDate
- the modified date of this s c product version@JSON public long getProductEntryId()
SCProductVersionModel
getProductEntryId
in interface SCProductVersionModel
public void setProductEntryId(long productEntryId)
SCProductVersionModel
setProductEntryId
in interface SCProductVersionModel
productEntryId
- the product entry ID of this s c product versionpublic long getOriginalProductEntryId()
@JSON public String getVersion()
SCProductVersionModel
getVersion
in interface SCProductVersionModel
public void setVersion(String version)
SCProductVersionModel
setVersion
in interface SCProductVersionModel
version
- the version of this s c product version@JSON public String getChangeLog()
SCProductVersionModel
getChangeLog
in interface SCProductVersionModel
public void setChangeLog(String changeLog)
SCProductVersionModel
setChangeLog
in interface SCProductVersionModel
changeLog
- the change log of this s c product version@JSON public String getDownloadPageURL()
SCProductVersionModel
getDownloadPageURL
in interface SCProductVersionModel
public void setDownloadPageURL(String downloadPageURL)
SCProductVersionModel
setDownloadPageURL
in interface SCProductVersionModel
downloadPageURL
- the download page u r l of this s c product version@JSON public String getDirectDownloadURL()
SCProductVersionModel
getDirectDownloadURL
in interface SCProductVersionModel
public void setDirectDownloadURL(String directDownloadURL)
SCProductVersionModel
setDirectDownloadURL
in interface SCProductVersionModel
directDownloadURL
- the direct download u r l of this s c product versionpublic String getOriginalDirectDownloadURL()
@JSON public boolean getRepoStoreArtifact()
SCProductVersionModel
getRepoStoreArtifact
in interface SCProductVersionModel
public boolean isRepoStoreArtifact()
SCProductVersionModel
true
if this s c product version is repo store artifact.
isRepoStoreArtifact
in interface SCProductVersionModel
true
if this s c product version is repo store artifact; false
otherwisepublic void setRepoStoreArtifact(boolean repoStoreArtifact)
SCProductVersionModel
setRepoStoreArtifact
in interface SCProductVersionModel
repoStoreArtifact
- the repo store artifact of this s c product versionpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<SCProductVersion>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface SCProductVersionModel
getExpandoBridge
in class BaseModelImpl<SCProductVersion>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<SCProductVersion>
setExpandoBridgeAttributes
in interface SCProductVersionModel
setExpandoBridgeAttributes
in class BaseModelImpl<SCProductVersion>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public SCProductVersion toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<SCProductVersion>
toEscapedModel
in interface SCProductVersionModel
toEscapedModel
in class BaseModelImpl<SCProductVersion>
AutoEscapeBeanHandler
public SCProductVersion toUnescapedModel()
toUnescapedModel
in interface BaseModel<SCProductVersion>
toUnescapedModel
in interface SCProductVersionModel
toUnescapedModel
in class BaseModelImpl<SCProductVersion>
public Object clone()
BaseModel
clone
in interface BaseModel<SCProductVersion>
clone
in interface SCProductVersionModel
clone
in class BaseModelImpl<SCProductVersion>
public int compareTo(SCProductVersion scProductVersion)
compareTo
in interface SCProductVersionModel
compareTo
in interface Comparable<SCProductVersion>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface SCProductVersionModel
hashCode
in class Object
public 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 SCProductVersionModel
toCacheModel
in class BaseModelImpl<SCProductVersion>
public String toString()
toString
in interface SCProductVersionModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<SCProductVersion>
toXmlString
in interface SCProductVersionModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |