|
Liferay 6.0-ee | |||||||||
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 FormConstructor 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 whether 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 entity 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()
getPrimaryKey
in interface ClusterGroupModel
public void setPrimaryKey(long pk)
setPrimaryKey
in interface ClusterGroupModel
pk
- the primary key of this cluster grouppublic long getClusterGroupId()
getClusterGroupId
in interface ClusterGroupModel
public void setClusterGroupId(long clusterGroupId)
setClusterGroupId
in interface ClusterGroupModel
clusterGroupId
- the cluster group id of this cluster grouppublic String getName()
getName
in interface ClusterGroupModel
public void setName(String name)
setName
in interface ClusterGroupModel
name
- the name of this cluster grouppublic String getClusterNodeIds()
getClusterNodeIds
in interface ClusterGroupModel
public void setClusterNodeIds(String clusterNodeIds)
setClusterNodeIds
in interface ClusterGroupModel
clusterNodeIds
- the cluster node ids of this cluster grouppublic boolean getWholeCluster()
getWholeCluster
in interface ClusterGroupModel
public boolean isWholeCluster()
isWholeCluster
in interface ClusterGroupModel
public void setWholeCluster(boolean wholeCluster)
setWholeCluster
in interface ClusterGroupModel
wholeCluster
- the whole cluster of this cluster grouppublic boolean isNew()
BaseModel
isNew
in interface BaseModel<ClusterGroup>
isNew
in interface ClusterGroupModel
true
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 ClusterGroupModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel
in interface BaseModel<ClusterGroup>
isCachedModel
in interface ClusterGroupModel
true
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 ClusterGroupModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
isEscapedModel
in interface BaseModel<ClusterGroup>
isEscapedModel
in interface ClusterGroupModel
true
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 ClusterGroupModel
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<ClusterGroup>
getPrimaryKeyObj
in interface ClusterGroupModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<ClusterGroup>
getExpandoBridge
in interface ClusterGroupModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<ClusterGroup>
setExpandoBridgeAttributes
in interface ClusterGroupModel
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<ClusterGroup>
clone
in interface ClusterGroupModel
clone
in class Object
public int compareTo(ClusterGroup clusterGroup)
compareTo
in interface ClusterGroupModel
compareTo
in interface Comparable<ClusterGroup>
public int hashCode()
hashCode
in interface ClusterGroupModel
hashCode
in class Object
public ClusterGroup toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<ClusterGroup>
toEscapedModel
in interface ClusterGroupModel
AutoEscapeBeanHandler
public String toString()
toString
in interface ClusterGroupModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<ClusterGroup>
toXmlString
in interface ClusterGroupModel
public String[] getClusterNodeIdsArray()
getClusterNodeIdsArray
in interface ClusterGroup
public ClusterGroup getWrappedClusterGroup()
|
Liferay 6.0-ee | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |