|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.UserGroupWrapper
public class UserGroupWrapper
This class is a wrapper for UserGroup.
UserGroup,
Serialized Form| Constructor Summary | |
|---|---|
UserGroupWrapper(UserGroup userGroup)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(UserGroup userGroup)
|
long |
getCompanyId()
Gets the company id of this user group. |
String |
getDescription()
Gets the description of this user group. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
Group |
getGroup()
|
String |
getName()
Gets the name of this user group. |
long |
getParentUserGroupId()
Gets the parent user group id of this user group. |
long |
getPrimaryKey()
Gets the primary key of this user group. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
int |
getPrivateLayoutsPageCount()
|
int |
getPublicLayoutsPageCount()
|
long |
getUserGroupId()
Gets the user group id of this user group. |
UserGroup |
getWrappedUserGroup()
|
int |
hashCode()
|
boolean |
hasPrivateLayouts()
|
boolean |
hasPublicLayouts()
|
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. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setCompanyId(long companyId)
Sets the company id of this user group. |
void |
setDescription(String description)
Sets the description of this user 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 user group. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setParentUserGroupId(long parentUserGroupId)
Sets the parent user group id of this user group. |
void |
setPrimaryKey(long pk)
Sets the primary key of this user group |
void |
setUserGroupId(long userGroupId)
Sets the user group id of this user group. |
UserGroup |
toEscapedModel()
Gets a copy of this user 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 UserGroupWrapper(UserGroup userGroup)
| Method Detail |
|---|
public long getPrimaryKey()
UserGroupModel
getPrimaryKey in interface UserGroupModelpublic void setPrimaryKey(long pk)
UserGroupModel
setPrimaryKey in interface UserGroupModelpk - the primary key of this user grouppublic long getUserGroupId()
UserGroupModel
getUserGroupId in interface UserGroupModelpublic void setUserGroupId(long userGroupId)
UserGroupModel
setUserGroupId in interface UserGroupModeluserGroupId - the user group id of this user grouppublic long getCompanyId()
UserGroupModel
getCompanyId in interface UserGroupModelpublic void setCompanyId(long companyId)
UserGroupModel
setCompanyId in interface UserGroupModelcompanyId - the company id of this user grouppublic long getParentUserGroupId()
UserGroupModel
getParentUserGroupId in interface UserGroupModelpublic void setParentUserGroupId(long parentUserGroupId)
UserGroupModel
setParentUserGroupId in interface UserGroupModelparentUserGroupId - the parent user group id of this user grouppublic String getName()
UserGroupModel
getName in interface UserGroupModelpublic void setName(String name)
UserGroupModel
setName in interface UserGroupModelname - the name of this user grouppublic String getDescription()
UserGroupModel
getDescription in interface UserGroupModelpublic void setDescription(String description)
UserGroupModel
setDescription in interface UserGroupModeldescription - the description of this user grouppublic UserGroup toEscapedModel()
UserGroupModelAutoEscapeBeanHandler.
toEscapedModel in interface UserGroupModelAutoEscapeBeanHandlerpublic boolean isNew()
BaseModel
isNew in interface BaseModel<UserGroup>isNew in interface UserGroupModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<UserGroup>setNew in interface UserGroupModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<UserGroup>isCachedModel in interface UserGroupModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<UserGroup>setCachedModel in interface UserGroupModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<UserGroup>isEscapedModel in interface UserGroupModeltrue 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<UserGroup>setEscapedModel in interface UserGroupModelescapedModel - whether this model instance is escapedAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<UserGroup>getPrimaryKeyObj in interface UserGroupModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<UserGroup>getExpandoBridge in interface UserGroupModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<UserGroup>setExpandoBridgeAttributes in interface UserGroupModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<UserGroup>clone in interface UserGroupModelclone in class Objectpublic int compareTo(UserGroup userGroup)
compareTo in interface UserGroupModelcompareTo in interface Comparable<UserGroup>public int hashCode()
hashCode in interface UserGroupModelhashCode in class Objectpublic String toString()
toString in interface UserGroupModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<UserGroup>toXmlString in interface UserGroupModel
public Group getGroup()
throws PortalException,
SystemException
getGroup in interface UserGroupPortalException
SystemException
public int getPrivateLayoutsPageCount()
throws PortalException,
SystemException
getPrivateLayoutsPageCount in interface UserGroupPortalException
SystemException
public boolean hasPrivateLayouts()
throws PortalException,
SystemException
hasPrivateLayouts in interface UserGroupPortalException
SystemException
public int getPublicLayoutsPageCount()
throws PortalException,
SystemException
getPublicLayoutsPageCount in interface UserGroupPortalException
SystemException
public boolean hasPublicLayouts()
throws PortalException,
SystemException
hasPublicLayouts in interface UserGroupPortalException
SystemExceptionpublic UserGroup getWrappedUserGroup()
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||