fr.paris.lutece.plugins.avatarserver.service
Class AvatarService

java.lang.Object
  extended by fr.paris.lutece.plugins.avatarserver.service.AvatarService

public final class AvatarService
extends Object

Avatar Service


Method Summary
static Avatar create(Avatar avatar)
          Create an instance of the avatar class
static Avatar update(Avatar avatar)
          Update an instance of the avatar class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static Avatar create(Avatar avatar)
Create an instance of the avatar class

Parameters:
avatar - The instance of the Avatar which contains the informations to store
Returns:
The instance of avatar which has been created with its primary key.

update

public static Avatar update(Avatar avatar)
Update an instance of the avatar class

Parameters:
avatar - The instance of the Avatar which contains the informations to store
Returns:
The instance of avatar which has been created with its primary key.


Copyright © 2014 Mairie de Paris. All Rights Reserved.