com.liferay.portal.model
Interface Resource

All Superinterfaces:
BaseModel<Resource>, java.lang.Cloneable, java.lang.Comparable<Resource>, ResourceModel, java.io.Serializable
All Known Implementing Classes:
ResourceWrapper

public interface Resource
extends ResourceModel

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface is a model that represents the Resource_ table in the database.

Customize ResourceImpl and rerun the ServiceBuilder to generate the new methods.

Author:
Brian Wing Shun Chan
See Also:
ResourceModel, ResourceImpl, ResourceModelImpl
Generated:

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 interface com.liferay.portal.model.ResourceModel
clone, compareTo, getCodeId, getExpandoBridge, getPrimaryKey, getPrimaryKeyObj, getPrimKey, getResourceId, hashCode, isCachedModel, isEscapedModel, isNew, setCachedModel, setCodeId, setEscapedModel, setExpandoBridgeAttributes, setNew, setPrimaryKey, setPrimKey, setResourceId, toEscapedModel, toString, toXmlString
 

Method Detail

getCompanyId

long getCompanyId()
                  throws com.liferay.portal.kernel.exception.PortalException,
                         com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getName

java.lang.String getName()
                         throws com.liferay.portal.kernel.exception.PortalException,
                                com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getScope

int getScope()
             throws com.liferay.portal.kernel.exception.PortalException,
                    com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

setCompanyId

void setCompanyId(long companyId)

setName

void setName(java.lang.String name)

setScope

void setScope(int scope)