com.engiweb.profilemanager.common.interfaces

Interface IPreferencesDirect

  • All Superinterfaces:
    common.direct.IDirect


    public interface IPreferencesDirect
    extends common.direct.IDirect
    The IPreferences interface allows a client to retrieve and manage the user preferences.
    Author:
    CrossIdeas developer group
    • Method Detail

      • find

        PreferenceBean find(PreferenceBean PreferenceBean,
                            com.engiweb.pm.dao.db.DAO dao)
                     throws com.engiweb.toolkit.common.BackendException
        Returns a filled PreferenceBean filtered by a passed PreferenceBean object.
        Parameters:
        preferenceeBean - PreferenceBean the accountType
        dao - DAO the connection dao
        Returns:
        BeanList of AccountTypeBean
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • insert

        PreferenceBean insert(PreferenceBean PreferenceBean,
                              com.engiweb.pm.dao.db.DAO dao)
                       throws com.engiweb.toolkit.common.BackendException
        Adds a new user preference if it not exists yet.
        Parameters:
        preferenceBean - PreferenceBean the preference to add
        dao - DAO the connection dao
        Returns:
        PreferenceBean added
        Throws:
        com.engiweb.toolkit.common.BackendException - the pM security exception
        com.engiweb.toolkit.common.BackendException
      • modify

        PreferenceBean modify(PreferenceBean PreferenceBean,
                              com.engiweb.pm.dao.db.DAO dao)
                       throws com.engiweb.toolkit.common.BackendException
        Updates an existing PreferenceBean.
        Parameters:
        preferenceBean - PreferenceBean the preference to modify
        dao - DAO the connection dao
        Returns:
        PreferenceBean modified
        Throws:
        com.engiweb.toolkit.common.BackendException - the pM security exception
        com.engiweb.toolkit.common.BackendException
      • delete

        void delete(PreferenceBean PreferenceBean,
                    com.engiweb.pm.dao.db.DAO dao)
             throws com.engiweb.toolkit.common.BackendException
        Deletes an existing preference.
        Parameters:
        preferenceBean - preferenceBean the preference to remove
        dao - DAO the connection dao
        Throws:
        com.engiweb.toolkit.common.BackendException - the pM security exception
        com.engiweb.toolkit.common.BackendException