|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.UserGroupWrapper
@ProviderType public class UserGroupWrapper
This class is a wrapper for UserGroup.
UserGroup,
Serialized Form| Field Summary |
|---|
| Fields inherited from interface com.liferay.portal.model.UserGroup |
|---|
NAME_ACCESSOR, USER_GROUP_ID_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()
|
Date |
getLastPublishDate()
Returns the last publish date of this user group. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this user group. |
long |
getMvccVersion()
Returns the mvcc version 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()
|
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 |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
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 |
setLastPublishDate(Date lastPublishDate)
Sets the last publish date of this user group. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this user group. |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version 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 ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<UserGroup>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<UserGroup>public Object clone()
BaseModel
clone in interface BaseModel<UserGroup>clone in interface StagedModelclone in interface UserGroupModelclone in class Objectpublic int compareTo(UserGroup userGroup)
compareTo in interface UserGroupModelcompareTo in interface Comparable<UserGroup>public boolean getAddedByLDAPImport()
getAddedByLDAPImport in interface UserGroupModelpublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelgetCompanyId in interface UserGroupModelpublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelgetCreateDate in interface UserGroupModelpublic String getDescription()
getDescription in interface UserGroupModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<UserGroup>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface UserGroupModel
public Group getGroup()
throws PortalException
getGroup in interface UserGroupPortalException
public long getGroupId()
throws PortalException
getGroupId in interface UserGroupPortalExceptionpublic Date getLastPublishDate()
getLastPublishDate in interface UserGroupModelpublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelgetModifiedDate in interface UserGroupModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface UserGroupModelpublic String getName()
getName in interface UserGroupModelpublic long getParentUserGroupId()
getParentUserGroupId in interface UserGroupModelpublic long getPrimaryKey()
getPrimaryKey in interface UserGroupModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<UserGroup>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface UserGroupModel
public int getPrivateLayoutsPageCount()
throws PortalException
getPrivateLayoutsPageCount in interface UserGroupPortalException
public int getPublicLayoutsPageCount()
throws PortalException
getPublicLayoutsPageCount in interface UserGroupPortalExceptionpublic long getUserGroupId()
getUserGroupId in interface UserGroupModelpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface UserGroupModelpublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface UserGroupModelpublic String getUserUuid()
getUserUuid in interface AuditedModelgetUserUuid in interface UserGroupModelpublic String getUuid()
getUuid in interface StagedModelgetUuid in interface UserGroupModel
public boolean hasPrivateLayouts()
throws PortalException
hasPrivateLayouts in interface UserGroupPortalException
public boolean hasPublicLayouts()
throws PortalException
hasPublicLayouts in interface UserGroupPortalExceptionpublic int hashCode()
hashCode in interface UserGroupModelhashCode in class Objectpublic boolean isAddedByLDAPImport()
true if this user group is added by l d a p import.
isAddedByLDAPImport in interface UserGroupModeltrue if this user group is added by l d a p import; false otherwisepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<UserGroup>isCachedModel in interface UserGroupModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<UserGroup>isEscapedModel in interface UserGroupModeltrue if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<UserGroup>isNew in interface UserGroupModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void persist()
PersistedModel
persist in interface PersistedModelpublic void setAddedByLDAPImport(boolean addedByLDAPImport)
setAddedByLDAPImport in interface UserGroupModeladdedByLDAPImport - the added by l d a p import of this user grouppublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<UserGroup>setCachedModel in interface UserGroupModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelsetCompanyId in interface UserGroupModelcompanyId - the company ID of this user grouppublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelsetCreateDate in interface UserGroupModelcreateDate - the create date of this user grouppublic void setDescription(String description)
setDescription in interface UserGroupModeldescription - the description of this user grouppublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<UserGroup>setExpandoBridgeAttributes in interface UserGroupModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<UserGroup>setExpandoBridgeAttributes in interface UserGroupModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<UserGroup>setExpandoBridgeAttributes in interface UserGroupModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setLastPublishDate(Date lastPublishDate)
setLastPublishDate in interface UserGroupModellastPublishDate - the last publish date of this user grouppublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelsetModifiedDate in interface UserGroupModelmodifiedDate - the modified date of this user grouppublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface UserGroupModelmvccVersion - the mvcc version of this user grouppublic void setName(String name)
setName in interface UserGroupModelname - the name of this user grouppublic 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 void setParentUserGroupId(long parentUserGroupId)
setParentUserGroupId in interface UserGroupModelparentUserGroupId - the parent user group ID of this user grouppublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface UserGroupModelprimaryKey - the primary key of this user grouppublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<UserGroup>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface UserGroupModelprimaryKeyObj - the primary key of this model instancepublic void setUserGroupId(long userGroupId)
setUserGroupId in interface UserGroupModeluserGroupId - the user group ID of this user grouppublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface UserGroupModeluserId - the user ID of this user grouppublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface UserGroupModeluserName - the user name of this user grouppublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface UserGroupModeluserUuid - the user uuid of this user grouppublic void setUuid(String uuid)
setUuid in interface StagedModelsetUuid in interface UserGroupModeluuid - the uuid of this user grouppublic CacheModel<UserGroup> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<UserGroup>toCacheModel in interface UserGroupModelpublic UserGroup toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<UserGroup>toEscapedModel in interface UserGroupModelAutoEscapeBeanHandlerpublic String toString()
toString in interface UserGroupModeltoString in class Objectpublic UserGroup toUnescapedModel()
toUnescapedModel in interface BaseModel<UserGroup>toUnescapedModel in interface UserGroupModelpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<UserGroup>toXmlString in interface UserGroupModelpublic boolean equals(Object obj)
equals in class Objectpublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelpublic UserGroup getWrappedModel()
getWrappedModel in interface ModelWrapper<UserGroup>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<UserGroup>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<UserGroup>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<UserGroup>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||