Class GshTemplateConfig
java.lang.Object
edu.internet2.middleware.grouper.app.gsh.template.GshTemplateConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
canFolderRunTemplate
(Stem folder) check if the given folder can run this gsh templateboolean
canGroupRunTemplate
(Group group) check if the given group can run this gsh templatesome controls might depend on the logged in subjectV1 or V2boolean
boolean
boolean
boolean
this will not have imports built in, so have imports in script or fully qualify classes.boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
retrieveGshTemplateInputConfig
(String gshInputName) void
setCurrentUser
(Subject loggedInSubject) some controls might depend on the logged in subjectvoid
setFolderForGroupsInFolder
(Stem folderForGroupsInFolder) void
setSimplifiedUi
(boolean simplifiedUi)
-
Constructor Details
-
GshTemplateConfig
-
-
Method Details
-
getTemplateNameExternalizedTextKey
-
getTemplateDescriptionExternalizedTextKey
-
getTemplateDescription
-
isAllowWsFromNoOwner
public boolean isAllowWsFromNoOwner() -
getTemplateVersion
V1 or V2- Returns:
-
getGshTemplateType
-
getConfigId
-
getTemplateName
-
getTemplateNameForUi
-
getTemplateDescriptionForUi
-
getMoreActionsLabelForUi
-
isUseExternalizedText
public boolean isUseExternalizedText() -
getMoreActionsLabelExternalizedTextKey
-
getMoreActionsLabel
-
getGshTemplateRunAsType
-
isEnabled
public boolean isEnabled() -
isUseIndividualAudits
public boolean isUseIndividualAudits() -
isShowOnGroups
public boolean isShowOnGroups() -
getGshTemplateGroupShowType
-
getGroupsToShow
-
getGshTemplateGroupShowOnDescendants
-
isShowOnFolders
public boolean isShowOnFolders() -
getFolderForGroupsInFolder
-
setFolderForGroupsInFolder
-
isShowInMoreActions
public boolean isShowInMoreActions() -
getGshTemplateFolderShowType
-
getFoldersToShow
-
getGshTemplateFolderShowOnDescendants
-
getGshTemplateSecurityRunType
-
getGroupThatCanRun
-
getGshTemplateRequireFolderPrivilege
-
getGshTemplateRequireGroupPrivilege
-
getRunAsSpecifiedSubjectSourceId
-
getRunAsSpecifiedSubjectId
-
isSimplifiedUi
public boolean isSimplifiedUi() -
setSimplifiedUi
public void setSimplifiedUi(boolean simplifiedUi) -
getGshTemplate
-
getGshTemplateInputConfigs
-
isRunGshInTransaction
public boolean isRunGshInTransaction() -
getActAsGroupUUID
-
isDisplayErrorOutput
public boolean isDisplayErrorOutput() -
populateConfiguration
public void populateConfiguration() -
isGshLightweight
public boolean isGshLightweight()this will not have imports built in, so have imports in script or fully qualify classes. Saves 3 seconds of execution- Returns:
-
canFolderRunTemplate
check if the given folder can run this gsh template- Parameters:
folder
-- Returns:
-
canGroupRunTemplate
check if the given group can run this gsh template- Parameters:
folder
-- Returns:
-
setCurrentUser
some controls might depend on the logged in subject- Parameters:
loggedInSubject
-
-
getCurrentUser
some controls might depend on the logged in subject- Returns:
- current user
-
retrieveGshTemplateInputConfig
-