|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.appstore.business.ComponentHome
public final class ComponentHome
This class provides instances management methods (create, find, ...) for Component objects
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Component create(Component component)
component - The instance of the Component which contains the informations to store
public static Component update(Component component)
component - The instance of the Component which contains the data to store
public static void remove(int nComponentId)
nComponentId - The component Idpublic static Component findByPrimaryKey(int nKey)
nKey - The component primary key
public static Collection<Component> getComponentsList()
public static List<Component> findByApplication(int nApplicationId)
nApplicationId - The application ID
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||