Class Bookshelf

  • All Implemented Interfaces:
    java.io.Serializable

    public class Bookshelf
    extends java.lang.Object
    implements java.io.Serializable
    Bookshelf definition containing documents
    Indexes are stored with LUCENE thru TIKA components to parse their contents
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Bookshelf​(java.lang.String id, java.lang.String name, java.util.Map<java.lang.String,​java.lang.String> display, boolean granted, java.lang.String objName)
      Constructor
    • Method Summary

      Modifier and Type Method Description
      void addField​(Grant g, java.lang.String name)  
      java.lang.String getDisplay​(java.lang.String lang)  
      java.util.List<ObjectField> getFields​(Grant g)  
      static char[] getGrants()  
      java.lang.String getId()  
      java.lang.String getLabel​(java.lang.String lang)  
      java.lang.String getName()  
      java.lang.String getObjectName()  
      boolean isGranted()  
      boolean isStandalone()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Bookshelf

        public Bookshelf​(java.lang.String id,
                         java.lang.String name,
                         java.util.Map<java.lang.String,​java.lang.String> display,
                         boolean granted,
                         java.lang.String objName)
        Constructor
        Parameters:
        id - Id
        name - Name
        display - display
        granted - is granted ?
        objName - Object Name
    • Method Detail

      • getGrants

        public static char[] getGrants()
      • addField

        public void addField​(Grant g,
                             java.lang.String name)
      • getId

        public java.lang.String getId()
      • getName

        public java.lang.String getName()
      • getObjectName

        public java.lang.String getObjectName()
      • getDisplay

        public java.lang.String getDisplay​(java.lang.String lang)
      • getLabel

        public java.lang.String getLabel​(java.lang.String lang)
      • isGranted

        public boolean isGranted()
      • isStandalone

        public boolean isStandalone()