com.liferay.portal.model.impl
Class ResourceImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl<Resource>
com.liferay.portal.model.impl.ResourceModelImpl
com.liferay.portal.model.impl.ResourceBaseImpl
com.liferay.portal.model.impl.ResourceImpl
- All Implemented Interfaces:
- BaseModel<Resource>, ClassedModel, PersistedModel, Resource, ResourceModel, Serializable, Cloneable, Comparable<Resource>
public class ResourceImpl
- extends ResourceBaseImpl
Represents a permissionable resource in permissions versions < 6.
- See Also:
- Serialized Form
Fields inherited from class com.liferay.portal.model.impl.ResourceModelImpl |
CODEID_COLUMN_BITMASK, COLUMN_BITMASK_ENABLED, DATA_SOURCE, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, LOCK_EXPIRATION_TIME, PRIMKEY_COLUMN_BITMASK, SESSION_FACTORY, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER |
Methods inherited from class com.liferay.portal.model.impl.ResourceModelImpl |
clone, compareTo, equals, getCodeId, getColumnBitmask, getExpandoBridge, getModelAttributes, getModelClass, getModelClassName, getOriginalCodeId, getOriginalPrimKey, getPrimaryKey, getPrimaryKeyObj, getPrimKey, getResourceId, hashCode, resetOriginalValues, setCodeId, setExpandoBridgeAttributes, setModelAttributes, setPrimaryKey, setPrimaryKeyObj, setPrimKey, setResourceId, toCacheModel, toEscapedModel, toModel, toModels, toString, toUnescapedModel, toXmlString |
Methods inherited from interface com.liferay.portal.model.ResourceModel |
clone, compareTo, getCodeId, getExpandoBridge, getPrimaryKey, getPrimaryKeyObj, getPrimKey, getResourceId, hashCode, isCachedModel, isEscapedModel, isNew, setCachedModel, setCodeId, setExpandoBridgeAttributes, setNew, setPrimaryKey, setPrimaryKeyObj, setPrimKey, setResourceId, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString |
ResourceImpl
public ResourceImpl()
getCompanyId
public long getCompanyId()
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getName
public String getName()
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getScope
public int getScope()
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
setCompanyId
public void setCompanyId(long companyId)
setName
public void setName(String name)
setScope
public void setScope(int scope)