public final class ApplicationHome extends Object
Modifier and Type | Method and Description |
---|---|
static void |
addComponent(int nApplicationId,
int nComponentId) |
static void |
clearComponentsList(int nApplicationId) |
static Application |
create(Application application)
Create an instance of the application class
|
static Application |
findByPrimaryKey(int nKey)
Returns an instance of a application whose identifier is specified in parameter
|
static Collection<Application> |
getApplicationsList()
Load the data of all the application objects and returns them in form of a collection
|
static void |
remove(int nApplicationId)
Remove the application whose identifier is specified in parameter
|
static Application |
update(Application application)
Update of the application which is specified in parameter
|
public static Application create(Application application)
application
- The instance of the Application which contains the informations to storepublic static Application update(Application application)
application
- The instance of the Application which contains the data to storepublic static void remove(int nApplicationId)
nApplicationId
- The application Idpublic static Application findByPrimaryKey(int nKey)
nKey
- The application primary keypublic static Collection<Application> getApplicationsList()
public static void clearComponentsList(int nApplicationId)
public static void addComponent(int nApplicationId, int nComponentId)
Copyright © 2018 City of Paris. All rights reserved.