|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.liferay.portal.model.OrgGroupRoleWrapper
public class OrgGroupRoleWrapper
This class is a wrapper for OrgGroupRole
.
OrgGroupRole
,
Serialized FormConstructor Summary | |
---|---|
OrgGroupRoleWrapper(OrgGroupRole orgGroupRole)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(OrgGroupRole orgGroupRole)
|
boolean |
containsGroup(List<Group> groups)
|
boolean |
containsOrganization(List<Organization> organizations)
|
boolean |
equals(Object obj)
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this org group role. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getOrganizationId()
Returns the organization ID of this org group role. |
OrgGroupRolePK |
getPrimaryKey()
Returns the primary key of this org group role. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getRoleId()
Returns the role ID of this org group role. |
OrgGroupRole |
getWrappedModel()
|
OrgGroupRole |
getWrappedOrgGroupRole()
Deprecated. Renamed to getWrappedModel() |
int |
hashCode()
|
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 |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setGroupId(long groupId)
Sets the group ID of this org group role. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setOrganizationId(long organizationId)
Sets the organization ID of this org group role. |
void |
setPrimaryKey(OrgGroupRolePK primaryKey)
Sets the primary key of this org group role. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setRoleId(long roleId)
Sets the role ID of this org group role. |
CacheModel<OrgGroupRole> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
OrgGroupRole |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
OrgGroupRole |
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 OrgGroupRoleWrapper(OrgGroupRole orgGroupRole)
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<OrgGroupRole>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<OrgGroupRole>
public OrgGroupRolePK getPrimaryKey()
getPrimaryKey
in interface OrgGroupRoleModel
public void setPrimaryKey(OrgGroupRolePK primaryKey)
setPrimaryKey
in interface OrgGroupRoleModel
primaryKey
- the primary key of this org group rolepublic long getOrganizationId()
getOrganizationId
in interface OrgGroupRoleModel
public void setOrganizationId(long organizationId)
setOrganizationId
in interface OrgGroupRoleModel
organizationId
- the organization ID of this org group rolepublic long getGroupId()
getGroupId
in interface OrgGroupRoleModel
public void setGroupId(long groupId)
setGroupId
in interface OrgGroupRoleModel
groupId
- the group ID of this org group rolepublic long getRoleId()
getRoleId
in interface OrgGroupRoleModel
public void setRoleId(long roleId)
setRoleId
in interface OrgGroupRoleModel
roleId
- the role ID of this org group rolepublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<OrgGroupRole>
isNew
in interface OrgGroupRoleModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<OrgGroupRole>
setNew
in interface OrgGroupRoleModel
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<OrgGroupRole>
isCachedModel
in interface OrgGroupRoleModel
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<OrgGroupRole>
setCachedModel
in interface OrgGroupRoleModel
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<OrgGroupRole>
isEscapedModel
in interface OrgGroupRoleModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<OrgGroupRole>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface OrgGroupRoleModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<OrgGroupRole>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface OrgGroupRoleModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<OrgGroupRole>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface OrgGroupRoleModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<OrgGroupRole>
setExpandoBridgeAttributes
in interface OrgGroupRoleModel
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<OrgGroupRole>
clone
in interface OrgGroupRoleModel
clone
in class Object
public int compareTo(OrgGroupRole orgGroupRole)
compareTo
in interface OrgGroupRoleModel
compareTo
in interface Comparable<OrgGroupRole>
public int hashCode()
hashCode
in interface OrgGroupRoleModel
hashCode
in class Object
public CacheModel<OrgGroupRole> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<OrgGroupRole>
toCacheModel
in interface OrgGroupRoleModel
public OrgGroupRole toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<OrgGroupRole>
toEscapedModel
in interface OrgGroupRoleModel
AutoEscapeBeanHandler
public OrgGroupRole toUnescapedModel()
toUnescapedModel
in interface BaseModel<OrgGroupRole>
toUnescapedModel
in interface OrgGroupRoleModel
public String toString()
toString
in interface OrgGroupRoleModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<OrgGroupRole>
toXmlString
in interface OrgGroupRoleModel
public boolean containsGroup(List<Group> groups)
containsGroup
in interface OrgGroupRole
public boolean containsOrganization(List<Organization> organizations)
containsOrganization
in interface OrgGroupRole
public boolean equals(Object obj)
equals
in class Object
public OrgGroupRole getWrappedOrgGroupRole()
getWrappedModel()
public OrgGroupRole getWrappedModel()
getWrappedModel
in interface ModelWrapper<OrgGroupRole>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<OrgGroupRole>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |