public class GuiSubject extends GuiObjectBase implements Serializable
| Constructor and Description |
|---|
GuiSubject(Subject subject1)
construct with subject
|
| Modifier and Type | Method and Description |
|---|---|
static String |
attributeValue(Subject subject,
String attrName) |
static Set<GuiSubject> |
convertFromSubjects(Set<Subject> subjects) |
static Set<GuiSubject> |
convertFromSubjects(Set<Subject> subjects,
String configMax,
int defaultMax) |
boolean |
equals(Object other) |
Map<String,String> |
getAttributeLabel()
attribute label for this attribute if configured
first get the text id for the source, then look in the externalized text
for a label for the attribute, if not there, just use the attribute name
|
Set<String> |
getAttributeNamesExpandedView()
attribute names for this subject to show in the expanded view
|
Set<String> |
getAttributeNamesNonExpandedView()
attribute names for this subject to show in the non-expanded view
|
Set<String> |
getAttributeNamesNonInternal()
attribute names for this subject
|
Map<String,String> |
getAttributes()
Gets a map attribute names and value.
|
String |
getEmail()
get the email attribute value
|
GrouperObject |
getGrouperObject()
cant get grouper object
|
Member |
getMember()
get the member of the subject or null if not there
|
String |
getMemberId()
get the member id of the subject or null if not there
|
String |
getNameColonSpaceSeparated()
not applicable
|
String |
getPathColonSpaceSeparated()
path colon separated not applicable
|
String |
getScreenLabel()
get screen label
|
String |
getScreenLabelLong()
get screen label
|
String |
getScreenLabelLongIfDifferent() |
String |
getScreenLabelLongWithIcon()
long screen label with icon
|
String |
getScreenLabelShort2()
short screen label for ui v2
|
String |
getScreenLabelShort2noLink()
e.g.
|
String |
getScreenLabelShort2noLinkWithIcon()
e.g.
|
String |
getScreenSubjectIcon2Html()
span for subject-specific icon for ui v2; e.g.
|
String |
getShortLink()
e.g.
|
String |
getShortLinkWithIcon()
e.g.
|
String |
getSourceIdSubjectId()
return source id two pipes and subject id
|
Subject |
getSubject()
subject
|
String |
getTitle()
not applicable
|
int |
hashCode() |
boolean |
isGroup()
see if group or not
|
boolean |
isHasEmailAttributeInSource()
if the gui subject has an email address
|
boolean |
isLocalEntityDisabled() |
boolean |
isNeedsTooltip()
get short screen label
|
boolean |
isSubjectType()
if this is a subject
|
static String |
someSourceId() |
convertFromGrouperObjects, getAdditionalBreadcrumbBullets, getBreadcrumbBullets, getBreadcrumbs, getCreatedString, getCreatorGuiSubject, getDateUiFormat, getLastEditedString, getLastUpdatedByGuiSubject, getParentGuiStem, getUserFriendlyTypesNames, isShowBreadcrumbLink, isShowBreadcrumbLinkSeparator, main, setAdditionalBreadcrumbBullets, setShowBreadcrumbLink, setShowBreadcrumbLinkSeparator, toStringpublic GuiSubject(Subject subject1)
subject1 - public String getSourceIdSubjectId()
public boolean equals(Object other)
equals in class ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class ObjectObject.hashCode()public String getMemberId()
public Member getMember()
public boolean isHasEmailAttributeInSource()
public String getEmail()
public static Set<GuiSubject> convertFromSubjects(Set<Subject> subjects)
subjects - public static Set<GuiSubject> convertFromSubjects(Set<Subject> subjects, String configMax, int defaultMax)
subjects - public boolean isGroup()
public String getShortLink()
public String getShortLinkWithIcon()
getShortLinkWithIcon in class GuiObjectBasepublic String getScreenLabelShort2noLink()
public static String someSourceId()
public String getScreenLabelShort2()
public String getScreenSubjectIcon2Html()
public String getScreenLabel()
public String getScreenLabelLong()
public String getScreenLabelLongWithIcon()
public Subject getSubject()
public Set<String> getAttributeNamesNonInternal()
public Set<String> getAttributeNamesExpandedView()
public Set<String> getAttributeNamesNonExpandedView()
public Map<String,String> getAttributeLabel()
public Map<String,String> getAttributes()
public String getScreenLabelLongIfDifferent()
public boolean isNeedsTooltip()
public String getScreenLabelShort2noLinkWithIcon()
public static String attributeValue(Subject subject, String attrName)
subject - attrName - public GrouperObject getGrouperObject()
getGrouperObject in class GuiObjectBasepublic boolean isSubjectType()
isSubjectType in class GuiObjectBasepublic String getPathColonSpaceSeparated()
getPathColonSpaceSeparated in class GuiObjectBasepublic String getNameColonSpaceSeparated()
getNameColonSpaceSeparated in class GuiObjectBasepublic String getTitle()
getTitle in class GuiObjectBasepublic boolean isLocalEntityDisabled()
Copyright © 2016 Internet2. All rights reserved.