fr.paris.lutece.plugins.dila.business.fichelocale.dao.impl
Class LocalFolderDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.dila.business.fichelocale.dao.impl.LocalFolderDAO
All Implemented Interfaces:
ILocalFolderDAO, Serializable

public class LocalFolderDAO
extends Object
implements ILocalFolderDAO, Serializable

Implementation of ILocalFolderDAO

See Also:
Serialized Form

Constructor Summary
LocalFolderDAO()
           
 
Method Summary
 Long create(LocalFolderDTO folder)
          Create a LocalFolderDTO
 void delete(Long dossierLocalId)
          Delete a LocalFolderDTO
 LocalFolderDTO findFolderByLocalId(Long localId)
          Find a LocalFolderDTO by its local id
 Long findFolderIdByLocalId(String localId)
          Find folder id by its local id
 List<LocalFolderDTO> findLocalFoldersByParentTheme(String parentId)
          Find all LocalFolderDTO attached to parent theme
 void store(LocalFolderDTO folder)
          Update a LocalFolderDTO
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalFolderDAO

public LocalFolderDAO()
Method Detail

create

public Long create(LocalFolderDTO folder)
Description copied from interface: ILocalFolderDAO
Create a LocalFolderDTO

Specified by:
create in interface ILocalFolderDAO
Parameters:
folder - the fodler to create
Returns:
the id of new LocalFolderDTO

findFolderIdByLocalId

public Long findFolderIdByLocalId(String localId)
Description copied from interface: ILocalFolderDAO
Find folder id by its local id

Specified by:
findFolderIdByLocalId in interface ILocalFolderDAO
Parameters:
localId - the local id to find
Returns:
the id of corresponding LocalFolderDTO

delete

public void delete(Long dossierLocalId)
Description copied from interface: ILocalFolderDAO
Delete a LocalFolderDTO

Specified by:
delete in interface ILocalFolderDAO
Parameters:
dossierLocalId - the id to delete

findFolderByLocalId

public LocalFolderDTO findFolderByLocalId(Long localId)
Description copied from interface: ILocalFolderDAO
Find a LocalFolderDTO by its local id

Specified by:
findFolderByLocalId in interface ILocalFolderDAO
Parameters:
localId - the local id to find
Returns:
the corresponding local id

store

public void store(LocalFolderDTO folder)
Description copied from interface: ILocalFolderDAO
Update a LocalFolderDTO

Specified by:
store in interface ILocalFolderDAO
Parameters:
folder - the LocalFolderDTO to update

findLocalFoldersByParentTheme

public List<LocalFolderDTO> findLocalFoldersByParentTheme(String parentId)
Description copied from interface: ILocalFolderDAO
Find all LocalFolderDTO attached to parent theme

Specified by:
findLocalFoldersByParentTheme in interface ILocalFolderDAO
Parameters:
parentId - the parent theme id
Returns:
the attached local folders


Copyright © 2013 Mairie de Paris. All Rights Reserved.