Liferay 6.2-ce-ga5

com.liferay.portlet.journal.model
Class JournalArticleImageWrapper

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

@ProviderType
public class JournalArticleImageWrapper
extends Object
implements JournalArticleImage, ModelWrapper<JournalArticleImage>

This class is a wrapper for JournalArticleImage.

See Also:
JournalArticleImage, Serialized Form

Constructor Summary
JournalArticleImageWrapper(JournalArticleImage journalArticleImage)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(JournalArticleImage journalArticleImage)
           
 boolean equals(Object obj)
           
 String getArticleId()
          Returns the article ID of this journal article image.
 long getArticleImageId()
          Returns the article image ID of this journal article image.
 String getElInstanceId()
          Returns the el instance ID of this journal article image.
 String getElName()
          Returns the el name of this journal article image.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 long getGroupId()
          Returns the group ID of this journal article image.
 String getLanguageId()
          Returns the language ID of this journal article image.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 long getPrimaryKey()
          Returns the primary key of this journal article image.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 boolean getTempImage()
          Returns the temp image of this journal article image.
 double getVersion()
          Returns the version of this journal article image.
 JournalArticleImage getWrappedJournalArticleImage()
          Deprecated. As of 6.1.0, replaced by getWrappedModel()
 JournalArticleImage 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.
 boolean isTempImage()
          Returns true if this journal article image is temp image.
 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 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 setExpandoBridgeAttributes(BaseModel<?> baseModel)
           
 void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
           
 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 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 journal article image.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setTempImage(boolean tempImage)
          Sets whether this journal article image is temp image.
 void setVersion(double version)
          Sets the version of this journal article image.
 CacheModel<JournalArticleImage> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 JournalArticleImage toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 JournalArticleImage 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

JournalArticleImageWrapper

public JournalArticleImageWrapper(JournalArticleImage journalArticleImage)
Method Detail

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<JournalArticleImage>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<JournalArticleImage>

getPrimaryKey

public long getPrimaryKey()
Returns 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 primaryKey)
Sets the primary key of this journal article image.

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

getArticleImageId

public long getArticleImageId()
Returns 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)
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()
Returns 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)
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()
Returns 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)
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()
Returns 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)
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()
Returns 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)
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()
Returns 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)
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()
Returns 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)
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()
Returns 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()
Returns true if this journal article image is temp image.

Specified by:
isTempImage in interface JournalArticleImageModel
Returns:
true if this journal article image is temp image; false otherwise

setTempImage

public void setTempImage(boolean tempImage)
Sets whether this journal article image is temp image.

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

isNew

public boolean isNew()
Description copied from interface: BaseModel
Returns true 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
Returns true 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
Returns true 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

getPrimaryKeyObj

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

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

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<JournalArticleImage>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface JournalArticleImageModel
Parameters:
primaryKeyObj - the primary key of this model instance

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<JournalArticleImage>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface JournalArticleImageModel
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<JournalArticleImage>
Specified by:
setExpandoBridgeAttributes in interface JournalArticleImageModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<JournalArticleImage>
Specified by:
setExpandoBridgeAttributes in interface JournalArticleImageModel

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 be applied
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

toCacheModel

public CacheModel<JournalArticleImage> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<JournalArticleImage>
Specified by:
toCacheModel in interface JournalArticleImageModel
Returns:
the cache model object

toEscapedModel

public JournalArticleImage toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<JournalArticleImage>
Specified by:
toEscapedModel in interface JournalArticleImageModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public JournalArticleImage toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<JournalArticleImage>
Specified by:
toUnescapedModel in interface JournalArticleImageModel

toString

public String toString()
Specified by:
toString in interface JournalArticleImageModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Returns 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

persist

public void persist()
             throws SystemException
Description copied from interface: PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
persist in interface PersistedModel
Throws:
SystemException - if a system exception occurred

equals

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

getWrappedJournalArticleImage

public JournalArticleImage getWrappedJournalArticleImage()
Deprecated. As of 6.1.0, replaced by getWrappedModel()


getWrappedModel

public JournalArticleImage getWrappedModel()
Specified by:
getWrappedModel in interface ModelWrapper<JournalArticleImage>

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<JournalArticleImage>

Liferay 6.2-ce-ga5