Class MediaAttributeHome
java.lang.Object
fr.paris.lutece.plugins.library.business.MediaAttributeHome
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcreate(MediaAttribute attribute, fr.paris.lutece.portal.service.plugin.Plugin plugin) static Collection<MediaAttribute>findAllAttributesForMedia(int nIdMedia, fr.paris.lutece.portal.service.plugin.Plugin plugin) static MediaAttributefindByPrimaryKey(int nAttributeId, fr.paris.lutece.portal.service.plugin.Plugin plugin) static voidremove(int nAttributeId, fr.paris.lutece.portal.service.plugin.Plugin plugin) static voidremoveAllForMedia(int nMediaId, fr.paris.lutece.portal.service.plugin.Plugin plugin) static voidupdate(MediaAttribute attribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
-
Method Details
-
findAllAttributesForMedia
public static Collection<MediaAttribute> findAllAttributesForMedia(int nIdMedia, fr.paris.lutece.portal.service.plugin.Plugin plugin) -
findByPrimaryKey
public static MediaAttribute findByPrimaryKey(int nAttributeId, fr.paris.lutece.portal.service.plugin.Plugin plugin) -
create
public static void create(MediaAttribute attribute, fr.paris.lutece.portal.service.plugin.Plugin plugin) -
update
public static void update(MediaAttribute attribute, fr.paris.lutece.portal.service.plugin.Plugin plugin) -
remove
public static void remove(int nAttributeId, fr.paris.lutece.portal.service.plugin.Plugin plugin) -
removeAllForMedia
public static void removeAllForMedia(int nMediaId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
-