Liferay 6.0.3

com.liferay.portlet.asset.model.impl
Class AssetEntryModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<AssetEntry>
      extended by com.liferay.portlet.asset.model.impl.AssetEntryModelImpl
All Implemented Interfaces:
BaseModel<AssetEntry>, AssetEntryModel, Serializable, Cloneable, Comparable<AssetEntry>
Direct Known Subclasses:
AssetEntryImpl

public class AssetEntryModelImpl
extends BaseModelImpl<AssetEntry>
implements AssetEntryModel

This interface is a model that represents the AssetEntry table in the database.

See Also:
AssetEntryImpl, AssetEntry, AssetEntryModel, 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_ASSETENTRIES_ASSETCATEGORIES
           
static boolean FINDER_CACHE_ENABLED_ASSETENTRIES_ASSETTAGS
           
static long LOCK_EXPIRATION_TIME
           
static Object[][] MAPPING_TABLE_ASSETENTRIES_ASSETCATEGORIES_COLUMNS
           
static String MAPPING_TABLE_ASSETENTRIES_ASSETCATEGORIES_NAME
           
static String MAPPING_TABLE_ASSETENTRIES_ASSETCATEGORIES_SQL_CREATE
           
static Object[][] MAPPING_TABLE_ASSETENTRIES_ASSETTAGS_COLUMNS
           
static String MAPPING_TABLE_ASSETENTRIES_ASSETTAGS_NAME
           
static String MAPPING_TABLE_ASSETENTRIES_ASSETTAGS_SQL_CREATE
           
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
AssetEntryModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(AssetEntry assetEntry)
           
 boolean equals(Object obj)
           
 String getClassName()
           
 long getClassNameId()
           
 long getClassPK()
           
 String getClassUuid()
           
 long getCompanyId()
           
 Date getCreateDate()
           
 String getDescription()
           
 Date getEndDate()
           
 long getEntryId()
           
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 Date getExpirationDate()
           
 long getGroupId()
           
 int getHeight()
           
 String getMimeType()
           
 Date getModifiedDate()
           
 long getOriginalClassNameId()
           
 long getOriginalClassPK()
           
 String getOriginalClassUuid()
           
 long getOriginalGroupId()
           
 long getPrimaryKey()
           
 Serializable getPrimaryKeyObj()
          Gets the primary key for this model instance.
 double getPriority()
           
 Date getPublishDate()
           
 Date getStartDate()
           
 String getSummary()
           
 String getTitle()
           
 String getUrl()
           
 long getUserId()
           
 String getUserName()
           
 String getUserUuid()
           
 int getViewCount()
           
 boolean getVisible()
           
 int getWidth()
           
 int hashCode()
           
 boolean isVisible()
           
 void setClassNameId(long classNameId)
           
 void setClassPK(long classPK)
           
 void setClassUuid(String classUuid)
           
 void setCompanyId(long companyId)
           
 void setCreateDate(Date createDate)
           
 void setDescription(String description)
           
 void setEndDate(Date endDate)
           
 void setEntryId(long entryId)
           
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 void setExpirationDate(Date expirationDate)
           
 void setGroupId(long groupId)
           
 void setHeight(int height)
           
 void setMimeType(String mimeType)
           
 void setModifiedDate(Date modifiedDate)
           
 void setPrimaryKey(long pk)
           
 void setPriority(double priority)
           
 void setPublishDate(Date publishDate)
           
 void setStartDate(Date startDate)
           
 void setSummary(String summary)
           
 void setTitle(String title)
           
 void setUrl(String url)
           
 void setUserId(long userId)
           
 void setUserName(String userName)
           
 void setUserUuid(String userUuid)
           
 void setViewCount(int viewCount)
           
 void setVisible(boolean visible)
           
 void setWidth(int width)
           
 AssetEntry toEscapedModel()
           
static AssetEntry toModel(AssetEntrySoap soapModel)
           
static List<AssetEntry> toModels(AssetEntrySoap[] soapModels)
           
 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.asset.model.AssetEntryModel
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

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_ASSETENTRIES_ASSETCATEGORIES_NAME

public static final String MAPPING_TABLE_ASSETENTRIES_ASSETCATEGORIES_NAME
See Also:
Constant Field Values

MAPPING_TABLE_ASSETENTRIES_ASSETCATEGORIES_COLUMNS

public static final Object[][] MAPPING_TABLE_ASSETENTRIES_ASSETCATEGORIES_COLUMNS

MAPPING_TABLE_ASSETENTRIES_ASSETCATEGORIES_SQL_CREATE

public static final String MAPPING_TABLE_ASSETENTRIES_ASSETCATEGORIES_SQL_CREATE
See Also:
Constant Field Values

FINDER_CACHE_ENABLED_ASSETENTRIES_ASSETCATEGORIES

public static final boolean FINDER_CACHE_ENABLED_ASSETENTRIES_ASSETCATEGORIES

MAPPING_TABLE_ASSETENTRIES_ASSETTAGS_NAME

public static final String MAPPING_TABLE_ASSETENTRIES_ASSETTAGS_NAME
See Also:
Constant Field Values

MAPPING_TABLE_ASSETENTRIES_ASSETTAGS_COLUMNS

public static final Object[][] MAPPING_TABLE_ASSETENTRIES_ASSETTAGS_COLUMNS

MAPPING_TABLE_ASSETENTRIES_ASSETTAGS_SQL_CREATE

public static final String MAPPING_TABLE_ASSETENTRIES_ASSETTAGS_SQL_CREATE
See Also:
Constant Field Values

FINDER_CACHE_ENABLED_ASSETENTRIES_ASSETTAGS

public static final boolean FINDER_CACHE_ENABLED_ASSETENTRIES_ASSETTAGS

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

AssetEntryModelImpl

public AssetEntryModelImpl()
Method Detail

toModel

public static AssetEntry toModel(AssetEntrySoap soapModel)

toModels

public static List<AssetEntry> toModels(AssetEntrySoap[] soapModels)

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface AssetEntryModel

setPrimaryKey

public void setPrimaryKey(long pk)
Specified by:
setPrimaryKey in interface AssetEntryModel

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<AssetEntry>
Specified by:
getPrimaryKeyObj in interface AssetEntryModel
Returns:
the primary key

getEntryId

public long getEntryId()
Specified by:
getEntryId in interface AssetEntryModel

setEntryId

public void setEntryId(long entryId)
Specified by:
setEntryId in interface AssetEntryModel

getGroupId

public long getGroupId()
Specified by:
getGroupId in interface AssetEntryModel

setGroupId

public void setGroupId(long groupId)
Specified by:
setGroupId in interface AssetEntryModel

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

public long getCompanyId()
Specified by:
getCompanyId in interface AssetEntryModel

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface AssetEntryModel

getUserId

public long getUserId()
Specified by:
getUserId in interface AssetEntryModel

setUserId

public void setUserId(long userId)
Specified by:
setUserId in interface AssetEntryModel

getUserUuid

public String getUserUuid()
                   throws SystemException
Specified by:
getUserUuid in interface AssetEntryModel
Throws:
SystemException

setUserUuid

public void setUserUuid(String userUuid)
Specified by:
setUserUuid in interface AssetEntryModel

getUserName

public String getUserName()
Specified by:
getUserName in interface AssetEntryModel

setUserName

public void setUserName(String userName)
Specified by:
setUserName in interface AssetEntryModel

getCreateDate

public Date getCreateDate()
Specified by:
getCreateDate in interface AssetEntryModel

setCreateDate

public void setCreateDate(Date createDate)
Specified by:
setCreateDate in interface AssetEntryModel

getModifiedDate

public Date getModifiedDate()
Specified by:
getModifiedDate in interface AssetEntryModel

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Specified by:
setModifiedDate in interface AssetEntryModel

getClassName

public String getClassName()
Specified by:
getClassName in interface AssetEntryModel

getClassNameId

public long getClassNameId()
Specified by:
getClassNameId in interface AssetEntryModel

setClassNameId

public void setClassNameId(long classNameId)
Specified by:
setClassNameId in interface AssetEntryModel

getOriginalClassNameId

public long getOriginalClassNameId()

getClassPK

public long getClassPK()
Specified by:
getClassPK in interface AssetEntryModel

setClassPK

public void setClassPK(long classPK)
Specified by:
setClassPK in interface AssetEntryModel

getOriginalClassPK

public long getOriginalClassPK()

getClassUuid

public String getClassUuid()
Specified by:
getClassUuid in interface AssetEntryModel

setClassUuid

public void setClassUuid(String classUuid)
Specified by:
setClassUuid in interface AssetEntryModel

getOriginalClassUuid

public String getOriginalClassUuid()

getVisible

public boolean getVisible()
Specified by:
getVisible in interface AssetEntryModel

isVisible

public boolean isVisible()
Specified by:
isVisible in interface AssetEntryModel

setVisible

public void setVisible(boolean visible)
Specified by:
setVisible in interface AssetEntryModel

getStartDate

public Date getStartDate()
Specified by:
getStartDate in interface AssetEntryModel

setStartDate

public void setStartDate(Date startDate)
Specified by:
setStartDate in interface AssetEntryModel

getEndDate

public Date getEndDate()
Specified by:
getEndDate in interface AssetEntryModel

setEndDate

public void setEndDate(Date endDate)
Specified by:
setEndDate in interface AssetEntryModel

getPublishDate

public Date getPublishDate()
Specified by:
getPublishDate in interface AssetEntryModel

setPublishDate

public void setPublishDate(Date publishDate)
Specified by:
setPublishDate in interface AssetEntryModel

getExpirationDate

public Date getExpirationDate()
Specified by:
getExpirationDate in interface AssetEntryModel

setExpirationDate

public void setExpirationDate(Date expirationDate)
Specified by:
setExpirationDate in interface AssetEntryModel

getMimeType

public String getMimeType()
Specified by:
getMimeType in interface AssetEntryModel

setMimeType

public void setMimeType(String mimeType)
Specified by:
setMimeType in interface AssetEntryModel

getTitle

public String getTitle()
Specified by:
getTitle in interface AssetEntryModel

setTitle

public void setTitle(String title)
Specified by:
setTitle in interface AssetEntryModel

getDescription

public String getDescription()
Specified by:
getDescription in interface AssetEntryModel

setDescription

public void setDescription(String description)
Specified by:
setDescription in interface AssetEntryModel

getSummary

public String getSummary()
Specified by:
getSummary in interface AssetEntryModel

setSummary

public void setSummary(String summary)
Specified by:
setSummary in interface AssetEntryModel

getUrl

public String getUrl()
Specified by:
getUrl in interface AssetEntryModel

setUrl

public void setUrl(String url)
Specified by:
setUrl in interface AssetEntryModel

getHeight

public int getHeight()
Specified by:
getHeight in interface AssetEntryModel

setHeight

public void setHeight(int height)
Specified by:
setHeight in interface AssetEntryModel

getWidth

public int getWidth()
Specified by:
getWidth in interface AssetEntryModel

setWidth

public void setWidth(int width)
Specified by:
setWidth in interface AssetEntryModel

getPriority

public double getPriority()
Specified by:
getPriority in interface AssetEntryModel

setPriority

public void setPriority(double priority)
Specified by:
setPriority in interface AssetEntryModel

getViewCount

public int getViewCount()
Specified by:
getViewCount in interface AssetEntryModel

setViewCount

public void setViewCount(int viewCount)
Specified by:
setViewCount in interface AssetEntryModel

toEscapedModel

public AssetEntry toEscapedModel()
Specified by:
toEscapedModel in interface AssetEntryModel

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Gets the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<AssetEntry>
Specified by:
getExpandoBridge in interface AssetEntryModel
Overrides:
getExpandoBridge in class BaseModelImpl<AssetEntry>
Returns:
the expando bridge

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<AssetEntry>
Specified by:
setExpandoBridgeAttributes in interface AssetEntryModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<AssetEntry>
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<AssetEntry>
Specified by:
clone in interface AssetEntryModel
Specified by:
clone in class BaseModelImpl<AssetEntry>
Returns:
the clone

compareTo

public int compareTo(AssetEntry assetEntry)
Specified by:
compareTo in interface AssetEntryModel
Specified by:
compareTo in interface Comparable<AssetEntry>

equals

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

hashCode

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

toString

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

Liferay 6.0.3