com.liferay.portal.model
Interface PluginSetting

All Superinterfaces:
BaseModel, java.lang.Cloneable, java.lang.Comparable, PluginSettingModel, java.io.Serializable

public interface PluginSetting
extends PluginSettingModel

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 PluginSetting table in the database.

Customize com.liferay.portal.service.model.impl.PluginSettingImpl and rerun the ServiceBuilder to generate the new methods.

Author:
Brian Wing Shun Chan
See Also:
com.liferay.portal.service.model.PluginSettingModel, com.liferay.portal.service.model.impl.PluginSettingImpl, com.liferay.portal.service.model.impl.PluginSettingModelImpl

Method Summary
 void addRole(java.lang.String role)
           
 java.lang.String[] getRolesArray()
           
 boolean hasPermission(long userId)
           
 boolean hasRoleWithName(java.lang.String roleName)
           
 void setRoles(java.lang.String roles)
           
 void setRolesArray(java.lang.String[] rolesArray)
           
 
Methods inherited from interface com.liferay.portal.model.PluginSettingModel
getActive, getCompanyId, getPluginId, getPluginSettingId, getPluginType, getPrimaryKey, getRoles, isActive, setActive, setCompanyId, setPluginId, setPluginSettingId, setPluginType, setPrimaryKey
 
Methods inherited from interface com.liferay.portal.model.BaseModel
clone, getPrimaryKeyObj, isNew, setNew
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

addRole

public void addRole(java.lang.String role)

setRoles

public void setRoles(java.lang.String roles)
Specified by:
setRoles in interface PluginSettingModel

getRolesArray

public java.lang.String[] getRolesArray()

setRolesArray

public void setRolesArray(java.lang.String[] rolesArray)

hasRoleWithName

public boolean hasRoleWithName(java.lang.String roleName)

hasPermission

public boolean hasPermission(long userId)