Liferay 6.0.5

com.liferay.portlet.journal.model
Class JournalArticleImageWrapper

java.lang.Object
  extended by com.liferay.portlet.journal.model.JournalArticleImageWrapper
All Implemented Interfaces:
BaseModel<JournalArticleImage>, JournalArticleImage, JournalArticleImageModel, Serializable, Cloneable, Comparable<JournalArticleImage>

public class JournalArticleImageWrapper
extends Object
implements JournalArticleImage

This class is a wrapper for JournalArticleImage.

See Also:
JournalArticleImage, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor Summary
JournalArticleImageWrapper(JournalArticleImage journalArticleImage)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(JournalArticleImage journalArticleImage)
           
 String getArticleId()
          Gets the article id of this journal article image.
 long getArticleImageId()
          Gets the article image id of this journal article image.
 String getElInstanceId()
          Gets the el instance id of this journal article image.
 String getElName()
          Gets the el name of this journal article image.
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 long getGroupId()
          Gets the group id of this journal article image.
 String getLanguageId()
          Gets the language id of this journal article image.
 long getPrimaryKey()
          Gets the primary key of this journal article image.
 Serializable getPrimaryKeyObj()
          Gets the primary key of this model instance.
 boolean getTempImage()
          Gets the temp image of this journal article image.
 double getVersion()
          Gets the version of this journal article image.
 JournalArticleImage getWrappedJournalArticleImage()
           
 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.
 boolean isTempImage()
          Determines whether this journal article image is temp image.
 void setArticleId(String articleId)
          Sets the article id of this journal article image.
 void setArticleImageId(long articleImageId)
          Sets the article image id of this journal article image.
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 void setElInstanceId(String elInstanceId)
          Sets the el instance id of this journal article image.
 void setElName(String elName)
          Sets the el name of this journal article image.
 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 setGroupId(long groupId)
          Sets the group id of this journal article image.
 void setLanguageId(String languageId)
          Sets the language id of this journal article image.
 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 journal article image
 void setTempImage(boolean tempImage)
          Sets whether this {$entity.humanName} is temp image.
 void setVersion(double version)
          Sets the version of this journal article image.
 JournalArticleImage toEscapedModel()
          Gets a copy of this journal article image 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

JournalArticleImageWrapper

public JournalArticleImageWrapper(JournalArticleImage journalArticleImage)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: JournalArticleImageModel
Gets the primary key of this journal article image.

Specified by:
getPrimaryKey in interface JournalArticleImageModel
Returns:
the primary key of this journal article image

setPrimaryKey

public void setPrimaryKey(long pk)
Description copied from interface: JournalArticleImageModel
Sets the primary key of this journal article image

Specified by:
setPrimaryKey in interface JournalArticleImageModel
Parameters:
pk - the primary key of this journal article image

getArticleImageId

public long getArticleImageId()
Description copied from interface: JournalArticleImageModel
Gets the article image id of this journal article image.

Specified by:
getArticleImageId in interface JournalArticleImageModel
Returns:
the article image id of this journal article image

setArticleImageId

public void setArticleImageId(long articleImageId)
Description copied from interface: JournalArticleImageModel
Sets the article image id of this journal article image.

Specified by:
setArticleImageId in interface JournalArticleImageModel
Parameters:
articleImageId - the article image id of this journal article image

getGroupId

public long getGroupId()
Description copied from interface: JournalArticleImageModel
Gets the group id of this journal article image.

Specified by:
getGroupId in interface JournalArticleImageModel
Returns:
the group id of this journal article image

setGroupId

public void setGroupId(long groupId)
Description copied from interface: JournalArticleImageModel
Sets the group id of this journal article image.

Specified by:
setGroupId in interface JournalArticleImageModel
Parameters:
groupId - the group id of this journal article image

getArticleId

public String getArticleId()
Description copied from interface: JournalArticleImageModel
Gets the article id of this journal article image.

Specified by:
getArticleId in interface JournalArticleImageModel
Returns:
the article id of this journal article image

setArticleId

public void setArticleId(String articleId)
Description copied from interface: JournalArticleImageModel
Sets the article id of this journal article image.

Specified by:
setArticleId in interface JournalArticleImageModel
Parameters:
articleId - the article id of this journal article image

getVersion

public double getVersion()
Description copied from interface: JournalArticleImageModel
Gets the version of this journal article image.

Specified by:
getVersion in interface JournalArticleImageModel
Returns:
the version of this journal article image

