|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.UserGroupWrapper
@ProviderType public class UserGroupWrapper
This class is a wrapper for UserGroup
.
UserGroup
,
Serialized FormField Summary |
---|
Fields inherited from interface com.liferay.portal.model.UserGroup |
---|
NAME_ACCESSOR |
Constructor Summary | |
---|---|
UserGroupWrapper(UserGroup userGroup)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(UserGroup userGroup)
|
boolean |
equals(Object obj)
|
boolean |
getAddedByLDAPImport()
Returns the added by l d a p import of this user group. |
long |
getCompanyId()
Returns the company ID of this user group. |
Date |
getCreateDate()
Returns the create date of this user group. |
String |
getDescription()
Returns the description of this user group. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Group |
getGroup()
|
long |
getGroupId()
|
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this user group. |
String |
getName()
Returns the name of this user group. |
long |
getParentUserGroupId()
Returns the parent user group ID of this user group. |
long |
getPrimaryKey()
Returns the primary key of this user group. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
int |
getPrivateLayoutsPageCount()
|
int |
getPublicLayoutsPageCount()
|
StagedModelType |
getStagedModelType()
|
long |
getUserGroupId()
Returns the user group ID of this user group. |
long |
getUserId()
Returns the user ID of this user group. |
String |
getUserName()
Returns the user name of this user group. |
String |
getUserUuid()
Returns the user uuid of this user group. |
String |
getUuid()
Returns the uuid of this user group. |
UserGroup |
getWrappedModel()
|
UserGroup |
getWrappedUserGroup()
Deprecated. As of 6.1.0, replaced by getWrappedModel() |
int |
hashCode()
|
boolean |
hasPrivateLayouts()
|
boolean |
hasPublicLayouts()
|
boolean |
isAddedByLDAPImport()
Returns true if this user group is added by l d a p import. |
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. |
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 |
setAddedByLDAPImport(boolean addedByLDAPImport)
Sets whether this user group is added by l d a p import. |
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 |
setCreateDate(Date createDate)
Sets the create date of this user group. |
void |
setDescription(String description)
Sets the description of this user group. |
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this user group. |
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 primaryKey)
Sets the primary key of this user group. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setUserGroupId(long userGroupId)
Sets the user group ID of this user group. |
void |
setUserId(long userId)
Sets the user ID of this user group. |
void |
setUserName(String userName)
Sets the user name of this user group. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this user group. |
void |
setUuid(String uuid)
Sets the uuid of this user group. |
CacheModel<UserGroup> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
UserGroup |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
UserGroup |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UserGroupWrapper(UserGroup userGroup)
Method Detail |
---|
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<UserGroup>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<UserGroup>
public long getPrimaryKey()
getPrimaryKey
in interface UserGroupModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface UserGroupModel
primaryKey
- the primary key of this user grouppublic String getUuid()
getUuid
in interface StagedModel
getUuid
in interface UserGroupModel
public void setUuid(String uuid)
setUuid
in interface StagedModel
setUuid
in interface UserGroupModel
uuid
- the uuid of this user grouppublic long getUserGroupId()
getUserGroupId
in interface UserGroupModel
public void setUserGroupId(long userGroupId)
setUserGroupId
in interface UserGroupModel
userGroupId
- the user group ID of this user grouppublic long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface StagedModel
getCompanyId
in interface UserGroupModel
public void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface StagedModel
setCompanyId
in interface UserGroupModel
companyId
- the company ID of this user grouppublic long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface UserGroupModel
public void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface UserGroupModel
userId
- the user ID of this user grouppublic String getUserUuid() throws SystemException
getUserUuid
in interface AuditedModel
getUserUuid
in interface UserGroupModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface UserGroupModel
userUuid
- the user uuid of this user grouppublic String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface UserGroupModel
public void setUserName(String userName)
setUserName
in interface AuditedModel
setUserName
in interface UserGroupModel
userName
- the user name of this user grouppublic Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface StagedModel
getCreateDate
in interface UserGroupModel
public void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface StagedModel
setCreateDate
in interface UserGroupModel
createDate
- the create date of this user grouppublic Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface StagedModel
getModifiedDate
in interface UserGroupModel
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface StagedModel
setModifiedDate
in interface UserGroupModel
modifiedDate
- the modified date of this user grouppublic long getParentUserGroupId()
getParentUserGroupId
in interface UserGroupModel
public void setParentUserGroupId(long parentUserGroupId)
setParentUserGroupId
in interface UserGroupModel
parentUserGroupId
- the parent user group ID of this user grouppublic String getName()
getName
in interface UserGroupModel
public void setName(String name)
setName
in interface UserGroupModel
name
- the name of this user grouppublic String getDescription()
getDescription
in interface UserGroupModel
public void setDescription(String description)
setDescription
in interface UserGroupModel
description
- the description of this user grouppublic boolean getAddedByLDAPImport()
getAddedByLDAPImport
in interface UserGroupModel
public boolean isAddedByLDAPImport()
true
if this user group is added by l d a p import.
isAddedByLDAPImport
in interface UserGroupModel
true
if this user group is added by l d a p import; false
otherwisepublic void setAddedByLDAPImport(boolean addedByLDAPImport)
setAddedByLDAPImport
in interface UserGroupModel
addedByLDAPImport
- the added by l d a p import of this user grouppublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<UserGroup>
isNew
in interface UserGroupModel
true
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 UserGroupModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<UserGroup>
isCachedModel
in interface UserGroupModel
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<UserGroup>
setCachedModel
in interface UserGroupModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<UserGroup>
isEscapedModel
in interface UserGroupModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<UserGroup>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface UserGroupModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<UserGroup>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface UserGroupModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<UserGroup>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface UserGroupModel
public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<UserGroup>
setExpandoBridgeAttributes
in interface UserGroupModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<UserGroup>
setExpandoBridgeAttributes
in interface UserGroupModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<UserGroup>
setExpandoBridgeAttributes
in interface UserGroupModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<UserGroup>
clone
in interface StagedModel
clone
in interface UserGroupModel
clone
in class Object
public int compareTo(UserGroup userGroup)
compareTo
in interface UserGroupModel
compareTo
in interface Comparable<UserGroup>
public int hashCode()
hashCode
in interface UserGroupModel
hashCode
in class Object
public CacheModel<UserGroup> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<UserGroup>
toCacheModel
in interface UserGroupModel
public UserGroup toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<UserGroup>
toEscapedModel
in interface UserGroupModel
AutoEscapeBeanHandler
public UserGroup toUnescapedModel()
toUnescapedModel
in interface BaseModel<UserGroup>
toUnescapedModel
in interface UserGroupModel
public String toString()
toString
in interface UserGroupModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<UserGroup>
toXmlString
in interface UserGroupModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic Group getGroup() throws PortalException, SystemException
getGroup
in interface UserGroup
PortalException
SystemException
public long getGroupId() throws PortalException, SystemException
getGroupId
in interface UserGroup
PortalException
SystemException
public int getPrivateLayoutsPageCount() throws PortalException, SystemException
getPrivateLayoutsPageCount
in interface UserGroup
PortalException
SystemException
public int getPublicLayoutsPageCount() throws PortalException, SystemException
getPublicLayoutsPageCount
in interface UserGroup
PortalException
SystemException
public boolean hasPrivateLayouts() throws PortalException, SystemException
hasPrivateLayouts
in interface UserGroup
PortalException
SystemException
public boolean hasPublicLayouts() throws PortalException, SystemException
hasPublicLayouts
in interface UserGroup
PortalException
SystemException
public boolean equals(Object obj)
equals
in class Object
public StagedModelType getStagedModelType()
getStagedModelType
in interface StagedModel
public UserGroup getWrappedUserGroup()
getWrappedModel()
public UserGroup getWrappedModel()
getWrappedModel
in interface ModelWrapper<UserGroup>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<UserGroup>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |