@Override
 public Iterable<DocumentObject> findAll(Integer pageNumber, Integer pageSize) {
   Page<DocumentObject> page =
       documentObjectRepository.findAll(new PageRequest(pageNumber, pageSize));
   Iterable<DocumentObject> pagedDocumentObject = page.getContent();
   return pagedDocumentObject;
 }
 //	@PreAuthorize("hasRole('ROLE_USER')")
 @Override
 public Iterable<DocumentObject> findByCreatedBy(String createdBy) {
   return documentObjectRepository.findByCreatedBy(createdBy);
 }
 @Override
 public DocumentObject findBySystemId(String systemId) {
   return documentObjectRepository.findBySystemId(systemId);
 }
 @Override
 public Iterable<DocumentObject> findAll() {
   return documentObjectRepository.findAll();
 }