|
Liferay 6.0.3 | |||||||||
| 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()
|
String |
getDescription()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
Group |
getGroup()
|
String |
getName()
|
long |
getParentUserGroupId()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
int |
getPrivateLayoutsPageCount()
|
int |
getPublicLayoutsPageCount()
|
long |
getUserGroupId()
|
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 has been wrapped with an HTML auto escape handler. |
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)
|
void |
setDescription(String description)
|
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance has been wrapped with an HTML auto escape handler. |
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)
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setParentUserGroupId(long parentUserGroupId)
|
void |
setPrimaryKey(long pk)
|
void |
setUserGroupId(long userGroupId)
|
UserGroup |
toEscapedModel()
|
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()
getPrimaryKey in interface UserGroupModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface UserGroupModelpublic long getUserGroupId()
getUserGroupId in interface UserGroupModelpublic void setUserGroupId(long userGroupId)
setUserGroupId in interface UserGroupModelpublic long getCompanyId()
getCompanyId in interface UserGroupModelpublic void setCompanyId(long companyId)
setCompanyId in interface UserGroupModelpublic long getParentUserGroupId()
getParentUserGroupId in interface UserGroupModelpublic void setParentUserGroupId(long parentUserGroupId)
setParentUserGroupId in interface UserGroupModelpublic String getName()
getName in interface UserGroupModelpublic void setName(String name)
setName in interface UserGroupModelpublic String getDescription()
getDescription in interface UserGroupModelpublic void setDescription(String description)
setDescription in interface UserGroupModelpublic UserGroup toEscapedModel()
toEscapedModel in interface UserGroupModelpublic 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 has been wrapped with an
HTML auto escape handler; false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be wrapped 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 has been wrapped with an
HTML auto escape handlerAutoEscapeBeanHandlerpublic 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.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||