com.liferay.portal.model
Class PermissionWrapper
java.lang.Object
com.liferay.portal.model.PermissionWrapper
- All Implemented Interfaces:
- BaseModel<Permission>, Permission, PermissionModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Permission>
public class PermissionWrapper
- extends java.lang.Object
- implements Permission
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class is a wrapper for Permission
.
- Author:
- Brian Wing Shun Chan
- See Also:
Permission
,
Serialized Form- Generated:
Methods inherited from class java.lang.Object |
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
PermissionWrapper
public PermissionWrapper(Permission permission)
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey
in interface PermissionModel
setPrimaryKey
public void setPrimaryKey(long pk)
- Specified by:
setPrimaryKey
in interface PermissionModel
getPermissionId
public long getPermissionId()
- Specified by:
getPermissionId
in interface PermissionModel
setPermissionId
public void setPermissionId(long permissionId)
- Specified by:
setPermissionId
in interface PermissionModel
getCompanyId
public long getCompanyId()
- Specified by:
getCompanyId
in interface PermissionModel
setCompanyId
public void setCompanyId(long companyId)
- Specified by:
setCompanyId
in interface PermissionModel
getActionId
public java.lang.String getActionId()
- Specified by:
getActionId
in interface PermissionModel
setActionId
public void setActionId(java.lang.String actionId)
- Specified by:
setActionId
in interface PermissionModel
getResourceId
public long getResourceId()
- Specified by:
getResourceId
in interface PermissionModel
setResourceId
public void setResourceId(long resourceId)
- Specified by:
setResourceId
in interface PermissionModel
isNew
public boolean isNew()
- Specified by:
isNew
in interface BaseModel<Permission>
- Specified by:
isNew
in interface PermissionModel
setNew
public boolean setNew(boolean n)
- Specified by:
setNew
in interface BaseModel<Permission>
- Specified by:
setNew
in interface PermissionModel
isCachedModel
public boolean isCachedModel()
- Specified by:
isCachedModel
in interface BaseModel<Permission>
- Specified by:
isCachedModel
in interface PermissionModel
setCachedModel
public void setCachedModel(boolean cachedModel)
- Specified by:
setCachedModel
in interface BaseModel<Permission>
- Specified by:
setCachedModel
in interface PermissionModel
isEscapedModel
public boolean isEscapedModel()
- Specified by:
isEscapedModel
in interface BaseModel<Permission>
- Specified by:
isEscapedModel
in interface PermissionModel
setEscapedModel
public void setEscapedModel(boolean escapedModel)
- Specified by:
setEscapedModel
in interface BaseModel<Permission>
- Specified by:
setEscapedModel
in interface PermissionModel
getPrimaryKeyObj
public java.io.Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj
in interface BaseModel<Permission>
- Specified by:
getPrimaryKeyObj
in interface PermissionModel
getExpandoBridge
public ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge
in interface BaseModel<Permission>
- Specified by:
getExpandoBridge
in interface PermissionModel
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
- Specified by:
setExpandoBridgeAttributes
in interface BaseModel<Permission>
- Specified by:
setExpandoBridgeAttributes
in interface PermissionModel
clone
public java.lang.Object clone()
- Specified by:
clone
in interface BaseModel<Permission>
- Specified by:
clone
in interface PermissionModel
- Overrides:
clone
in class java.lang.Object
compareTo
public int compareTo(Permission permission)
- Specified by:
compareTo
in interface PermissionModel
- Specified by:
compareTo
in interface java.lang.Comparable<Permission>
hashCode
public int hashCode()
- Specified by:
hashCode
in interface PermissionModel
- Overrides:
hashCode
in class java.lang.Object
toEscapedModel
public Permission toEscapedModel()
- Specified by:
toEscapedModel
in interface BaseModel<Permission>
- Specified by:
toEscapedModel
in interface PermissionModel
toString
public java.lang.String toString()
- Specified by:
toString
in interface PermissionModel
- Overrides:
toString
in class java.lang.Object
toXmlString
public java.lang.String toXmlString()
- Specified by:
toXmlString
in interface BaseModel<Permission>
- Specified by:
toXmlString
in interface PermissionModel
getName
public java.lang.String getName()
- Specified by:
getName
in interface Permission
getPrimKey
public java.lang.String getPrimKey()
- Specified by:
getPrimKey
in interface Permission
getScope
public int getScope()
- Specified by:
getScope
in interface Permission
setName
public void setName(java.lang.String name)
- Specified by:
setName
in interface Permission
setPrimKey
public void setPrimKey(java.lang.String primKey)
- Specified by:
setPrimKey
in interface Permission
setScope
public void setScope(int scope)
- Specified by:
setScope
in interface Permission
getWrappedPermission
public Permission getWrappedPermission()