com.engiweb.emanager.common.interfaces

Interface IEventTargetDirect

  • All Superinterfaces:
    common.direct.IDirect, IEventDirect


    public interface IEventTargetDirect
    extends IEventDirect
    The Interface IEventTargetDirect.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      Copyright.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void delete(com.engiweb.pm.entity.BeanList<EventTargetBean> eventTargetBeanList, com.engiweb.pm.dao.db.DAO connDao)
      Delete a list of Event TARGET.
      int deletebyCriteria(EventTargetBean filter, java.lang.Integer eventType, com.engiweb.pm.dao.db.DAO connDao)
      Delete by criteria.
      com.engiweb.pm.entity.BeanList<EventTargetBean> find(EventTargetBean eventTargetBean, java.lang.Integer eventType, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao)
      Find Event TARGET.
      EventTargetBean update(EventTargetBean eventTargetBean, com.engiweb.pm.dao.db.DAO connDao)
      Update an Event TARGET.
      • Methods inherited from interface common.direct.IDirect

        checkAB, deleteAB, insertAB, modifyAB, openDAO, openDAO
    • Method Detail

      • find

        com.engiweb.pm.entity.BeanList<EventTargetBean> find(EventTargetBean eventTargetBean,
                                                             java.lang.Integer eventType,
                                                             com.engiweb.pm.entity.Paging paging,
                                                             com.engiweb.pm.dao.db.DAO connDao)
                                                      throws com.engiweb.toolkit.common.BackendException
        Find Event TARGET.
        Parameters:
        eventTargetBean - EventTargetBean the event target
        eventType - Integer the event type:
        • 0 - event TARGET in IDEAS
        • 1 - event TARGET custom
        paging - Paging the paging
        connDao - DAO the connection dao
        Returns:
        BeanList of EventTargetBean
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • delete

        void delete(com.engiweb.pm.entity.BeanList<EventTargetBean> eventTargetBeanList,
                    com.engiweb.pm.dao.db.DAO connDao)
             throws com.engiweb.toolkit.common.BackendException
        Delete a list of Event TARGET.
        Parameters:
        eventTargetBeanList - BeanList of EventTargetBean the event target bean list
        connDao - DAOthe connection dao
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • update

        EventTargetBean update(EventTargetBean eventTargetBean,
                               com.engiweb.pm.dao.db.DAO connDao)
                        throws com.engiweb.toolkit.common.BackendException
        Update an Event TARGET.
        Parameters:
        eventTargetBean - EventTargetBean the event target to update
        connDao - DAOthe connection dao
        Returns:
        EventTargetBean
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • deletebyCriteria

        int deletebyCriteria(EventTargetBean filter,
                             java.lang.Integer eventType,
                             com.engiweb.pm.dao.db.DAO connDao)
                      throws com.engiweb.toolkit.common.BackendException
        Delete by criteria.
        Parameters:
        filter - EventTargetBean the filter
        eventType - Integer the event type:
        • 0 - event TARGET in IDEAS
        • 1 - event TARGET custom
        connDao - DAO the connection dao
        Returns:
        the number of row deleted
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception