|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.pluginwizard.business.model.BusinessClassHome
public final class BusinessClassHome
This class provides instances management methods (create, find, ...) for BusinessClass objects
| Method Summary | |
|---|---|
static BusinessClass |
create(BusinessClass businessClass,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create an instance of the businessClass class |
static BusinessClass |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a businessClass whose identifier is specified in parameter |
static java.util.Collection<BusinessClass> |
getBusinessClassesByFeature(int nFeatureId,
int nPluginId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a collection of business classes selected by feature |
static java.util.Collection<BusinessClass> |
getBusinessClassesByPlugin(int nIdPlugin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the businessClass objects and returns them in form of a collection |
static boolean |
hasAlreadyDescription(int nBusinessId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Verifies if the class has a description |
static boolean |
hasAlreadyKey(int nBusinessId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Verifies if business class has already a key |
static boolean |
hasAttributes(int nBusinessClassId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Verifies whether attributes are attached to the business class |
static boolean |
keyExists(int nFeatureId,
java.lang.String strBusinessClassName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
|
static void |
remove(int nBusinessClassId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the businessClass whose identifier is specified in parameter |
static void |
removeBusinessClassesByPlugin(int nIdPlugin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Removes all the business classes attached to a plugin |
static BusinessClass |
update(BusinessClass businessClass,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the businessClass 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 boolean hasAlreadyDescription(int nBusinessId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nBusinessId - The id of the business classplugin - The plugin
public static boolean hasAlreadyKey(int nBusinessId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nBusinessId - The id of the business classplugin - the plugin
public static BusinessClass create(BusinessClass businessClass,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
businessClass - The instance of the BusinessClass which contains the informations to storeplugin - the Plugin
public static boolean hasAttributes(int nBusinessClassId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nBusinessClassId - The business class idplugin - The plugin
public static BusinessClass update(BusinessClass businessClass,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
businessClass - The instance of the BusinessClass which contains the data to storeplugin - the Plugin
public static void remove(int nBusinessClassId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nBusinessClassId - The businessClass Idplugin - the Plugin
public static void removeBusinessClassesByPlugin(int nIdPlugin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdPlugin - the id of the plugin to be generatedplugin - The plugin
public static BusinessClass findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The businessClass primary keyplugin - the Plugin
public static java.util.Collection<BusinessClass> getBusinessClassesByPlugin(int nIdPlugin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the PluginnIdPlugin - The id of the generated plugin
public static java.util.Collection<BusinessClass> getBusinessClassesByFeature(int nFeatureId,
int nPluginId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nFeatureId - The id of the featurenPluginId - the id of the pluginplugin - The Plugin
public static boolean keyExists(int nFeatureId,
java.lang.String strBusinessClassName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nFeatureId - The feature idstrBusinessClassName - The business class nameplugin - The plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||