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