public final class AttributeRightDAO extends Object implements IAttributeRightDAO
BEAN_NAME
Constructor and Description |
---|
AttributeRightDAO() |
Modifier and Type | Method and Description |
---|---|
Map<String,AttributeApplicationsRight> |
getAttributeApplicationsRight(fr.paris.lutece.portal.service.plugin.Plugin plugin) |
void |
insert(AttributeRight attributeRight,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
void |
removeApplicationRights(ClientApplication clientApp,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
remove all rights for provided application
|
List<AttributeRight> |
selectAttributeRights(ClientApplication clientApp,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
retrieve all attributes and its rights for provided application
|
void |
store(AttributeRight attributeRight,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public void insert(AttributeRight attributeRight, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface IAttributeRightDAO
attributeRight
- instance of the AttributeRight object to insertplugin
- the Pluginpublic void store(AttributeRight attributeRight, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store
in interface IAttributeRightDAO
attributeRight
- the reference of the AttributeRightplugin
- the Pluginpublic List<AttributeRight> selectAttributeRights(ClientApplication clientApp, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAttributeRights
in interface IAttributeRightDAO
clientApp
- applicationplugin
- the Pluginpublic void removeApplicationRights(ClientApplication clientApp, fr.paris.lutece.portal.service.plugin.Plugin plugin)
removeApplicationRights
in interface IAttributeRightDAO
clientApp
- applicationplugin
- the Pluginpublic Map<String,AttributeApplicationsRight> getAttributeApplicationsRight(fr.paris.lutece.portal.service.plugin.Plugin plugin)
getAttributeApplicationsRight
in interface IAttributeRightDAO
plugin
- the PluginCopyright © 2019 City of Paris. All rights reserved.