Liferay 6.1.2-ce-ga3

com.liferay.portal.model.impl
Class PermissionImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<Permission>
      extended by com.liferay.portal.model.impl.PermissionModelImpl
          extended by com.liferay.portal.model.impl.PermissionBaseImpl
              extended by com.liferay.portal.model.impl.PermissionImpl
All Implemented Interfaces:
BaseModel<Permission>, ClassedModel, Permission, PermissionModel, PersistedModel, Serializable, Cloneable, Comparable<Permission>

public class PermissionImpl
extends PermissionBaseImpl

Represents a permission to perform an action on a resource in permissions versions < 6.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.liferay.portal.model.impl.PermissionModelImpl
ACTIONID_COLUMN_BITMASK, COLUMN_BITMASK_ENABLED, DATA_SOURCE, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, FINDER_CACHE_ENABLED_GROUPS_PERMISSIONS, FINDER_CACHE_ENABLED_ROLES_PERMISSIONS, FINDER_CACHE_ENABLED_USERS_PERMISSIONS, LOCK_EXPIRATION_TIME, MAPPING_TABLE_GROUPS_PERMISSIONS_COLUMNS, MAPPING_TABLE_GROUPS_PERMISSIONS_NAME, MAPPING_TABLE_GROUPS_PERMISSIONS_SQL_CREATE, MAPPING_TABLE_ROLES_PERMISSIONS_COLUMNS, MAPPING_TABLE_ROLES_PERMISSIONS_NAME, MAPPING_TABLE_ROLES_PERMISSIONS_SQL_CREATE, MAPPING_TABLE_USERS_PERMISSIONS_COLUMNS, MAPPING_TABLE_USERS_PERMISSIONS_NAME, MAPPING_TABLE_USERS_PERMISSIONS_SQL_CREATE, RESOURCEID_COLUMN_BITMASK, SESSION_FACTORY, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER
 
Fields inherited from interface com.liferay.portal.model.Permission
PERMISSION_ID_ACCESSOR
 
Constructor Summary
PermissionImpl()
           
 
Method Summary
 String getName()
           
 String getPrimKey()
           
 int getScope()
           
 void setName(String name)
           
 void setPrimKey(String primKey)
           
 void setScope(int scope)
           
 
Methods inherited from class com.liferay.portal.model.impl.PermissionBaseImpl
persist
 
Methods inherited from class com.liferay.portal.model.impl.PermissionModelImpl
clone, compareTo, equals, getActionId, getColumnBitmask, getCompanyId, getExpandoBridge, getModelAttributes, getModelClass, getModelClassName, getOriginalActionId, getOriginalResourceId, getPermissionId, getPrimaryKey, getPrimaryKeyObj, getResourceId, hashCode, resetOriginalValues, setActionId, setCompanyId, setExpandoBridgeAttributes, setModelAttributes, setPermissionId, setPrimaryKey, setPrimaryKeyObj, setResourceId, toCacheModel, toEscapedModel, toModel, toModels, toString, toUnescapedModel, toXmlString
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.model.PermissionModel
clone, compareTo, getActionId, getCompanyId, getExpandoBridge, getPermissionId, getPrimaryKey, getPrimaryKeyObj, getResourceId, hashCode, isCachedModel, isEscapedModel, isNew, setActionId, setCachedModel, setCompanyId, setExpandoBridgeAttributes, setNew, setPermissionId, setPrimaryKey, setPrimaryKeyObj, setResourceId, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
 
Methods inherited from interface com.liferay.portal.model.BaseModel
getModelAttributes, resetOriginalValues, setModelAttributes
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 

Constructor Detail

PermissionImpl

public PermissionImpl()
Method Detail

getName

public String getName()

getPrimKey

public String getPrimKey()

getScope

public int getScope()

setName

public void setName(String name)

setPrimKey

public void setPrimKey(String primKey)

setScope

public void setScope(int scope)

Liferay 6.1.2-ce-ga3