Class GuiObjectBase
java.lang.Object
edu.internet2.middleware.grouper.grouperUi.beans.api.GuiObjectBase
- Direct Known Subclasses:
GuiAttributeDef
,GuiAttributeDefName
,GuiEntity
,GuiGroup
,GuiService
,GuiSource
,GuiStem
,GuiSubject
base object for gui grouper objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Map<GuiObjectBase,
String> convertFromGrouperObjects
(Set<GrouperObject> grouperObjects) convert grouper objects to gui object basesadditional breadcrumb bullets if someone wants to add more custom bullets to the breadcrumbbreadcrumbs for v2 uiget the full breadcrumbs with list tags outsideget created string: Tue Sep 25 12:01:07 PM CDT 2012who created the objectstatic SimpleDateFormat
default format for created/modified dates on objects, from UI config property uiV2.grouperObjects.dateFormatabstract GrouperObject
get the gui objectget last edited string: Tue Sep 25 12:01:07 PM CDT 2012who lsat updated the objectcolon space separated name e.g.colon space separated path e.g.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="<strong>FOLDER:</strong><br />Full : Path : To : The : Entity<br /><br />This is the description for this entity.getTitle()
title for browser: <strong>FOLDER:</strong><br />Full : Path : To : The : Entity<br /><br />This is the description for this entity.boolean
if true, then this is a subpage, show a link for the last time so we can drill down one item lowerboolean
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 separatorboolean
if this is a subjectstatic void
void
setAdditionalBreadcrumbBullets
(String additionalBreadcrumbBullets) additional breadcrumb bullets if someone wants to add more custom bullets to the breadcrumbvoid
setShowBreadcrumbLink
(boolean showBreadcrumbLink1) if true, then this is a subpage, show a link for the last time so we can drill down one item lowervoid
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 separatortoString()
-
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
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="<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.">Editors- Returns:
- short link
-
getGrouperObject
get the gui object- Returns:
- the object
-
toString
-
getPathColonSpaceSeparated
colon space separated path e.g. Full : Path : To : The : Entity- Returns:
- the colon space separated path
-
getDateUiFormat
default format for created/modified dates on objects, from UI config property uiV2.grouperObjects.dateFormat- Returns:
- created/modified date format
-
main
- Parameters:
args
-
-
getCreatorGuiSubject
who created the object- Returns:
- subject or null if none registered
-
getParentGuiStem
- Returns:
- the parent gui stem
-
getLastUpdatedByGuiSubject
who lsat updated the object- Returns:
- subject or null if none registered
-
getLastEditedString
get last edited string: Tue Sep 25 12:01:07 PM CDT 2012- Returns:
- the string of when last edited
-
getCreatedString
get created string: Tue Sep 25 12:01:07 PM CDT 2012- Returns:
- when created
-
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
additional breadcrumb bullets if someone wants to add more custom bullets to the breadcrumb- Returns:
-
setAdditionalBreadcrumbBullets
additional breadcrumb bullets if someone wants to add more custom bullets to the breadcrumb- Parameters:
additionalBreadcrumbBullets
-
-
getBreadcrumbs
get the full breadcrumbs with list tags outside- Returns:
- breancrumbs
-
getBreadcrumbBullets
breadcrumbs for v2 ui- Returns:
- the breadcrumbs
-
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
- Returns:
- comma separated list of types with tooltips this grouper object (stem/group) is assigned to
-