Liferay 6.0.5

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

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<SCProductEntry>
      extended by com.liferay.portlet.softwarecatalog.model.impl.SCProductEntryModelImpl
All Implemented Interfaces:
BaseModel<SCProductEntry>, SCProductEntryModel, Serializable, Cloneable, Comparable<SCProductEntry>
Direct Known Subclasses:
SCProductEntryImpl

public class SCProductEntryModelImpl
extends BaseModelImpl<SCProductEntry>
implements SCProductEntryModel

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

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

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

See Also:
SCProductEntryImpl, SCProductEntry, SCProductEntryModel, 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 boolean FINDER_CACHE_ENABLED_SCLICENSES_SCPRODUCTENTRIES
           
static long LOCK_EXPIRATION_TIME
           
static String MAPPING_TABLE_SCLICENSES_SCPRODUCTENTRIES_NAME
           
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
SCProductEntryModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(SCProductEntry scProductEntry)
           
 boolean equals(Object obj)
           
 String getAuthor()
          Gets the author of this s c product entry.
 long getCompanyId()
          Gets the company id of this s c product entry.
 Date getCreateDate()
          Gets the create date of this s c product entry.
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 long getGroupId()
          Gets the group id of this s c product entry.
 String getLongDescription()
          Gets the long description of this s c product entry.
 Date getModifiedDate()
          Gets the modified date of this s c product entry.
 String getName()
          Gets the name of this s c product entry.
 String getOriginalRepoArtifactId()
           
 String getOriginalRepoGroupId()
           
 String getPageURL()
          Gets the page u r l of this s c product entry.
 long getPrimaryKey()
          Gets the primary key of this s c product entry.
 Serializable getPrimaryKeyObj()
          Gets the primary key of this model instance.
 long getProductEntryId()
          Gets the product entry id of this s c product entry.
 String getRepoArtifactId()
          Gets the repo artifact id of this s c product entry.
 String getRepoGroupId()
          Gets the repo group id of this s c product entry.
 String getShortDescription()
          Gets the short description of this s c product entry.
 String getTags()
          Gets the tags of this s c product entry.
 String getType()
          Gets the type of this s c product entry.
 long getUserId()
          Gets the user id of this s c product entry.
 String getUserName()
          Gets the user name of this s c product entry.
 String getUserUuid()
          Gets the user uuid of this s c product entry.
 int hashCode()
           
 void setAuthor(String author)
          Sets the author of this s c product entry.
 void setCompanyId(long companyId)
          Sets the company id of this s c product entry.
 void setCreateDate(Date createDate)
          Sets the create date of this s c product entry.
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 void setGroupId(long groupId)
          Sets the group id of this s c product entry.
 void setLongDescription(String longDescription)
          Sets the long description of this s c product entry.
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this s c product entry.
 void setName(String name)
          Sets the name of this s c product entry.
 void setPageURL(String pageURL)
          Sets the page u r l of this s c product entry.
 void setPrimaryKey(long pk)
          Sets the primary key of this s c product entry
 void setProductEntryId(long productEntryId)
          Sets the product entry id of this s c product entry.
 void setRepoArtifactId(String repoArtifactId)
          Sets the repo artifact id of this s c product entry.
 void setRepoGroupId(String repoGroupId)
          Sets the repo group id of this s c product entry.
 void setShortDescription(String shortDescription)
          Sets the short description of this s c product entry.
 void setTags(String tags)
          Sets the tags of this s c product entry.
 void setType(String type)
          Sets the type of this s c product entry.
 void setUserId(long userId)
          Sets the user id of this s c product entry.
 void setUserName(String userName)
          Sets the user name of this s c product entry.
 void setUserUuid(String userUuid)
          Sets the user uuid of this s c product entry.
 SCProductEntry toEscapedModel()
          Gets a copy of this s c product entry as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
static SCProductEntry toModel(SCProductEntrySoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<SCProductEntry> toModels(SCProductEntrySoap[] soapModels)
          Converts the soap model instances into normal model instances.
 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.SCProductEntryModel
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

MAPPING_TABLE_SCLICENSES_SCPRODUCTENTRIES_NAME

public static final String MAPPING_TABLE_SCLICENSES_SCPRODUCTENTRIES_NAME
See Also:
Constant Field Values

FINDER_CACHE_ENABLED_SCLICENSES_SCPRODUCTENTRIES

public static final boolean FINDER_CACHE_ENABLED_SCLICENSES_SCPRODUCTENTRIES

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

SCProductEntryModelImpl

public SCProductEntryModelImpl()
Method Detail

toModel

public static SCProductEntry toModel(SCProductEntrySoap 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<SCProductEntry> toModels(SCProductEntrySoap[] 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: SCProductEntryModel
Gets the primary key of this s c product entry.

Specified by:
getPrimaryKey in interface SCProductEntryModel
Returns:
the primary key of this s c product entry

setPrimaryKey

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

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

getPrimaryKeyObj

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

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

getProductEntryId

public long getProductEntryId()
Description copied from interface: SCProductEntryModel
Gets the product entry id of this s c product entry.

Specified by:
getProductEntryId in interface SCProductEntryModel
Returns:
the product entry id of this s c product entry

setProductEntryId

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

Specified by:
setProductEntryId in interface SCProductEntryModel
Parameters:
productEntryId - the product entry id of this s c product entry

getGroupId

public long getGroupId()
Description copied from interface: SCProductEntryModel
Gets the group id of this s c product entry.

Specified by:
getGroupId in interface SCProductEntryModel
Returns:
the group id of this s c product entry

setGroupId

public void setGroupId(long groupId)
Description copied from interface: SCProductEntryModel
Sets the group id of this s c product entry.

Specified by:
setGroupId in interface SCProductEntryModel
Parameters:
groupId - the group id of this s c product entry

getCompanyId

public long getCompanyId()
Description copied from interface: SCProductEntryModel
Gets the company id of this s c product entry.

Specified by:
getCompanyId in interface SCProductEntryModel
Returns:
the company id of this s c product entry

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: SCProductEntryModel
Sets the company id of this s c product entry.

Specified by:
setCompanyId in interface SCProductEntryModel
Parameters:
companyId - the company id of this s c product entry

getUserId

public long getUserId()
Description copied from interface: SCProductEntryModel
Gets the user id of this s c product entry.

Specified by:
getUserId in interface SCProductEntryModel
Returns:
the user id of this s c product entry

setUserId

public void setUserId(long userId)
Description copied from interface: SCProductEntryModel
Sets the user id of this s c product entry.

Specified by:
setUserId in interface SCProductEntryModel
Parameters:
userId - the user id of this s c product entry

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: SCProductEntryModel
Gets the user uuid of this s c product entry.

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

setUserUuid

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

Specified by:
setUserUuid in interface SCProductEntryModel
Parameters:
userUuid - the user uuid of this s c product entry

getUserName

public String getUserName()
Description copied from interface: SCProductEntryModel
Gets the user name of this s c product entry.

Specified by:
getUserName in interface SCProductEntryModel
Returns:
the user name of this s c product entry

setUserName

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

Specified by:
setUserName in interface SCProductEntryModel
Parameters:
userName - the user name of this s c product entry

getCreateDate

public Date getCreateDate()
Description copied from interface: SCProductEntryModel
Gets the create date of this s c product entry.

Specified by:
getCreateDate in interface SCProductEntryModel
Returns:
the create date of this s c product entry

setCreateDate

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

Specified by:
setCreateDate in interface SCProductEntryModel
Parameters:
createDate - the create date of this s c product entry

getModifiedDate

public Date getModifiedDate()
Description copied from interface: SCProductEntryModel
Gets the modified date of this s c product entry.

Specified by:
getModifiedDate in interface SCProductEntryModel
Returns:
the modified date of this s c product entry

setModifiedDate

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

Specified by:
setModifiedDate in interface SCProductEntryModel
Parameters:
modifiedDate - the modified date of this s c product entry

getName

public String getName()
Description copied from interface: SCProductEntryModel
Gets the name of this s c product entry.

Specified by:
getName in interface SCProductEntryModel
Returns:
the name of this s c product entry

setName

public void setName(String name)
Description copied from interface: SCProductEntryModel
Sets the name of this s c product entry.

Specified by:
setName in interface SCProductEntryModel
Parameters:
name - the name of this s c product entry

getType

public String getType()
Description copied from interface: SCProductEntryModel
Gets the type of this s c product entry.

Specified by:
getType in interface SCProductEntryModel
Returns:
the type of this s c product entry

setType

public void setType(String type)
Description copied from interface: SCProductEntryModel
Sets the type of this s c product entry.

Specified by:
setType in interface SCProductEntryModel
Parameters:
type - the type of this s c product entry

getTags

public String getTags()
Description copied from interface: SCProductEntryModel
Gets the tags of this s c product entry.

Specified by:
getTags in interface SCProductEntryModel
Returns:
the tags of this s c product entry

setTags

public void setTags(String tags)
Description copied from interface: SCProductEntryModel
Sets the tags of this s c product entry.

Specified by:
setTags in interface SCProductEntryModel
Parameters:
tags - the tags of this s c product entry

getShortDescription

public String getShortDescription()
Description copied from interface: SCProductEntryModel
Gets the short description of this s c product entry.

Specified by:
getShortDescription in interface SCProductEntryModel
Returns:
the short description of this s c product entry

setShortDescription

public void setShortDescription(String shortDescription)
Description copied from interface: SCProductEntryModel
Sets the short description of this s c product entry.

Specified by:
setShortDescription in interface SCProductEntryModel
Parameters:
shortDescription - the short description of this s c product entry

getLongDescription

public String getLongDescription()
Description copied from interface: SCProductEntryModel
Gets the long description of this s c product entry.

Specified by:
getLongDescription in interface SCProductEntryModel
Returns:
the long description of this s c product entry

setLongDescription

public void setLongDescription(String longDescription)
Description copied from interface: SCProductEntryModel
Sets the long description of this s c product entry.

Specified by:
setLongDescription in interface SCProductEntryModel
Parameters:
longDescription - the long description of this s c product entry

getPageURL

public String getPageURL()
Description copied from interface: SCProductEntryModel
Gets the page u r l of this s c product entry.

Specified by:
getPageURL in interface SCProductEntryModel
Returns:
the page u r l of this s c product entry

setPageURL

public void setPageURL(String pageURL)
Description copied from interface: SCProductEntryModel
Sets the page u r l of this s c product entry.

Specified by:
setPageURL in interface SCProductEntryModel
Parameters:
pageURL - the page u r l of this s c product entry

getAuthor

public String getAuthor()
Description copied from interface: SCProductEntryModel
Gets the author of this s c product entry.

Specified by:
getAuthor in interface SCProductEntryModel
Returns:
the author of this s c product entry

setAuthor

public void setAuthor(String author)
Description copied from interface: SCProductEntryModel
Sets the author of this s c product entry.

Specified by:
setAuthor in interface SCProductEntryModel
Parameters:
author - the author of this s c product entry

getRepoGroupId

public String getRepoGroupId()
Description copied from interface: SCProductEntryModel
Gets the repo group id of this s c product entry.

Specified by:
getRepoGroupId in interface SCProductEntryModel
Returns:
the repo group id of this s c product entry

setRepoGroupId

public void setRepoGroupId(String repoGroupId)
Description copied from interface: SCProductEntryModel
Sets the repo group id of this s c product entry.

Specified by:
setRepoGroupId in interface SCProductEntryModel
Parameters:
repoGroupId - the repo group id of this s c product entry

getOriginalRepoGroupId

public String getOriginalRepoGroupId()

getRepoArtifactId

public String getRepoArtifactId()
Description copied from interface: SCProductEntryModel
Gets the repo artifact id of this s c product entry.

Specified by:
getRepoArtifactId in interface SCProductEntryModel
Returns:
the repo artifact id of this s c product entry

setRepoArtifactId

public void setRepoArtifactId(String repoArtifactId)
Description copied from interface: SCProductEntryModel
Sets the repo artifact id of this s c product entry.

Specified by:
setRepoArtifactId in interface SCProductEntryModel
Parameters:
repoArtifactId - the repo artifact id of this s c product entry

getOriginalRepoArtifactId

public String getOriginalRepoArtifactId()

toEscapedModel

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

Specified by:
toEscapedModel in interface SCProductEntryModel
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<SCProductEntry>
Specified by:
getExpandoBridge in interface SCProductEntryModel
Overrides:
getExpandoBridge in class BaseModelImpl<SCProductEntry>
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<SCProductEntry>
Specified by:
setExpandoBridgeAttributes in interface SCProductEntryModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<SCProductEntry>
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<SCProductEntry>
Specified by:
clone in interface SCProductEntryModel
Specified by:
clone in class BaseModelImpl<SCProductEntry>
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(SCProductEntry scProductEntry)
Specified by:
compareTo in interface SCProductEntryModel
Specified by:
compareTo in interface Comparable<SCProductEntry>

equals

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

hashCode

public int hashCode()
Specified by:
hashCode in interface SCProductEntryModel
Overrides:
hashCode in class Object

toString

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

Liferay 6.0.5