|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.files2docs.business.AttributeHome
public final class AttributeHome
This class provides instances management methods (create, find, ...) for Attribute objects
Method Summary | |
---|---|
static void |
create(Attribute attribute,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creates an instance of the attribute class |
static Attribute |
findByDocumentAttribute(int nDocumentAttributeId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the data of the attribute object filtered by document attribute |
static java.util.Collection<Attribute> |
findByMapping(int nMappingId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the data of the attribute objects filtered by mapping |
static Attribute |
findByPrimaryKey(int nAttributeId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a attribute whose identifier is specified in parameter |
static void |
removeByMapping(int nMappingId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Removes the attribute whose mapping identifier is specified in parameter |
static void |
update(Attribute attribute,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Updates the attribute 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 void create(Attribute attribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
attribute
- The instance of the Attribute which contains the informations to storeplugin
- The pluginpublic static java.util.Collection<Attribute> findByMapping(int nMappingId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nMappingId
- The mapping identifierplugin
- The plugin
public static Attribute findByPrimaryKey(int nAttributeId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nAttributeId
- The attribute primary keyplugin
- The plugin
public static void update(Attribute attribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
attribute
- The instance of the Attribute which contains the data to storeplugin
- The pluginpublic static void removeByMapping(int nMappingId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nMappingId
- The mapping identifierplugin
- The pluginpublic static Attribute findByDocumentAttribute(int nDocumentAttributeId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nDocumentAttributeId
- The document attribute identifierplugin
- The plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |