Interface IThingViewInfo

All Known Subinterfaces:
IThingView

public interface IThingViewInfo
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    All the rights this user has for this item.
    int
    Distance from root folder/topic to item.
    boolean
    Has subcontainers
    Virtual path of object.
    int
    What is the relationship to the container (primary or reference)
    user context for this view
    void
    putViewInfo(IThingID thingID, IThingID userID, int accessRights, int relType, boolean hasSubContainers, int depth, String path)
     
  • Method Details

    • getUserID

      IThingID getUserID()
      user context for this view
    • getAccessRights

      int getAccessRights()
      All the rights this user has for this item. Use for context menus. Note that user may see this item if he has read rights on its container
      Returns:
      rightset
    • getRelType

      int getRelType()
      What is the relationship to the container (primary or reference)
      Returns:
      thing id
    • getHasSubcontainers

      boolean getHasSubcontainers()
      Has subcontainers
      Returns:
      true if item is a container and has subcontainers of the same type
    • getDepth

      int getDepth()
      Distance from root folder/topic to item. (not from container)
    • getPath

      String getPath()
      Virtual path of object. Starts at specified container. Contains the names of parent folders. ex: /hr/docs/my document if /hr is the container
    • putViewInfo

      void putViewInfo(IThingID thingID, IThingID userID, int accessRights, int relType, boolean hasSubContainers, int depth, String path)
      Parameters:
      userID -
      accessRights -
      relType -
      hasSubContainers -
      depth -
      path -