Class SessionsWrapper

java.lang.Object
org.wso2.carbon.webapp.mgt.SessionsWrapper
All Implemented Interfaces:
org.wso2.carbon.utils.Pageable

public class SessionsWrapper extends Object implements org.wso2.carbon.utils.Pageable
Wraps a collection of Webapp sessions
  • Constructor Details

    • SessionsWrapper

      public SessionsWrapper(List<SessionMetadata> sessions)
    • SessionsWrapper

      public SessionsWrapper()
  • Method Details

    • getWebappFileName

      public String getWebappFileName()
    • setWebappFileName

      public void setWebappFileName(String webappFileName)
    • getNumberOfActiveSessions

      public int getNumberOfActiveSessions()
    • setNumberOfActiveSessions

      public void setNumberOfActiveSessions(int numberOfActiveSessions)
    • getNumberOfPages

      public int getNumberOfPages()
      Specified by:
      getNumberOfPages in interface org.wso2.carbon.utils.Pageable
    • setNumberOfPages

      public void setNumberOfPages(int numberOfPages)
      Specified by:
      setNumberOfPages in interface org.wso2.carbon.utils.Pageable
    • set

      public <T> void set(List<T> items)
      Specified by:
      set in interface org.wso2.carbon.utils.Pageable
    • getSessions

      public SessionMetadata[] getSessions()