com.liferay.portal.model
Interface Resource

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

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 com.liferay.portal.model.impl.ResourceImpl and rerun the ServiceBuilder to generate the new methods.

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

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
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
 

Method Detail

getCompanyId

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

getName

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

getScope

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

setCompanyId

void setCompanyId(long companyId)

setName

void setName(java.lang.String name)

setScope

void setScope(int scope)