|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.OrgGroupPermissionWrapper
public class OrgGroupPermissionWrapper
This class is a wrapper for OrgGroupPermission
.
OrgGroupPermission
,
Serialized FormConstructor 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 ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public 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 OrgGroupPermissionModel
public void setPrimaryKey(OrgGroupPermissionPK primaryKey)
setPrimaryKey
in interface OrgGroupPermissionModel
primaryKey
- the primary key of this org group permissionpublic long getOrganizationId()
getOrganizationId
in interface OrgGroupPermissionModel
public void setOrganizationId(long organizationId)
setOrganizationId
in interface OrgGroupPermissionModel
organizationId
- the organization ID of this org group permissionpublic long getGroupId()
getGroupId
in interface OrgGroupPermissionModel
public void setGroupId(long groupId)
setGroupId
in interface OrgGroupPermissionModel
groupId
- the group ID of this org group permissionpublic long getPermissionId()
getPermissionId
in interface OrgGroupPermissionModel
public void setPermissionId(long permissionId)
setPermissionId
in interface OrgGroupPermissionModel
permissionId
- the permission ID of this org group permissionpublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<OrgGroupPermission>
isNew
in interface OrgGroupPermissionModel
true
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 OrgGroupPermissionModel
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<OrgGroupPermission>
isCachedModel
in interface OrgGroupPermissionModel
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<OrgGroupPermission>
setCachedModel
in interface OrgGroupPermissionModel
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<OrgGroupPermission>
isEscapedModel
in interface OrgGroupPermissionModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<OrgGroupPermission>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface OrgGroupPermissionModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<OrgGroupPermission>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface OrgGroupPermissionModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<OrgGroupPermission>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface OrgGroupPermissionModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<OrgGroupPermission>
setExpandoBridgeAttributes
in interface OrgGroupPermissionModel
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<OrgGroupPermission>
clone
in interface OrgGroupPermissionModel
clone
in class Object
public int compareTo(OrgGroupPermission orgGroupPermission)
compareTo
in interface OrgGroupPermissionModel
compareTo
in interface Comparable<OrgGroupPermission>
public int hashCode()
hashCode
in interface OrgGroupPermissionModel
hashCode
in class Object
public CacheModel<OrgGroupPermission> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<OrgGroupPermission>
toCacheModel
in interface OrgGroupPermissionModel
public OrgGroupPermission toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<OrgGroupPermission>
toEscapedModel
in interface OrgGroupPermissionModel
AutoEscapeBeanHandler
public OrgGroupPermission toUnescapedModel()
toUnescapedModel
in interface BaseModel<OrgGroupPermission>
toUnescapedModel
in interface OrgGroupPermissionModel
public String toString()
toString
in interface OrgGroupPermissionModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<OrgGroupPermission>
toXmlString
in interface OrgGroupPermissionModel
public boolean containsGroup(List<Group> groups)
containsGroup
in interface OrgGroupPermission
public boolean containsOrganization(List<Organization> organizations)
containsOrganization
in interface OrgGroupPermission
public boolean equals(Object obj)
equals
in class Object
public 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 |