|
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.OrgGroupPermissionWrapper
public class OrgGroupPermissionWrapper
This class is a wrapper for OrgGroupPermission.
OrgGroupPermission,
Serialized Form| Constructor Summary | |
|---|---|
OrgGroupPermissionWrapper(OrgGroupPermission orgGroupPermission)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(OrgGroupPermission orgGroupPermission)
|
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 permission. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getOrganizationId()
Returns the organization ID of this org group permission. |
long |
getPermissionId()
Returns the permission ID of this org group permission. |
OrgGroupPermissionPK |
getPrimaryKey()
Returns the primary key of this org group permission. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
OrgGroupPermission |
getWrappedModel()
|
OrgGroupPermission |
getWrappedOrgGroupPermission()
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 permission. |
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 permission. |
void |
setPermissionId(long permissionId)
Sets the permission ID of this org group permission. |
void |
setPrimaryKey(OrgGroupPermissionPK primaryKey)
Sets the primary key of this org group permission. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
CacheModel<OrgGroupPermission> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
OrgGroupPermission |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
OrgGroupPermission |
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 OrgGroupPermissionWrapper(OrgGroupPermission orgGroupPermission)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<OrgGroupPermission>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<OrgGroupPermission>public OrgGroupPermissionPK getPrimaryKey()
getPrimaryKey in interface OrgGroupPermissionModelpublic void setPrimaryKey(OrgGroupPermissionPK primaryKey)
setPrimaryKey in interface OrgGroupPermissionModelprimaryKey - the primary key of this org group permissionpublic long getOrganizationId()
getOrganizationId in interface OrgGroupPermissionModelpublic void setOrganizationId(long organizationId)
setOrganizationId in interface OrgGroupPermissionModelorganizationId - the organization ID of this org group permissionpublic long getGroupId()
getGroupId in interface OrgGroupPermissionModelpublic void setGroupId(long groupId)
setGroupId in interface OrgGroupPermissionModelgroupId - the group ID of this org group permissionpublic long getPermissionId()
getPermissionId in interface OrgGroupPermissionModelpublic void setPermissionId(long permissionId)
setPermissionId in interface OrgGroupPermissionModelpermissionId - the permission ID of this org group permissionpublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<OrgGroupPermission>isNew in interface OrgGroupPermissionModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<OrgGroupPermission>setNew in interface OrgGroupPermissionModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<OrgGroupPermission>isCachedModel in interface OrgGroupPermissionModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<OrgGroupPermission>setCachedModel in interface OrgGroupPermissionModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<OrgGroupPermission>isEscapedModel in interface OrgGroupPermissionModeltrue if this model instance is escaped;
false otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<OrgGroupPermission>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface OrgGroupPermissionModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<OrgGroupPermission>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface OrgGroupPermissionModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<OrgGroupPermission>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface OrgGroupPermissionModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<OrgGroupPermission>setExpandoBridgeAttributes in interface OrgGroupPermissionModelserviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<OrgGroupPermission>clone in interface OrgGroupPermissionModelclone in class Objectpublic int compareTo(OrgGroupPermission orgGroupPermission)
compareTo in interface OrgGroupPermissionModelcompareTo in interface Comparable<OrgGroupPermission>public int hashCode()
hashCode in interface OrgGroupPermissionModelhashCode in class Objectpublic CacheModel<OrgGroupPermission> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<OrgGroupPermission>toCacheModel in interface OrgGroupPermissionModelpublic OrgGroupPermission toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<OrgGroupPermission>toEscapedModel in interface OrgGroupPermissionModelAutoEscapeBeanHandlerpublic OrgGroupPermission toUnescapedModel()
toUnescapedModel in interface BaseModel<OrgGroupPermission>toUnescapedModel in interface OrgGroupPermissionModelpublic String toString()
toString in interface OrgGroupPermissionModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<OrgGroupPermission>toXmlString in interface OrgGroupPermissionModelpublic boolean containsGroup(List<Group> groups)
containsGroup in interface OrgGroupPermissionpublic boolean containsOrganization(List<Organization> organizations)
containsOrganization in interface OrgGroupPermissionpublic boolean equals(Object obj)
equals in class Objectpublic OrgGroupPermission getWrappedOrgGroupPermission()
getWrappedModel()
public OrgGroupPermission getWrappedModel()
getWrappedModel in interface ModelWrapper<OrgGroupPermission>public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<OrgGroupPermission>
|
Liferay 6.1.2-ce-ga3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||