|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.liferay.portlet.softwarecatalog.model.SCProductScreenshotWrapper
public class SCProductScreenshotWrapper
This class is a wrapper for SCProductScreenshot
.
SCProductScreenshot
,
Serialized FormConstructor Summary | |
---|---|
SCProductScreenshotWrapper(SCProductScreenshot scProductScreenshot)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(SCProductScreenshot scProductScreenshot)
|
boolean |
equals(Object obj)
|
long |
getCompanyId()
Returns the company ID of this s c product screenshot. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getFullImageId()
Returns the full image ID of this s c product screenshot. |
long |
getGroupId()
Returns the group ID of this s c product screenshot. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getPrimaryKey()
Returns the primary key of this s c product screenshot. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
int |
getPriority()
Returns the priority of this s c product screenshot. |
long |
getProductEntryId()
Returns the product entry ID of this s c product screenshot. |
long |
getProductScreenshotId()
Returns the product screenshot ID of this s c product screenshot. |
long |
getThumbnailId()
Returns the thumbnail ID of this s c product screenshot. |
SCProductScreenshot |
getWrappedModel()
|
SCProductScreenshot |
getWrappedSCProductScreenshot()
Deprecated. Renamed to getWrappedModel() |
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setCompanyId(long companyId)
Sets the company ID of this s c product screenshot. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setFullImageId(long fullImageId)
Sets the full image ID of this s c product screenshot. |
void |
setGroupId(long groupId)
Sets the group ID of this s c product screenshot. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this s c product screenshot. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setPriority(int priority)
Sets the priority of this s c product screenshot. |
void |
setProductEntryId(long productEntryId)
Sets the product entry ID of this s c product screenshot. |
void |
setProductScreenshotId(long productScreenshotId)
Sets the product screenshot ID of this s c product screenshot. |
void |
setThumbnailId(long thumbnailId)
Sets the thumbnail ID of this s c product screenshot. |
CacheModel<SCProductScreenshot> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
SCProductScreenshot |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
SCProductScreenshot |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SCProductScreenshotWrapper(SCProductScreenshot scProductScreenshot)
Method Detail |
---|
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<SCProductScreenshot>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<SCProductScreenshot>
public long getPrimaryKey()
getPrimaryKey
in interface SCProductScreenshotModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface SCProductScreenshotModel
primaryKey
- the primary key of this s c product screenshotpublic long getProductScreenshotId()
getProductScreenshotId
in interface SCProductScreenshotModel
public void setProductScreenshotId(long productScreenshotId)
setProductScreenshotId
in interface SCProductScreenshotModel
productScreenshotId
- the product screenshot ID of this s c product screenshotpublic long getCompanyId()
getCompanyId
in interface SCProductScreenshotModel
public void setCompanyId(long companyId)
setCompanyId
in interface SCProductScreenshotModel
companyId
- the company ID of this s c product screenshotpublic long getGroupId()
getGroupId
in interface SCProductScreenshotModel
public void setGroupId(long groupId)
setGroupId
in interface SCProductScreenshotModel
groupId
- the group ID of this s c product screenshotpublic long getProductEntryId()
getProductEntryId
in interface SCProductScreenshotModel
public void setProductEntryId(long productEntryId)
setProductEntryId
in interface SCProductScreenshotModel
productEntryId
- the product entry ID of this s c product screenshotpublic long getThumbnailId()
getThumbnailId
in interface SCProductScreenshotModel
public void setThumbnailId(long thumbnailId)
setThumbnailId
in interface SCProductScreenshotModel
thumbnailId
- the thumbnail ID of this s c product screenshotpublic long getFullImageId()
getFullImageId
in interface SCProductScreenshotModel
public void setFullImageId(long fullImageId)
setFullImageId
in interface SCProductScreenshotModel
fullImageId
- the full image ID of this s c product screenshotpublic int getPriority()
getPriority
in interface SCProductScreenshotModel
public void setPriority(int priority)
setPriority
in interface SCProductScreenshotModel
priority
- the priority of this s c product screenshotpublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<SCProductScreenshot>
isNew
in interface SCProductScreenshotModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<SCProductScreenshot>
setNew
in interface SCProductScreenshotModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<SCProductScreenshot>
isCachedModel
in interface SCProductScreenshotModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<SCProductScreenshot>
setCachedModel
in interface SCProductScreenshotModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<SCProductScreenshot>
isEscapedModel
in interface SCProductScreenshotModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<SCProductScreenshot>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface SCProductScreenshotModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<SCProductScreenshot>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface SCProductScreenshotModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<SCProductScreenshot>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface SCProductScreenshotModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<SCProductScreenshot>
setExpandoBridgeAttributes
in interface SCProductScreenshotModel
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<SCProductScreenshot>
clone
in interface SCProductScreenshotModel
clone
in class Object
public int compareTo(SCProductScreenshot scProductScreenshot)
compareTo
in interface SCProductScreenshotModel
compareTo
in interface Comparable<SCProductScreenshot>
public int hashCode()
hashCode
in interface SCProductScreenshotModel
hashCode
in class Object
public CacheModel<SCProductScreenshot> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<SCProductScreenshot>
toCacheModel
in interface SCProductScreenshotModel
public SCProductScreenshot toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<SCProductScreenshot>
toEscapedModel
in interface SCProductScreenshotModel
AutoEscapeBeanHandler
public SCProductScreenshot toUnescapedModel()
toUnescapedModel
in interface BaseModel<SCProductScreenshot>
toUnescapedModel
in interface SCProductScreenshotModel
public String toString()
toString
in interface SCProductScreenshotModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<SCProductScreenshot>
toXmlString
in interface SCProductScreenshotModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic boolean equals(Object obj)
equals
in class Object
public SCProductScreenshot getWrappedSCProductScreenshot()
getWrappedModel()
public SCProductScreenshot getWrappedModel()
getWrappedModel
in interface ModelWrapper<SCProductScreenshot>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<SCProductScreenshot>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |