Interface IAttributeRightDAO
- All Known Implementing Classes:
AttributeRightDAO
public interface IAttributeRightDAO
IAttributeRightDAO Interface
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidinsert(AttributeRight attributeRight, int serviceContractId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.voidremoveAttributeRights(ServiceContract serviceContract, fr.paris.lutece.portal.service.plugin.Plugin plugin) remove all rights for provided applicationselectAttributeRights(ServiceContract serviceContract, fr.paris.lutece.portal.service.plugin.Plugin plugin) retrieve all attributes and its rights for provided applicationvoidstore(AttributeRight attributeRight, int serviceContractId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table
-
Field Details
-
BEAN_NAME
- See Also:
-
-
Method Details
-
insert
void insert(AttributeRight attributeRight, int serviceContractId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.- Parameters:
attributeRight- instance of the AttributeRight object to insertplugin- the Plugin
-
store
void store(AttributeRight attributeRight, int serviceContractId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table- Parameters:
attributeRight- the reference of the AttributeRightplugin- the Plugin
-
selectAttributeRights
List<AttributeRight> selectAttributeRights(ServiceContract serviceContract, fr.paris.lutece.portal.service.plugin.Plugin plugin) retrieve all attributes and its rights for provided application- Parameters:
serviceContract- applicationplugin- the Plugin- Returns:
- list of all attributes with rights for provided application
-
removeAttributeRights
void removeAttributeRights(ServiceContract serviceContract, fr.paris.lutece.portal.service.plugin.Plugin plugin) remove all rights for provided application- Parameters:
serviceContract- serviceContractplugin- the Plugin
-