java.lang.Object
edu.internet2.middleware.grouper.grouperUi.beans.api.GuiObjectBase
Direct Known Subclasses:
GuiAttributeDef, GuiAttributeDefName, GuiEntity, GuiGroup, GuiService, GuiSource, GuiStem, GuiSubject

public abstract class GuiObjectBase extends Object
base object for gui grouper objects
  • Constructor Details

    • GuiObjectBase

      public GuiObjectBase()
  • Method Details

    • isSubjectType

      public boolean isSubjectType()
      if this is a subject
      Returns:
      if this is a subject
    • convertFromGrouperObjects

      public static Map<GuiObjectBase,String> convertFromGrouperObjects(Set<GrouperObject> grouperObjects)
      convert grouper objects to gui object bases
      Parameters:
      grouperObjects -
      Returns:
      the gui object bases
    • getShortLinkWithIcon

      public String getShortLinkWithIcon()
      display short link with image next to it in li <a href="#" rel="tooltip" data-html="true" data-delay-show='200' data-placement="right" title="&lt;strong&gt;FOLDER:&lt;/strong&gt;&lt;br /&gt;Full : Path : To : The : Entity<br /><br />This is the description for this entity. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.">Editors
      Returns:
      short link
    • getGrouperObject

      public abstract GrouperObject getGrouperObject()
      get the gui object
      Returns:
      the object
    • toString

      public String toString()
      Overrides:
      toString in class Object
      See Also:
    • getPathColonSpaceSeparated

      public String getPathColonSpaceSeparated()
      colon space separated path e.g. Full : Path : To : The : Entity
      Returns:
      the colon space separated path
    • getDateUiFormat

      public static SimpleDateFormat getDateUiFormat()
      default format for created/modified dates on objects, from UI config property uiV2.grouperObjects.dateFormat
      Returns:
      created/modified date format
    • main

      public static void main(String[] args)
      Parameters:
      args -
    • getCreatorGuiSubject

      public GuiSubject getCreatorGuiSubject()
      who created the object
      Returns:
      subject or null if none registered
    • getParentGuiStem

      public GuiStem getParentGuiStem()
      Returns:
      the parent gui stem
    • getLastUpdatedByGuiSubject

      public GuiSubject getLastUpdatedByGuiSubject()
      who lsat updated the object
      Returns:
      subject or null if none registered
    • getLastEditedString

      public String getLastEditedString()
      get last edited string: Tue Sep 25 12:01:07 PM CDT 2012
      Returns:
      the string of when last edited
    • getCreatedString

      public String getCreatedString()
      get created string: Tue Sep 25 12:01:07 PM CDT 2012
      Returns:
      when created
    • getNameColonSpaceSeparated

      public String getNameColonSpaceSeparated()
      colon space separated name e.g. Full : Path : To : The : Entity
      Returns:
      the colon space separated path
    • isShowBreadcrumbLinkSeparator

      public boolean isShowBreadcrumbLinkSeparator()
      if true, then this is a subpage, show a link for the last time so we can drill down one item lower, though dont show separator
      Returns:
      the showBreadcrumbLinkSeparator
    • setShowBreadcrumbLinkSeparator

      public void setShowBreadcrumbLinkSeparator(boolean showBreadcrumbLinkSeparator1)
      if true, then this is a subpage, show a link for the last time so we can drill down one item lower, though dont show separator
      Parameters:
      showBreadcrumbLinkSeparator1 - the showBreadcrumbLinkSeparator to set
    • isShowBreadcrumbLink

      public boolean isShowBreadcrumbLink()
      if true, then this is a subpage, show a link for the last time so we can drill down one item lower
      Returns:
      if show breadcrumb link
    • setShowBreadcrumbLink

      public void setShowBreadcrumbLink(boolean showBreadcrumbLink1)
      if true, then this is a subpage, show a link for the last time so we can drill down one item lower
      Parameters:
      showBreadcrumbLink1 -
    • getAdditionalBreadcrumbBullets

      public String getAdditionalBreadcrumbBullets()
      additional breadcrumb bullets if someone wants to add more custom bullets to the breadcrumb
      Returns:
    • setAdditionalBreadcrumbBullets

      public void setAdditionalBreadcrumbBullets(String additionalBreadcrumbBullets)
      additional breadcrumb bullets if someone wants to add more custom bullets to the breadcrumb
      Parameters:
      additionalBreadcrumbBullets -
    • getBreadcrumbs

      public String getBreadcrumbs()
      get the full breadcrumbs with list tags outside
      Returns:
      breancrumbs
    • getBreadcrumbBullets

      public String getBreadcrumbBullets()
      breadcrumbs for v2 ui
      Returns:
      the breadcrumbs
    • getTitle

      public String getTitle()
      title for browser: <strong>FOLDER:</strong><br />Full : Path : To : The : Entity<br /><br />This is the description for this entity. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. note, this is not xml escaped, if used in a title tag, it needs to be xml escaped...
      Returns:
      the title
    • getUserFriendlyTypesNames

      public String getUserFriendlyTypesNames()
      Returns:
      comma separated list of types with tooltips this grouper object (stem/group) is assigned to