|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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)
|
long |
getCompanyId()
Gets the company id of this s c product screenshot. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getFullImageId()
Gets the full image id of this s c product screenshot. |
long |
getGroupId()
Gets the group id of this s c product screenshot. |
long |
getPrimaryKey()
Gets the primary key of this s c product screenshot. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
int |
getPriority()
Gets the priority of this s c product screenshot. |
long |
getProductEntryId()
Gets the product entry id of this s c product screenshot. |
long |
getProductScreenshotId()
Gets the product screenshot id of this s c product screenshot. |
long |
getThumbnailId()
Gets the thumbnail id of this s c product screenshot. |
SCProductScreenshot |
getWrappedSCProductScreenshot()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
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 |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
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 |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long pk)
Sets the primary key of this s c product screenshot |
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. |
SCProductScreenshot |
toEscapedModel()
Gets a copy of this s c product screenshot as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SCProductScreenshotWrapper(SCProductScreenshot scProductScreenshot)
Method Detail |
---|
public long getPrimaryKey()
SCProductScreenshotModel
getPrimaryKey
in interface SCProductScreenshotModel
public void setPrimaryKey(long pk)
SCProductScreenshotModel
setPrimaryKey
in interface SCProductScreenshotModel
pk
- the primary key of this s c product screenshotpublic long getProductScreenshotId()
SCProductScreenshotModel
getProductScreenshotId
in interface SCProductScreenshotModel
public void setProductScreenshotId(long productScreenshotId)
SCProductScreenshotModel
setProductScreenshotId
in interface SCProductScreenshotModel
productScreenshotId
- the product screenshot id of this s c product screenshotpublic long getCompanyId()
SCProductScreenshotModel
getCompanyId
in interface SCProductScreenshotModel
public void setCompanyId(long companyId)
SCProductScreenshotModel
setCompanyId
in interface SCProductScreenshotModel
companyId
- the company id of this s c product screenshotpublic long getGroupId()
SCProductScreenshotModel
getGroupId
in interface SCProductScreenshotModel
public void setGroupId(long groupId)
SCProductScreenshotModel
setGroupId
in interface SCProductScreenshotModel
groupId
- the group id of this s c product screenshotpublic long getProductEntryId()
SCProductScreenshotModel
getProductEntryId
in interface SCProductScreenshotModel
public void setProductEntryId(long productEntryId)
SCProductScreenshotModel
setProductEntryId
in interface SCProductScreenshotModel
productEntryId
- the product entry id of this s c product screenshotpublic long getThumbnailId()
SCProductScreenshotModel
getThumbnailId
in interface SCProductScreenshotModel
public void setThumbnailId(long thumbnailId)
SCProductScreenshotModel
setThumbnailId
in interface SCProductScreenshotModel
thumbnailId
- the thumbnail id of this s c product screenshotpublic long getFullImageId()
SCProductScreenshotModel
getFullImageId
in interface SCProductScreenshotModel
public void setFullImageId(long fullImageId)
SCProductScreenshotModel
setFullImageId
in interface SCProductScreenshotModel
fullImageId
- the full image id of this s c product screenshotpublic int getPriority()
SCProductScreenshotModel
getPriority
in interface SCProductScreenshotModel
public void setPriority(int priority)
SCProductScreenshotModel
setPriority
in interface SCProductScreenshotModel
priority
- the priority of this s c product screenshotpublic SCProductScreenshot toEscapedModel()
SCProductScreenshotModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface SCProductScreenshotModel
AutoEscapeBeanHandler
public boolean isNew()
BaseModel
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
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
isEscapedModel
in interface BaseModel<SCProductScreenshot>
isEscapedModel
in interface SCProductScreenshotModel
true
if this model instance is escaped;
false
otherwiseBaseModel.setEscapedModel(boolean)
public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel
method. For example,
UserModel.toEscapedModel()
.
setEscapedModel
in interface BaseModel<SCProductScreenshot>
setEscapedModel
in interface SCProductScreenshotModel
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<SCProductScreenshot>
getPrimaryKeyObj
in interface SCProductScreenshotModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<SCProductScreenshot>
getExpandoBridge
in interface SCProductScreenshotModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<SCProductScreenshot>
setExpandoBridgeAttributes
in interface SCProductScreenshotModel
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.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 String toString()
toString
in interface SCProductScreenshotModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<SCProductScreenshot>
toXmlString
in interface SCProductScreenshotModel
public SCProductScreenshot getWrappedSCProductScreenshot()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |