Class RestPageResponseBE<T>

  • All Implemented Interfaces:
    Serializable, Iterable<T>, Supplier<Stream<T>>, org.springframework.data.domain.Page<T>, org.springframework.data.domain.Slice<T>, org.springframework.data.util.Streamable<T>

    public class RestPageResponseBE<T>
    extends org.springframework.data.domain.PageImpl<T>
    See Also:
    Serialized Form
    • Constructor Detail

      • RestPageResponseBE

        public RestPageResponseBE()
      • RestPageResponseBE

        public RestPageResponseBE​(List<T> content)
      • RestPageResponseBE

        public RestPageResponseBE​(List<T> content,
                                  org.springframework.data.domain.Pageable pageable,
                                  long total)
      • RestPageResponseBE

        public RestPageResponseBE​(List<T> content,
                                  int number,
                                  int size,
                                  Long totalElements,
                                  com.fasterxml.jackson.databind.JsonNode pageable,
                                  boolean last,
                                  int totalPages,
                                  com.fasterxml.jackson.databind.JsonNode sort,
                                  boolean first,
                                  int numberOfElements)
    • Method Detail

      • getJwtToken

        public String getJwtToken()
      • setJwtToken

        public void setJwtToken​(String jwtToken)
      • getAllTagsSet

        public Set<String> getAllTagsSet()
      • setAllTagsSet

        public void setAllTagsSet​(Set<String> allTagsSet)
      • getFilteredTagSet

        public Set<String> getFilteredTagSet()
      • setFilteredTagSet

        public void setFilteredTagSet​(Set<String> filteredTagSet)
      • setTags

        public void setTags​(List<String> tags)
      • getUserList

        public List<User> getUserList()
      • setUserList

        public void setUserList​(List<User> userList)
      • getPrivateModelCount

        public int getPrivateModelCount()
      • setPrivateModelCount

        public void setPrivateModelCount​(int privateModelCount)
      • getPublicModelCount

        public int getPublicModelCount()
      • setPublicModelCount

        public void setPublicModelCount​(int publicModelCount)
      • getCompanyModelCount

        public int getCompanyModelCount()
      • setCompanyModelCount

        public void setCompanyModelCount​(int companyModelCount)
      • getDeletedModelCount

        public int getDeletedModelCount()
      • setDeletedModelCount

        public void setDeletedModelCount​(int deletedModelCount)
      • getThreads

        public List<org.acumos.cds.domain.MLPThread> getThreads()
      • setThreads

        public void setThreads​(List<org.acumos.cds.domain.MLPThread> threads)
      • getCommentsList

        public List<org.acumos.cds.domain.MLPComment> getCommentsList()
      • setCommentsList

        public void setCommentsList​(List<org.acumos.cds.domain.MLPComment> commentsList)
      • getCommentsCount

        public long getCommentsCount()
      • setCommentsCount

        public void setCommentsCount​(long commentsCount)
      • getThreadCount

        public long getThreadCount()
      • setThreadCount

        public void setThreadCount​(long threadCount)
      • getTotalElements

        public long getTotalElements()
        Specified by:
        getTotalElements in interface org.springframework.data.domain.Page<T>
        Overrides:
        getTotalElements in class org.springframework.data.domain.PageImpl<T>
      • setTotalElements

        public void setTotalElements​(int totalElements)
      • getModelsSharedWithUser

        public List<org.acumos.cds.domain.MLPSolution> getModelsSharedWithUser()
      • setModelsSharedWithUser

        public void setModelsSharedWithUser​(List<org.acumos.cds.domain.MLPSolution> modelsSharedWithUser)
      • setRequestList

        public void setRequestList​(List<MLRequest> requestList)
      • getPageCount

        public int getPageCount()
      • setPageCount

        public void setPageCount​(int pageCount)
      • getNumber

        public int getNumber()
        Specified by:
        getNumber in interface org.springframework.data.domain.Slice<T extends Object>
      • getSize

        public int getSize()
        Specified by:
        getSize in interface org.springframework.data.domain.Slice<T extends Object>
      • getNumberOfElements

        public int getNumberOfElements()
        Specified by:
        getNumberOfElements in interface org.springframework.data.domain.Slice<T extends Object>
      • hasPrevious

        public boolean hasPrevious()
        Specified by:
        hasPrevious in interface org.springframework.data.domain.Slice<T extends Object>
      • isFirst

        public boolean isFirst()
        Specified by:
        isFirst in interface org.springframework.data.domain.Slice<T extends Object>
      • nextPageable

        public org.springframework.data.domain.Pageable nextPageable()
        Specified by:
        nextPageable in interface org.springframework.data.domain.Slice<T extends Object>
      • previousPageable

        public org.springframework.data.domain.Pageable previousPageable()
        Specified by:
        previousPageable in interface org.springframework.data.domain.Slice<T extends Object>
      • hasContent

        public boolean hasContent()
        Specified by:
        hasContent in interface org.springframework.data.domain.Slice<T extends Object>
      • getContent

        public List<T> getContent()
        Specified by:
        getContent in interface org.springframework.data.domain.Slice<T extends Object>
      • getSort

        public org.springframework.data.domain.Sort getSort()
        Specified by:
        getSort in interface org.springframework.data.domain.Slice<T extends Object>
      • getConvertedContent

        protected <U extends ObjectList<U> getConvertedContent​(Function<? super T,​? extends U> arg0)
      • getPageable

        public org.springframework.data.domain.Pageable getPageable()
        Specified by:
        getPageable in interface org.springframework.data.domain.Slice<T extends Object>