com.engiweb.profilemanager.common.interfaces

Interface ITargetDirect

  • All Superinterfaces:
    common.direct.IDirect


    public interface ITargetDirect
    extends common.direct.IDirect
    The Interface ITargetDirect.
    • Field Summary

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

      • find

        com.engiweb.pm.entity.BeanList<TargetBean> find(TargetBean targetBean,
                                                        com.engiweb.pm.entity.Paging paging,
                                                        com.engiweb.pm.dao.db.DAO dao)
                                                 throws com.engiweb.toolkit.common.BackendException
        Find target.
        Parameters:
        targetBean - TargetBean the target, if null no filter is applied, otherwise the passed object is used as filter
        paging - Paging the paging
        dao - DAO the connection dao
        Returns:
        BeanList of TargetBean
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • modify

        TargetBean modify(TargetBean targetBean,
                          com.engiweb.pm.dao.db.DAO dao)
                   throws com.engiweb.toolkit.common.BackendException
        Modify a target.
        Parameters:
        targetBean - TargetBean the target to modify
        dao - DAO the connection dao
        Returns:
        TargetBean
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • delete

        TargetBean delete(TargetBean targetBean,
                          com.engiweb.pm.dao.db.DAO dao)
                   throws com.engiweb.toolkit.common.BackendException
        Delete a target.
        Parameters:
        targetBean - TargetBean the target to delete
        dao - DAO the connection dao
        Returns:
        TargetBean
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • insert

        TargetBean insert(TargetBean targetBean,
                          com.engiweb.pm.dao.db.DAO dao)
                   throws com.engiweb.toolkit.common.BackendException
        Insert a target.
        Parameters:
        targetBean - TargetBean the target to add
        dao - DAO the connection dao
        Returns:
        TargetBean
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception