Package ru.org.linux.section

Examples of ru.org.linux.section.SectionScrollModeEnum


  public Topic getPreviousMessage(Topic message, User currentUser) {
    if (message.isSticky()) {
      return null;
    }

    SectionScrollModeEnum sectionScrollMode;

    sectionScrollMode = sectionService.getScrollMode(message.getSectionId());

    List<Integer> res;
View Full Code Here


  public Topic getNextMessage(Topic message, User currentUser) {
    if (message.isSticky()) {
      return null;
    }

    SectionScrollModeEnum sectionScrollMode;

    sectionScrollMode = sectionService.getScrollMode(message.getSectionId());

    List<Integer> res;
View Full Code Here

    params.put("prevMessage", prevMessage);
    params.put("nextMessage", nextMessage);

    Boolean topScroller;
    SectionScrollModeEnum sectionScroller = sectionService.getScrollMode(topic.getSectionId());

    if (prevMessage == null && nextMessage == null) {
      topScroller = false;
    } else {
      topScroller = sectionScroller != SectionScrollModeEnum.NO_SCROLL;
View Full Code Here

TOP

Related Classes of ru.org.linux.section.SectionScrollModeEnum

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.