|
Liferay 6.1.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.ClusterGroupWrapper
public class ClusterGroupWrapper
This class is a wrapper for ClusterGroup.
ClusterGroup,
Serialized Form| Constructor Summary | |
|---|---|
ClusterGroupWrapper(ClusterGroup clusterGroup)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ClusterGroup clusterGroup)
|
long |
getClusterGroupId()
Returns the cluster group ID of this cluster group. |
String |
getClusterNodeIds()
Returns the cluster node IDs of this cluster group. |
String[] |
getClusterNodeIdsArray()
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
String |
getName()
Returns the name of this cluster group. |
long |
getPrimaryKey()
Returns the primary key of this cluster group. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
boolean |
getWholeCluster()
Returns the whole cluster of this cluster group. |
ClusterGroup |
getWrappedClusterGroup()
Deprecated. Renamed to getWrappedModel() |
ClusterGroup |
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 |
isWholeCluster()
Returns true if this cluster group is whole cluster. |
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 |
setClusterGroupId(long clusterGroupId)
Sets the cluster group ID of this cluster group. |
void |
setClusterNodeIds(String clusterNodeIds)
Sets the cluster node IDs of this cluster group. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setName(String name)
Sets the name of this cluster group. |
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 cluster group. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setWholeCluster(boolean wholeCluster)
Sets whether this cluster group is whole cluster. |
CacheModel<ClusterGroup> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
ClusterGroup |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Returns 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 ClusterGroupWrapper(ClusterGroup clusterGroup)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic long getPrimaryKey()
getPrimaryKey in interface ClusterGroupModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface ClusterGroupModelprimaryKey - the primary key of this cluster grouppublic long getClusterGroupId()
getClusterGroupId in interface ClusterGroupModelpublic void setClusterGroupId(long clusterGroupId)
setClusterGroupId in interface ClusterGroupModelclusterGroupId - the cluster group ID of this cluster grouppublic String getName()
getName in interface ClusterGroupModelpublic void setName(String name)
setName in interface ClusterGroupModelname - the name of this cluster grouppublic String getClusterNodeIds()
getClusterNodeIds in interface ClusterGroupModelpublic void setClusterNodeIds(String clusterNodeIds)
setClusterNodeIds in interface ClusterGroupModelclusterNodeIds - the cluster node IDs of this cluster grouppublic boolean getWholeCluster()
getWholeCluster in interface ClusterGroupModelpublic boolean isWholeCluster()
true if this cluster group is whole cluster.
isWholeCluster in interface ClusterGroupModeltrue if this cluster group is whole cluster; false otherwisepublic void setWholeCluster(boolean wholeCluster)
setWholeCluster in interface ClusterGroupModelwholeCluster - the whole cluster of this cluster grouppublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<ClusterGroup>isNew in interface ClusterGroupModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<ClusterGroup>setNew in interface ClusterGroupModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<ClusterGroup>isCachedModel in interface ClusterGroupModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<ClusterGroup>setCachedModel in interface ClusterGroupModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<ClusterGroup>isEscapedModel in interface ClusterGroupModeltrue if this model instance is escaped;
false otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ClusterGroup>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface ClusterGroupModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<ClusterGroup>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface ClusterGroupModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<ClusterGroup>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface ClusterGroupModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<ClusterGroup>setExpandoBridgeAttributes in interface ClusterGroupModelserviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<ClusterGroup>clone in interface ClusterGroupModelclone in class Objectpublic int compareTo(ClusterGroup clusterGroup)
compareTo in interface ClusterGroupModelcompareTo in interface Comparable<ClusterGroup>public int hashCode()
hashCode in interface ClusterGroupModelhashCode in class Objectpublic CacheModel<ClusterGroup> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<ClusterGroup>toCacheModel in interface ClusterGroupModelpublic ClusterGroup toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<ClusterGroup>toEscapedModel in interface ClusterGroupModelAutoEscapeBeanHandlerpublic String toString()
toString in interface ClusterGroupModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<ClusterGroup>toXmlString in interface ClusterGroupModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurredpublic String[] getClusterNodeIdsArray()
getClusterNodeIdsArray in interface ClusterGrouppublic ClusterGroup getWrappedClusterGroup()
getWrappedModel()
public ClusterGroup getWrappedModel()
getWrappedModel in interface ModelWrapper<ClusterGroup>public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<ClusterGroup>
|
Liferay 6.1.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||