com.liferay.portal.model.impl
Class ResourceActionModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.ResourceAction>
      extended by com.liferay.portal.model.impl.ResourceActionModelImpl
All Implemented Interfaces:
com.liferay.portal.model.BaseModel<com.liferay.portal.model.ResourceAction>, com.liferay.portal.model.ClassedModel, com.liferay.portal.model.ResourceActionModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<com.liferay.portal.model.ResourceAction>
Direct Known Subclasses:
ResourceActionBaseImpl

public class ResourceActionModelImpl
extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.ResourceAction>
implements com.liferay.portal.model.ResourceActionModel

The base model implementation for the ResourceAction service. Represents a row in the "ResourceAction" database table, with each column mapped to a property of this class.

This implementation and its corresponding interface ResourceActionModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ResourceActionImpl.

Author:
Brian Wing Shun Chan
See Also:
ResourceActionImpl, ResourceAction, ResourceActionModel, Serialized Form
Generated:

Field Summary
static long ACTIONID_COLUMN_BITMASK
           
static boolean COLUMN_BITMASK_ENABLED
           
static java.lang.String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long LOCK_EXPIRATION_TIME
           
static long NAME_COLUMN_BITMASK
           
static java.lang.String ORDER_BY_JPQL
           
static java.lang.String ORDER_BY_SQL
           
static java.lang.String SESSION_FACTORY
           
static java.lang.Object[][] TABLE_COLUMNS
           
static java.lang.String TABLE_NAME
           
static java.lang.String TABLE_SQL_CREATE
           
static java.lang.String TABLE_SQL_DROP
           
static java.lang.String TX_MANAGER
           
 
Constructor Summary
ResourceActionModelImpl()
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(com.liferay.portal.model.ResourceAction resourceAction)
           
 boolean equals(java.lang.Object obj)
           
 java.lang.String getActionId()
           
 long getBitwiseValue()
           
 long getColumnBitmask()
           
 com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
           
 java.lang.Class<?> getModelClass()
           
 java.lang.String getModelClassName()
           
 java.lang.String getName()
           
 java.lang.String getOriginalActionId()
           
 java.lang.String getOriginalName()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 long getResourceActionId()
           
 int hashCode()
           
 void resetOriginalValues()
           
 void setActionId(java.lang.String actionId)
           
 void setBitwiseValue(long bitwiseValue)
           
 void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
           
 void setName(java.lang.String name)
           
 void setPrimaryKey(long primaryKey)
           
 void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
           
 void setResourceActionId(long resourceActionId)
           
 com.liferay.portal.model.CacheModel<com.liferay.portal.model.ResourceAction> toCacheModel()
           
 com.liferay.portal.model.ResourceAction toEscapedModel()
           
 java.lang.String toString()
           
 java.lang.String toXmlString()
           
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.model.ResourceActionModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 

Field Detail

TABLE_NAME

public static final java.lang.String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final java.lang.Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final java.lang.String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final java.lang.String TABLE_SQL_DROP
See Also:
Constant Field Values

ORDER_BY_JPQL

public static final java.lang.String ORDER_BY_JPQL
See Also:
Constant Field Values

ORDER_BY_SQL

public static final java.lang.String ORDER_BY_SQL
See Also:
Constant Field Values

DATA_SOURCE

public static final java.lang.String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final java.lang.String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final java.lang.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

COLUMN_BITMASK_ENABLED

public static final boolean COLUMN_BITMASK_ENABLED

ACTIONID_COLUMN_BITMASK

public static long ACTIONID_COLUMN_BITMASK

NAME_COLUMN_BITMASK

public static long NAME_COLUMN_BITMASK

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

ResourceActionModelImpl

public ResourceActionModelImpl()
Method Detail

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface com.liferay.portal.model.ResourceActionModel

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Specified by:
setPrimaryKey in interface com.liferay.portal.model.ResourceActionModel

getPrimaryKeyObj

public java.io.Serializable getPrimaryKeyObj()
Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ResourceAction>
Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel
Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.ResourceActionModel

setPrimaryKeyObj

public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ResourceAction>
Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel
Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.ResourceActionModel

getModelClass

public java.lang.Class<?> getModelClass()
Specified by:
getModelClass in interface com.liferay.portal.model.ClassedModel

getModelClassName

public java.lang.String getModelClassName()
Specified by:
getModelClassName in interface com.liferay.portal.model.ClassedModel

getResourceActionId

public long getResourceActionId()
Specified by:
getResourceActionId in interface com.liferay.portal.model.ResourceActionModel

setResourceActionId

public void setResourceActionId(long resourceActionId)
Specified by:
setResourceActionId in interface com.liferay.portal.model.ResourceActionModel

getName

public java.lang.String getName()
Specified by:
getName in interface com.liferay.portal.model.ResourceActionModel

setName

public void setName(java.lang.String name)
Specified by:
setName in interface com.liferay.portal.model.ResourceActionModel

getOriginalName

public java.lang.String getOriginalName()

getActionId

public java.lang.String getActionId()
Specified by:
getActionId in interface com.liferay.portal.model.ResourceActionModel

setActionId

public void setActionId(java.lang.String actionId)
Specified by:
setActionId in interface com.liferay.portal.model.ResourceActionModel

getOriginalActionId

public java.lang.String getOriginalActionId()

getBitwiseValue

public long getBitwiseValue()
Specified by:
getBitwiseValue in interface com.liferay.portal.model.ResourceActionModel

setBitwiseValue

public void setBitwiseValue(long bitwiseValue)
Specified by:
setBitwiseValue in interface com.liferay.portal.model.ResourceActionModel

getColumnBitmask

public long getColumnBitmask()

toEscapedModel

public com.liferay.portal.model.ResourceAction toEscapedModel()
Specified by:
toEscapedModel in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ResourceAction>
Specified by:
toEscapedModel in interface com.liferay.portal.model.ResourceActionModel
Overrides:
toEscapedModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.ResourceAction>

getExpandoBridge

public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ResourceAction>
Specified by:
getExpandoBridge in interface com.liferay.portal.model.ClassedModel
Specified by:
getExpandoBridge in interface com.liferay.portal.model.ResourceActionModel
Overrides:
getExpandoBridge in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.ResourceAction>

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ResourceAction>
Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.model.ResourceActionModel
Overrides:
setExpandoBridgeAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.ResourceAction>

clone

public java.lang.Object clone()
Specified by:
clone in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ResourceAction>
Specified by:
clone in interface com.liferay.portal.model.ResourceActionModel
Specified by:
clone in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.ResourceAction>

compareTo

public int compareTo(com.liferay.portal.model.ResourceAction resourceAction)
Specified by:
compareTo in interface com.liferay.portal.model.ResourceActionModel
Specified by:
compareTo in interface java.lang.Comparable<com.liferay.portal.model.ResourceAction>

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Specified by:
hashCode in interface com.liferay.portal.model.ResourceActionModel
Overrides:
hashCode in class java.lang.Object

resetOriginalValues

public void resetOriginalValues()
Specified by:
resetOriginalValues in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ResourceAction>
Overrides:
resetOriginalValues in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.ResourceAction>

toCacheModel

public com.liferay.portal.model.CacheModel<com.liferay.portal.model.ResourceAction> toCacheModel()
Specified by:
toCacheModel in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ResourceAction>
Specified by:
toCacheModel in interface com.liferay.portal.model.ResourceActionModel
Overrides:
toCacheModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.ResourceAction>

toString

public java.lang.String toString()
Specified by:
toString in interface com.liferay.portal.model.ResourceActionModel
Overrides:
toString in class java.lang.Object

toXmlString

public java.lang.String toXmlString()
Specified by:
toXmlString in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ResourceAction>
Specified by:
toXmlString in interface com.liferay.portal.model.ResourceActionModel