com.liferay.portal.model.impl
Class ResourceImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Resource>
      extended by com.liferay.portal.model.impl.ResourceModelImpl
          extended by com.liferay.portal.model.impl.ResourceImpl
All Implemented Interfaces:
com.liferay.portal.model.BaseModel<com.liferay.portal.model.Resource>, com.liferay.portal.model.Resource, com.liferay.portal.model.ResourceModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<com.liferay.portal.model.Resource>

public class ResourceImpl
extends ResourceModelImpl
implements com.liferay.portal.model.Resource

View Source

Author:
Brian Wing Shun Chan
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.liferay.portal.model.impl.ResourceModelImpl
DATA_SOURCE, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, LOCK_EXPIRATION_TIME, SESSION_FACTORY, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER
 
Constructor Summary
ResourceImpl()
           
 
Method Summary
 long getCompanyId()
           
 java.lang.String getName()
           
 int getScope()
           
 void setCompanyId(long companyId)
           
 void setName(java.lang.String name)
           
 void setScope(int scope)
           
 
Methods inherited from class com.liferay.portal.model.impl.ResourceModelImpl
clone, compareTo, equals, getCodeId, getExpandoBridge, getOriginalCodeId, getOriginalPrimKey, getPrimaryKey, getPrimaryKeyObj, getPrimKey, getResourceId, hashCode, setCodeId, setPrimaryKey, setPrimKey, setResourceId, toEscapedModel, toModel, toModels, toString, toXmlString
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.model.ResourceModel
getCodeId, getPrimaryKey, getPrimKey, getResourceId, setCodeId, setPrimaryKey, setPrimKey, setResourceId, toEscapedModel
 
Methods inherited from interface com.liferay.portal.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew, toXmlString
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

ResourceImpl

public ResourceImpl()
Method Detail

getCompanyId

public long getCompanyId()
                  throws com.liferay.portal.PortalException,
                         com.liferay.portal.SystemException
Specified by:
getCompanyId in interface com.liferay.portal.model.Resource
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getName

public java.lang.String getName()
                         throws com.liferay.portal.PortalException,
                                com.liferay.portal.SystemException
Specified by:
getName in interface com.liferay.portal.model.Resource
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getScope

public int getScope()
             throws com.liferay.portal.PortalException,
                    com.liferay.portal.SystemException
Specified by:
getScope in interface com.liferay.portal.model.Resource
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface com.liferay.portal.model.Resource

setName

public void setName(java.lang.String name)
Specified by:
setName in interface com.liferay.portal.model.Resource

setScope

public void setScope(int scope)
Specified by:
setScope in interface com.liferay.portal.model.Resource