fr.paris.lutece.plugins.form.service.physicalfile
Class PhysicalFileService

java.lang.Object
  extended by fr.paris.lutece.plugins.form.service.physicalfile.PhysicalFileService

public class PhysicalFileService
extends Object

PhysicalFileService


Field Summary
static String BEAN_SERVICE
          The name of the bean of this service
 
Constructor Summary
PhysicalFileService()
           
 
Method Summary
 int create(PhysicalFile physicalFile)
          Creation of an instance of record physical file
 PhysicalFile findByPrimaryKey(int nKey)
          Returns an instance of a physical file whose identifier is specified in parameter
 void remove(int nIdPhysicalFile)
          Delete the physical file whose identifier is specified in parameter
 void update(PhysicalFile physicalFile)
          Update of physical file which is specified in parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BEAN_SERVICE

public static final String BEAN_SERVICE
The name of the bean of this service

See Also:
Constant Field Values
Constructor Detail

PhysicalFileService

public PhysicalFileService()
Method Detail

create

public int create(PhysicalFile physicalFile)
Creation of an instance of record physical file

Parameters:
physicalFile - The instance of the physical file which contains the informations to store
Returns:
the id of the file after creation

update

public void update(PhysicalFile physicalFile)
Update of physical file which is specified in parameter

Parameters:
physicalFile - The instance of the record physicalFile which contains the informations to update

remove

public void remove(int nIdPhysicalFile)
Delete the physical file whose identifier is specified in parameter

Parameters:
nIdPhysicalFile - The identifier of the record physical file

findByPrimaryKey

public PhysicalFile findByPrimaryKey(int nKey)
Returns an instance of a physical file whose identifier is specified in parameter

Parameters:
nKey - The file primary key
Returns:
an instance of physical file


Copyright © 2013 Mairie de Paris. All Rights Reserved.