Interface IAttributeRightDAO
-
- All Known Implementing Classes:
AttributeRightDAO
public interface IAttributeRightDAOIAttributeRightDAO Interface
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBEAN_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinsert(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 applicationjava.util.List<AttributeRight>selectAttributeRights(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 Detail
-
BEAN_NAME
static final java.lang.String BEAN_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
java.util.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
-
-