Class ContactService

java.lang.Object
fr.paris.lutece.plugins.contact.service.ContactService

@ApplicationScoped public class ContactService extends Object
This Service manages contact actions (create, delete, modify ...) and notify listeners.
  • Constructor Details

    • ContactService

      public ContactService()
  • Method Details

    • init

      public void init()
      Initializes the contact service
    • getInstance

      public static ContactService getInstance()
      Deprecated.
      Use @Inject to obtain the ContactService instance. This method will be removed in future versions.
      Returns the instance of the ContactService service

      This method is deprecated and is provided for backward compatibility only. For new code, use dependency injection with @Inject to obtain the ContactService instance instead.

      Returns:
      The unique instance of ContactService.