Class ContactService

java.lang.Object
hu.rts.mike.example.dev.crm.service.ContactService

@Service public class ContactService extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • findAllForGrid

      @Transactional(readOnly=true) @RolesAllowed("READ_CONTACT") public org.springframework.data.domain.Page<Contact> findAllForGrid(List<Filter<?>> filters, Set<String> searchBarMembers, String searchBarValue, org.springframework.data.domain.Pageable pageable, Set<String> fetchMembers)
    • findById

      @RolesAllowed("READ_CONTACT") @Transactional(readOnly=true) public Contact findById(Integer id)
    • findById

      @RolesAllowed("READ_CONTACT") public Contact findById(Integer id, String... fetchMembers)
    • delete

      @RolesAllowed("DELETE_CONTACT") public void delete(List<Contact> items)
    • delete

      @RolesAllowed("DELETE_CONTACT") public void delete(Contact item)
    • softDelete

      @RolesAllowed("DELETE_CONTACT") public void softDelete(Contact item)
    • softDelete

      @RolesAllowed("DELETE_CONTACT") @Transactional public void softDelete(List<Contact> itemList)
    • restore

      @RolesAllowed("DELETE_CONTACT") public void restore(Contact item)
    • restore

      @RolesAllowed("DELETE_CONTACT") @Transactional public void restore(List<Contact> itemList)
    • createContact

      @RolesAllowed("CREATE_CONTACT") public Contact createContact(Contact item)
    • updateContact

      @RolesAllowed("UPDATE_CONTACT") public Contact updateContact(Contact item)