setVersion

public void setVersion(double version)
Description copied from interface: JournalArticleImageModel
Sets the version of this journal article image.

Specified by:
setVersion in interface JournalArticleImageModel
Parameters:
version - the version of this journal article image

getElInstanceId

public String getElInstanceId()
Description copied from interface: JournalArticleImageModel
Gets the el instance id of this journal article image.

Specified by:
getElInstanceId in interface JournalArticleImageModel
Returns:
the el instance id of this journal article image

setElInstanceId

public void setElInstanceId(String elInstanceId)
Description copied from interface: JournalArticleImageModel
Sets the el instance id of this journal article image.

Specified by:
setElInstanceId in interface JournalArticleImageModel
Parameters:
elInstanceId - the el instance id of this journal article image

getElName

public String getElName()
Description copied from interface: JournalArticleImageModel
Gets the el name of this journal article image.

Specified by:
getElName in interface JournalArticleImageModel
Returns:
the el name of this journal article image

setElName

public void setElName(String elName)
Description copied from interface: JournalArticleImageModel
Sets the el name of this journal article image.

Specified by:
setElName in interface JournalArticleImageModel
Parameters:
elName - the el name of this journal article image

getLanguageId

public String getLanguageId()
Description copied from interface: JournalArticleImageModel
Gets the language id of this journal article image.

Specified by:
getLanguageId in interface JournalArticleImageModel
Returns:
the language id of this journal article image

setLanguageId

public void setLanguageId(String languageId)
Description copied from interface: JournalArticleImageModel
Sets the language id of this journal article image.

Specified by:
setLanguageId in interface JournalArticleImageModel
Parameters:
languageId - the language id of this journal article image

getTempImage

public boolean getTempImage()
Description copied from interface: JournalArticleImageModel
Gets the temp image of this journal article image.

Specified by:
getTempImage in interface JournalArticleImageModel
Returns:
the temp image of this journal article image

isTempImage

public boolean isTempImage()
Description copied from interface: JournalArticleImageModel
Determines whether this journal article image is temp image.

Specified by:
isTempImage in interface JournalArticleImageModel
Returns:
whether this journal article image is temp image

setTempImage

public void setTempImage(boolean tempImage)
Description copied from interface: JournalArticleImageModel
Sets whether this {$entity.humanName} is temp image.

Specified by:
setTempImage in interface JournalArticleImageModel
Parameters:
tempImage - the temp image of this journal article image

toEscapedModel

public JournalArticleImage toEscapedModel()
Description copied from interface: JournalArticleImageModel
Gets a copy of this journal article image as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface JournalArticleImageModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

isNew

public boolean isNew()
Description copied from interface: BaseModel
Determines if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<JournalArticleImage>
Specified by:
isNew in interface JournalArticleImageModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

public void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<JournalArticleImage>
Specified by:
setNew in interface JournalArticleImageModel
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

public boolean isCachedModel()
Description copied from interface: BaseModel
Determines if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<JournalArticleImage>
Specified by:
isCachedModel in interface JournalArticleImageModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

public void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<JournalArticleImage>
Specified by:
setCachedModel in interface JournalArticleImageModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

public boolean isEscapedModel()
Description copied from interface: BaseModel
Determines if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<JournalArticleImage>
Specified by:
isEscapedModel in interface JournalArticleImageModel
Returns:
true if this model instance is escaped; false otherwise
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe.

A model instance can be made escaped by wrapping it with an HTML auto escape handler using its toEscapedModel method. For example, UserModel.toEscapedModel().

Specified by:
setEscapedModel in interface BaseModel<JournalArticleImage>
Specified by:
setEscapedModel in interface JournalArticleImageModel
Parameters:
escapedModel - whether this model instance is escaped
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

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

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

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<JournalArticleImage>
Specified by:
getExpandoBridge in interface JournalArticleImageModel
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<JournalArticleImage>
Specified by:
setExpandoBridgeAttributes in interface JournalArticleImageModel
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<JournalArticleImage>
Specified by:
clone in interface JournalArticleImageModel
Overrides:
clone in class Object
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(JournalArticleImage journalArticleImage)
Specified by:
compareTo in interface JournalArticleImageModel
Specified by:
compareTo in interface Comparable<JournalArticleImage>

hashCode

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

toString

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

getWrappedJournalArticleImage

public JournalArticleImage getWrappedJournalArticleImage()

Liferay 6.0.5