|
Liferay 6.0.6 | |||||||||
| 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()
Gets the cluster group id of this cluster group. |
String |
getClusterNodeIds()
Gets the cluster node ids of this cluster group. |
String[] |
getClusterNodeIdsArray()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getName()
Gets the name of this cluster group. |
long |
getPrimaryKey()
Gets the primary key of this cluster group. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
boolean |
getWholeCluster()
Gets the whole cluster of this cluster group. |
ClusterGroup |
getWrappedClusterGroup()
|
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 |
isWholeCluster()
Determines if this cluster group is whole cluster. |
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 |
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 |
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 pk)
Sets the primary key of this cluster group |
void |
setWholeCluster(boolean wholeCluster)
Sets whether this {$entity.humanName} is whole cluster. |
ClusterGroup |
toEscapedModel()
Gets a copy of this cluster group 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 ClusterGroupWrapper(ClusterGroup clusterGroup)
| Method Detail |
|---|
public long getPrimaryKey()
ClusterGroupModel
getPrimaryKey in interface ClusterGroupModelpublic void setPrimaryKey(long pk)
ClusterGroupModel
setPrimaryKey in interface ClusterGroupModelpk - the primary key of this cluster grouppublic long getClusterGroupId()
ClusterGroupModel
getClusterGroupId in interface ClusterGroupModelpublic void setClusterGroupId(long clusterGroupId)
ClusterGroupModel
setClusterGroupId in interface ClusterGroupModelclusterGroupId - the cluster group id of this cluster grouppublic String getName()
ClusterGroupModel
getName in interface ClusterGroupModelpublic void setName(String name)
ClusterGroupModel
setName in interface ClusterGroupModelname - the name of this cluster grouppublic String getClusterNodeIds()
ClusterGroupModel
getClusterNodeIds in interface ClusterGroupModelpublic void setClusterNodeIds(String clusterNodeIds)
ClusterGroupModel
setClusterNodeIds in interface ClusterGroupModelclusterNodeIds - the cluster node ids of this cluster grouppublic boolean getWholeCluster()
ClusterGroupModel
getWholeCluster in interface ClusterGroupModelpublic boolean isWholeCluster()
ClusterGroupModel
isWholeCluster in interface ClusterGroupModeltrue if this cluster group is whole cluster; false otherwisepublic void setWholeCluster(boolean wholeCluster)
ClusterGroupModel
setWholeCluster in interface ClusterGroupModelwholeCluster - the whole cluster of this cluster grouppublic ClusterGroup toEscapedModel()
ClusterGroupModelAutoEscapeBeanHandler.
toEscapedModel in interface ClusterGroupModelAutoEscapeBeanHandlerpublic boolean isNew()
BaseModel
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()
BaseModel
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()
BaseModel
isEscapedModel in interface BaseModel<ClusterGroup>isEscapedModel in interface ClusterGroupModeltrue 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<ClusterGroup>setEscapedModel in interface ClusterGroupModelescapedModel - whether this model instance is escapedAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ClusterGroup>getPrimaryKeyObj in interface ClusterGroupModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<ClusterGroup>getExpandoBridge in interface ClusterGroupModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<ClusterGroup>setExpandoBridgeAttributes in interface ClusterGroupModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.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 String toString()
toString in interface ClusterGroupModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<ClusterGroup>toXmlString in interface ClusterGroupModelpublic String[] getClusterNodeIdsArray()
getClusterNodeIdsArray in interface ClusterGrouppublic ClusterGroup getWrappedClusterGroup()
|
Liferay 6.0.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||