|
Liferay 6.0.5 | |||||||||
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)
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getGroupId()
Gets the group id of this org group permission. |
long |
getOrganizationId()
Gets the organization id of this org group permission. |
long |
getPermissionId()
Gets the permission id of this org group permission. |
OrgGroupPermissionPK |
getPrimaryKey()
Gets the primary key of this org group permission. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
OrgGroupPermission |
getWrappedOrgGroupPermission()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
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 |
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 pk)
Sets the primary key of this org group permission |
OrgGroupPermission |
toEscapedModel()
Gets a copy of this org group permission as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OrgGroupPermissionWrapper(OrgGroupPermission orgGroupPermission)
Method Detail |
---|
public OrgGroupPermissionPK getPrimaryKey()
OrgGroupPermissionModel
getPrimaryKey
in interface OrgGroupPermissionModel
public void setPrimaryKey(OrgGroupPermissionPK pk)
OrgGroupPermissionModel
setPrimaryKey
in interface OrgGroupPermissionModel
pk
- the primary key of this org group permissionpublic long getOrganizationId()
OrgGroupPermissionModel
getOrganizationId
in interface OrgGroupPermissionModel
public void setOrganizationId(long organizationId)
OrgGroupPermissionModel
setOrganizationId
in interface OrgGroupPermissionModel
organizationId
- the organization id of this org group permissionpublic long getGroupId()
OrgGroupPermissionModel
getGroupId
in interface OrgGroupPermissionModel
public void setGroupId(long groupId)
OrgGroupPermissionModel
setGroupId
in interface OrgGroupPermissionModel
groupId
- the group id of this org group permissionpublic long getPermissionId()
OrgGroupPermissionModel
getPermissionId
in interface OrgGroupPermissionModel
public void setPermissionId(long permissionId)
OrgGroupPermissionModel
setPermissionId
in interface OrgGroupPermissionModel
permissionId
- the permission id of this org group permissionpublic OrgGroupPermission toEscapedModel()
OrgGroupPermissionModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface OrgGroupPermissionModel
AutoEscapeBeanHandler
public boolean isNew()
BaseModel
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
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
isEscapedModel
in interface BaseModel<OrgGroupPermission>
isEscapedModel
in interface OrgGroupPermissionModel
true
if this model instance is escaped;
false
otherwiseBaseModel.setEscapedModel(boolean)
public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel
method. For example,
UserModel.toEscapedModel()
.
setEscapedModel
in interface BaseModel<OrgGroupPermission>
setEscapedModel
in interface OrgGroupPermissionModel
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<OrgGroupPermission>
getPrimaryKeyObj
in interface OrgGroupPermissionModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<OrgGroupPermission>
getExpandoBridge
in interface OrgGroupPermissionModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<OrgGroupPermission>
setExpandoBridgeAttributes
in interface OrgGroupPermissionModel
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.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 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 OrgGroupPermission getWrappedOrgGroupPermission()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |