Class GrouperExternalSystemUsage
java.lang.Object
edu.internet2.middleware.grouper.app.externalSystem.GrouperExternalSystemUsage
One place in Grouper where an external system is referenced (used), either by
config editor config (grouper_config) or by attribute data (loaders, reports).
These are rendered as rows in the References section of the external system
view details screen (Miscellaneous -> External systems -> Actions -> View details).
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionno-arg constructorGrouperExternalSystemUsage(String usageType, String name, String description, String linkType) convenience constructor -
Method Summary
Modifier and TypeMethodDescriptiongetName()voidsetDescription(String description) voidsetLinkType(String linkType) voidvoidsetUsageType(String usageType)
-
Field Details
-
LINK_TYPE_PROVISIONER
link kind constants. These decide whether/how the name is rendered as a link. A null linkType means no link (show the name as plain text) -- used for reference types that do not have their own view page.- See Also:
-
LINK_TYPE_GROUP
link kind: link to a group view page- See Also:
-
LINK_TYPE_STEM
link kind: link to a folder (stem) view page- See Also:
-
-
Constructor Details
-
GrouperExternalSystemUsage
public GrouperExternalSystemUsage()no-arg constructor -
GrouperExternalSystemUsage
public GrouperExternalSystemUsage(String usageType, String name, String description, String linkType) convenience constructor- Parameters:
usageType- human readable typename- display name of the referencing objectdescription- how the external system is usedlinkType- one of LINK_TYPE_* or null for plain text
-
-
Method Details
-
getUsageType
- Returns:
- human readable type of the reference
-
setUsageType
- Parameters:
usageType- human readable type of the reference
-
getName
- Returns:
- display name of the referencing object
-
setName
- Parameters:
name- display name of the referencing object
-
getDescription
- Returns:
- how the external system is used
-
setDescription
- Parameters:
description- how the external system is used
-
getLinkType
- Returns:
- one of LINK_TYPE_* or null for plain text
-
setLinkType
- Parameters:
linkType- one of LINK_TYPE_* or null for plain text
-