Class AuthorizedUrlDAO
java.lang.Object
fr.paris.lutece.plugins.verifybackurl.business.AuthorizedUrlDAO
- All Implemented Interfaces:
IAuthorizedUrlDAO
This class provides Data Access methods for AuthorizedUrl objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablevoidinsert(AuthorizedUrl authorizedUrl, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableselectAuthorizedUrlsByApplicationCode(String strApplicationCode, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the authorizedUrl objects filtered by application codeand returns them as a listselectAuthorizedUrlsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the authorizedUrl objects and returns them as a listfr.paris.lutece.util.ReferenceListselectAuthorizedUrlsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the authorizedUrl objects and returns them as a referenceListselectIdAuthorizedUrlsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the id of all the authorizedUrl objects and returns them as a listvoidstore(AuthorizedUrl authorizedUrl, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table
-
Constructor Details
-
AuthorizedUrlDAO
public AuthorizedUrlDAO()
-
-
Method Details
-
insert
public void insert(AuthorizedUrl authorizedUrl, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.- Specified by:
insertin interfaceIAuthorizedUrlDAO- Parameters:
authorizedUrl- instance of the AuthorizedUrl object to insertplugin- the Plugin
-
load
Load the data from the table- Specified by:
loadin interfaceIAuthorizedUrlDAO- Parameters:
nKey- The identifier of the authorizedUrlplugin- the Plugin- Returns:
- The instance of the authorizedUrl
-
delete
public void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Specified by:
deletein interfaceIAuthorizedUrlDAO- Parameters:
nKey- The identifier of the AuthorizedUrl to deleteplugin- the Plugin
-
store
Update the record in the table- Specified by:
storein interfaceIAuthorizedUrlDAO- Parameters:
authorizedUrl- the reference of the AuthorizedUrlplugin- the Plugin
-
selectAuthorizedUrlsList
public List<AuthorizedUrl> selectAuthorizedUrlsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the authorizedUrl objects and returns them as a list- Specified by:
selectAuthorizedUrlsListin interfaceIAuthorizedUrlDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the authorizedUrl objects
-
selectAuthorizedUrlsByApplicationCode
public List<AuthorizedUrl> selectAuthorizedUrlsByApplicationCode(String strApplicationCode, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the authorizedUrl objects filtered by application codeand returns them as a list- Specified by:
selectAuthorizedUrlsByApplicationCodein interfaceIAuthorizedUrlDAO- Parameters:
strApplicationCode- the application codeplugin- the Plugin- Returns:
- The list which contains the data of all the authorizedUrl objects
-
selectIdAuthorizedUrlsList
public List<Integer> selectIdAuthorizedUrlsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the id of all the authorizedUrl objects and returns them as a list- Specified by:
selectIdAuthorizedUrlsListin interfaceIAuthorizedUrlDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the authorizedUrl objects
-
selectAuthorizedUrlsReferenceList
public fr.paris.lutece.util.ReferenceList selectAuthorizedUrlsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the authorizedUrl objects and returns them as a referenceList- Specified by:
selectAuthorizedUrlsReferenceListin interfaceIAuthorizedUrlDAO- Parameters:
plugin- the Plugin- Returns:
- The referenceList which contains the data of all the authorizedUrl objects
-