Uses of Class
it.uniroma2.art.semanticturkey.properties.STPropertyAccessException
Packages that use STPropertyAccessException
Package
Description
-
Uses of STPropertyAccessException in it.uniroma2.art.semanticturkey.config
Methods in it.uniroma2.art.semanticturkey.config that throw STPropertyAccessExceptionModifier and TypeMethodDescriptiondefault CONFTYPE
ConfigurationManager.getConfiguration
(Reference reference) default CONFTYPE
ProjectConfigurationManager.getProjectConfiguration
(Project project, String identifier) default CONFTYPE
PUConfigurationManager.getProjectConfiguration
(Project project, STUser user, String identifier) default CONFTYPE
SystemConfigurationManager.getSystemConfiguration
(String identifier) default CONFTYPE
UserConfigurationManager.getUserConfiguration
(STUser user, String identifier) -
Uses of STPropertyAccessException in it.uniroma2.art.semanticturkey.config.impl
Methods in it.uniroma2.art.semanticturkey.config.impl that throw STPropertyAccessExceptionModifier and TypeMethodDescriptionstatic <CONFTYPE extends Configuration>
CONFTYPEConfigurationSupport.loadConfiguration
(ConfigurationManager<CONFTYPE> configurationManager, File folder, String identifier) -
Uses of STPropertyAccessException in it.uniroma2.art.semanticturkey.customviews
Methods in it.uniroma2.art.semanticturkey.customviews that throw STPropertyAccessExceptionModifier and TypeMethodDescriptionvoid
CustomViewsManager.storeCustomViewFromFile
(Reference reference, File srcFile) Constructors in it.uniroma2.art.semanticturkey.customviews that throw STPropertyAccessExceptionModifierConstructorDescriptionCustomViewsManager
(Project project, ExtensionPointManager exptManager) -
Uses of STPropertyAccessException in it.uniroma2.art.semanticturkey.email
Methods in it.uniroma2.art.semanticturkey.email that throw STPropertyAccessExceptionModifier and TypeMethodDescriptionvoid
ShowVocEmailService.sendAcceptedDevExcelResourceContributionMail
(Reference reference, StoredDevResourceContributionConfiguration contribution, String projectName, String vbLink, String tempPwd) Send email notification to the contributor about the approval of a contribution request of a dev resource that requires conversion from excel Note: the project name is not retrieved from the contribution since it could be change from the admin during the approvalvoid
ShowVocEmailService.sendAcceptedDevGenericResourceContributionMail
(Reference reference, StoredDevResourceContributionConfiguration contribution, String projectName, String showvocHostUrl, String token) Send email notification to the contributor about the approval of a contribution request of a dev resource that requires no conversion or a conversion from TBX or Zthes.void
ShowVocEmailService.sendAcceptedMetadataContributionMail
(Reference reference, StoredMetadataContributionConfiguration contribution) Mail to the contributor that informs that his metadata contribution has been acceptedvoid
ShowVocEmailService.sendAcceptedStableResourceContributionMail
(Reference reference, StoredStableResourceContributionConfiguration contribution, String projectName, String showvocHostUrl, String token) Mail to the contributor that inform that his contribution has been accepted Note: the project name is not retrieved from the contribution since it could be change from the admin during the approvalvoid
ShowVocEmailService.sendContributionSubmittedMail
(StoredContributionConfiguration contribution) Mail to: - the administrator that informs that a new contribution has been submitted - the contributor that informs that the contribution request has been receivedvoid
VbEmailService.sendEnabledMailToUser
(STUser user) Sends an email to a user to inform that his/her account has been enabledvoid
ShowVocEmailService.sendLoadedDevGenericResourceContributionMail
(String projectName, String vbLink, String contributorEmail, String tempPwd) Send email notification to a contributor that has just loaded data.void
ShowVocEmailService.sendLoadedStableResourceContributionMail
(String projectName, String contributorName, String contributorLastName, String contributorEmail) Mail to the administrator that informs that the contributor has loaded the data into a stable resource contribution projectstatic void
EmailSender.sendMail
(SemanticTurkeyCoreSettingsManager coreSettingsManager, String toEmail, String subject, String text) void
EmailService.sendMailServiceConfigurationTest
(String mailTo) Sends an email to the given address just for testing the email service configurationvoid
EmailService.sendProjCreationMailToAdmin
(STUser creator, Project project) Sends an email to tha administrator users for notifying them that a project has been created (it doesn't send to the user who created)void
VbEmailService.sendRegistrationMailToAdmin
(STUser user, String vbHostAddress) Sends an email to the system administrator to inform about a new user registration request and requiring to be activatedvoid
VbEmailService.sendRegistrationMailToUser
(STUser user, String vbHostAddress, boolean emailVerification) Sends an email to a new registered user.void
ShowVocEmailService.sendRejectedContributionMail
(Reference reference, StoredContributionConfiguration contribution) void
EmailService.sendResetPasswordConfirmedMail
(STUser user, String tempPassword) Sends an email that informs the given user that its password has been replaced with the tempPasswordvoid
EmailService.sendResetPasswordRequestedMail
(STUser user, String forgotPasswordLink) Sends an email that provides to the given user the info for resetting the passwordvoid
VbEmailService.sendVerifiedMailToUser
(STUser user) Sends an email to a verified user informing to wait to be enabled -
Uses of STPropertyAccessException in it.uniroma2.art.semanticturkey.extension
Methods in it.uniroma2.art.semanticturkey.extension that throw STPropertyAccessExceptionModifier and TypeMethodDescriptionExtensionPointManager.getConfiguration
(String componentIdentifier, Reference reference) Returns a stored configuration located with the supplied identifierExtensionPointManager.getSettings
(Project project, STUser user, UsersGroup group, String componentIdentifier, Scope scope) ExtensionPointManager.getSettingsDefault
(Project project, STUser user, UsersGroup group, String componentID, Scope scope, Scope defaultScope) default <T extends Extension,
C extends Configuration>
TExtensionPointManager.instantiateExtension
(Class<T> targetInterface, C conf) Create an instance of an extension that conforms totargetInterface
, following the providedConfiguration
default <T extends Extension>
TExtensionPointManager.instantiateExtension
(Class<T> targetInterface, PluginSpecification spec) Create an instance of an extension that conforms totargetInterface
, following the providedspec
<T extends Extension,
C extends Configuration>
TExtensionPointManager.instantiateExtension
(Class<T> targetInterface, PluginSpecification spec, Project project, STUser user) void
ExtensionPointManager.storeConfiguration
(String componentIdentifier, Reference reference, com.fasterxml.jackson.databind.node.ObjectNode configuration) void
ExtensionPointManager.storeSetting
(String componentID, Project project, STUser loggedUser, UsersGroup group, Scope scope, String property, com.fasterxml.jackson.databind.JsonNode propertyValue) void
ExtensionPointManager.storeSettingDefault
(String componentIdentifier, Project project, STUser user, UsersGroup group, Scope scope, Scope defaultScope, String property, com.fasterxml.jackson.databind.JsonNode propertyValue) void
ExtensionPointManager.storeSettings
(String componentIdentifier, Project project, STUser user, UsersGroup group, Scope scope, com.fasterxml.jackson.databind.node.ObjectNode settings) void
ExtensionPointManager.storeSettingsDefault
(String componentIdentifier, Project project, STUser user, UsersGroup group, Scope scope, Scope defaultScope, com.fasterxml.jackson.databind.node.ObjectNode settings) -
Uses of STPropertyAccessException in it.uniroma2.art.semanticturkey.extension.extpts.collaboration
Methods in it.uniroma2.art.semanticturkey.extension.extpts.collaboration that throw STPropertyAccessExceptionModifier and TypeMethodDescriptionvoid
CollaborationBackend.assignProject
(com.fasterxml.jackson.databind.node.ObjectNode projectJson) void
CollaborationBackend.assignResourceToIssue
(String issue, org.eclipse.rdf4j.model.IRI resource) void
CollaborationBackend.checkPrjConfiguration()
void
CollaborationBackend.createIssue
(String resource, com.fasterxml.jackson.databind.node.ObjectNode issueCreationForm) void
CollaborationBackend.createProject
(com.fasterxml.jackson.databind.node.ObjectNode projectJson) boolean
CollaborationBackend.isProjectLinked()
Tells if a Collaboration project is linked to the VB projectcom.fasterxml.jackson.databind.JsonNode
CollaborationBackend.listIssues
(int pageOffset) com.fasterxml.jackson.databind.JsonNode
CollaborationBackend.listIssuesAssignedToResource
(org.eclipse.rdf4j.model.IRI resource) com.fasterxml.jackson.databind.JsonNode
CollaborationBackend.listProjects()
void
CollaborationBackend.removeResourceFromIssue
(String issue, org.eclipse.rdf4j.model.IRI resource) -
Uses of STPropertyAccessException in it.uniroma2.art.semanticturkey.extension.extpts.datasetmetadata
Methods in it.uniroma2.art.semanticturkey.extension.extpts.datasetmetadata that throw STPropertyAccessExceptionModifier and TypeMethodDescriptionorg.eclipse.rdf4j.model.Model
DatasetMetadataExporter.produceDatasetMetadata
(Project project, org.eclipse.rdf4j.repository.RepositoryConnection conn, org.eclipse.rdf4j.model.IRI dataGraph) -
Uses of STPropertyAccessException in it.uniroma2.art.semanticturkey.extension.extpts.search
Methods in it.uniroma2.art.semanticturkey.extension.extpts.search that throw STPropertyAccessExceptionModifier and TypeMethodDescriptionSearchStrategy.searchInstancesOfClass
(STServiceContext stServiceContext, List<List<org.eclipse.rdf4j.model.IRI>> clsListList, String searchString, boolean useLexicalizations, boolean useLocalName, boolean useURI, boolean useNotes, SearchMode searchMode, List<String> langs, boolean includeLocales, boolean searchStringCanBeNull, boolean searchInSubTypes, org.eclipse.rdf4j.model.IRI lexModel, boolean searchInRDFSLabel, boolean searchInSKOSLabel, boolean searchInSKOSXLLabel, boolean searchInOntolex, List<List<org.eclipse.rdf4j.model.IRI>> schemes, SearchStrategy.StatusFilter statusFilter, List<Pair<org.eclipse.rdf4j.model.IRI, List<org.eclipse.rdf4j.model.Value>>> outgoingLinks, List<TripleForSearch<org.eclipse.rdf4j.model.IRI, String, SearchMode>> outgoingSearch, String customQueryPart, List<String> varToAddToSelAndGroupList, List<Pair<org.eclipse.rdf4j.model.IRI, List<org.eclipse.rdf4j.model.Value>>> ingoingLinks, SearchStrategy searchStrategy, String baseURI, Map<String, String> prefixToNamespaceMap, boolean includeNonDirect, boolean addNaturePart) SearchStrategy.searchLexicalEntry
(STServiceContext stServiceContext, String searchString, boolean useLexicalizations, boolean useLocalName, boolean useURI, boolean useNotes, SearchMode searchMode, List<org.eclipse.rdf4j.model.IRI> lexicons, List<String> langs, boolean includeLocales, org.eclipse.rdf4j.model.IRI iri, boolean searchInRDFSLabel, boolean searchInSKOSLabel, boolean searchInSKOSXLLabel, boolean searchInOntolex, Map<String, String> prefixToNamespaceMap) SearchStrategy.searchResource
(STServiceContext stServiceContext, String searchString, String[] rolesArray, boolean useLexicalizations, boolean useLocalName, boolean useURI, boolean useNotes, SearchMode searchMode, List<org.eclipse.rdf4j.model.IRI> schemes, String schemeFilter, List<String> langs, boolean includeLocales, org.eclipse.rdf4j.model.IRI lexModel, boolean searchInRDFSLabel, boolean searchInSKOSLabel, boolean searchInSKOSXLLabel, boolean searchInOntolex, Map<String, String> prefixToNamespaceMap) SearchStrategy.searchStringList
(STServiceContext stServiceContext, String searchString, String[] rolesArray, boolean useLocalName, SearchMode searchMode, List<org.eclipse.rdf4j.model.IRI> schemes, String schemeFilter, List<String> langs, org.eclipse.rdf4j.model.IRI cls, boolean includeLocales) SearchStrategy.searchURIList
(STServiceContext stServiceContext, String searchString, String[] rolesArray, SearchMode searchMode, List<org.eclipse.rdf4j.model.IRI> schemes, String schemeFilter, org.eclipse.rdf4j.model.IRI cls, Map<String, String> prefixToNamespaceMap, int maxNumResults) -
Uses of STPropertyAccessException in it.uniroma2.art.semanticturkey.extension.impl
Methods in it.uniroma2.art.semanticturkey.extension.impl that throw STPropertyAccessExceptionModifier and TypeMethodDescriptionExtensionPointManagerImpl.getConfiguration
(String componentIdentifier, Reference reference) ExtensionPointManagerImpl.getSettings
(Project project, STUser user, UsersGroup group, String componentIdentifier, Scope scope) ExtensionPointManagerImpl.getSettingsDefault
(Project project, STUser user, UsersGroup group, String componentID, Scope scope, Scope defaultScope) <T extends Extension,
C extends Configuration>
TExtensionPointManagerImpl.instantiateExtension
(Class<T> targetInterface, PluginSpecification spec, Project project, STUser user) void
ExtensionPointManagerImpl.storeConfiguration
(String componentIdentifier, Reference reference, com.fasterxml.jackson.databind.node.ObjectNode configuration) void
ExtensionPointManagerImpl.storeSetting
(String componentID, Project project, STUser loggedUser, UsersGroup group, Scope scope, String property, com.fasterxml.jackson.databind.JsonNode propertyValue) void
ExtensionPointManagerImpl.storeSettingDefault
(String componentID, Project project, STUser user, UsersGroup group, Scope scope, Scope defaultScope, String property, com.fasterxml.jackson.databind.JsonNode propertyValue) void
ExtensionPointManagerImpl.storeSettings
(String componentIdentifier, Project project, STUser user, UsersGroup group, Scope scope, com.fasterxml.jackson.databind.node.ObjectNode settings) void
ExtensionPointManagerImpl.storeSettingsDefault
(String componentIdentifier, Project project, STUser user, UsersGroup group, Scope scope, Scope defaultScope, com.fasterxml.jackson.databind.node.ObjectNode settings) -
Uses of STPropertyAccessException in it.uniroma2.art.semanticturkey.extension.settings
Methods in it.uniroma2.art.semanticturkey.extension.settings that throw STPropertyAccessExceptionModifier and TypeMethodDescriptiondefault T
PGSettingsManager.getProjectSettings
(Project project, UsersGroup group) default T
PGSettingsManager.getProjectSettings
(Project project, UsersGroup group, boolean explicit) default T
ProjectSettingsManager.getProjectSettings
(Project project) default T
ProjectSettingsManager.getProjectSettings
(Project project, boolean explicit) default T
PUSettingsManager.getProjectSettings
(Project project, STUser user) default T
PUSettingsManager.getProjectSettings
(Project project, STUser user, boolean explicit) default T
ProjectSettingsManager.getProjectSettingsDefault()
default T
PUSettingsManager.getPUSettingsProjectDefault
(Project project) default T
PUSettingsManager.getPUSettingsSystemDefault()
default T
PUSettingsManager.getPUSettingsUserDefault
(STUser user) default Settings
SettingsManager.getSettings
(Project project, STUser user, UsersGroup group, Scope scope) default Settings
SettingsManager.getSettings
(Project project, STUser user, UsersGroup group, Scope scope, boolean explicit) default Settings
SettingsManager.getSettingsDefault
(Project project, STUser user, UsersGroup group, Scope scope, Scope defaultScope) default T
SystemSettingsManager.getSystemSettings()
default T
SystemSettingsManager.getSystemSettings
(boolean explicit) default T
UserSettingsManager.getUserSettings
(STUser user) default T
UserSettingsManager.getUserSettings
(STUser user, boolean explicit) default T
UserSettingsManager.getUserSettingsDefault()
-
Uses of STPropertyAccessException in it.uniroma2.art.semanticturkey.extension.settings.impl
Methods in it.uniroma2.art.semanticturkey.extension.settings.impl that throw STPropertyAccessExceptionModifier and TypeMethodDescriptionstatic Settings
SettingsSupport.createSettings
(SettingsManager settingsManager, Scope scope, com.fasterxml.jackson.databind.node.ObjectNode settings) -
Uses of STPropertyAccessException in it.uniroma2.art.semanticturkey.notification
Methods in it.uniroma2.art.semanticturkey.notification that throw STPropertyAccessExceptionModifier and TypeMethodDescriptionvoid
ResourceChangeNotificationManager.init()
void
ResourceChangeNotificationManager.onCreation
(ResourceCreated event) void
ResourceChangeNotificationManager.onDeletion
(ResourceDeleted event) void
ResourceChangeNotificationManager.onUpdate
(ResourceModified event) void
ResourceChangeNotificationManager.scheduledNotifications()
protected void
ResourceChangeNotificationManager.scheduleNotificationDigest()
-
Uses of STPropertyAccessException in it.uniroma2.art.semanticturkey.ontology
Methods in it.uniroma2.art.semanticturkey.ontology that throw STPropertyAccessExceptionModifier and TypeMethodDescriptionvoid
OntologyManager.disconnectImportedOntologyFromProject
(org.eclipse.rdf4j.repository.RepositoryConnection managedConnection, String baseURI) Disconnects an imported ontology from the source project -
Uses of STPropertyAccessException in it.uniroma2.art.semanticturkey.project
Methods in it.uniroma2.art.semanticturkey.project that throw STPropertyAccessExceptionModifier and TypeMethodDescriptionstatic Project
ProjectManager.createProject
(ProjectConsumer consumer, String projectName, org.eclipse.rdf4j.model.Literal label, org.eclipse.rdf4j.model.IRI model, org.eclipse.rdf4j.model.IRI lexicalizationModel, String baseURI, String defaultNamespace, boolean historyEnabled, boolean validationEnabled, boolean blacklistingEnabled, RepositoryAccess repositoryAccess, String coreRepoID, PluginSpecification coreRepoSailConfigurerSpecification, String coreBackendType, String supportRepoID, PluginSpecification supportRepoSailConfigurerSpecification, String supportBackendType, PluginSpecification uriGeneratorSpecification, PluginSpecification renderingEngineSpecification, List<Pair<RDFResourceRole, String>> resourceMetadataAssociations, File preloadedDataFile, org.eclipse.rdf4j.rio.RDFFormat preloadedDataFormat, TransitiveImportMethodAllowance transitiveImportAllowance, Set<org.eclipse.rdf4j.model.IRI> failedImports, String leftDataset, String rightDataset, boolean shaclEnabled, SHACLSettings shaclSettings, boolean trivialInferenceEnabled, boolean openAtStartup, ProjectACL.AccessLevel universalAccess, boolean undoEnabled) -
Uses of STPropertyAccessException in it.uniroma2.art.semanticturkey.properties
Methods in it.uniroma2.art.semanticturkey.properties that throw STPropertyAccessExceptionModifier and TypeMethodDescriptionstatic <T extends STProperties>
TSTPropertiesManager.getPGSettings
(Class<T> valueType, World world, Project project, UsersGroup group, String pluginID, boolean explicit) static <T extends STProperties>
TSTPropertiesManager.getProjectSettings
(Class<T> valueType, World world, Project project, String pluginID) Returns the project settings about a plugin.static <T extends STProperties>
TSTPropertiesManager.getProjectSettings
(Class<T> valueType, World world, Project project, String pluginID, boolean explicit) Returns the project settings about a plugin.static <T extends STProperties>
TSTPropertiesManager.getProjectSettingsDefault
(Class<T> valueType, World world, String pluginID) Returns the value of a default project settings at system levelstatic <T extends STProperties>
TSTPropertiesManager.getPUSettings
(Class<T> valueType, World world, Project project, STUser user, String pluginID) Returns the pu_settings about a plugin.static <T extends STProperties>
TSTPropertiesManager.getPUSettings
(Class<T> valueType, World world, Project project, STUser user, String pluginID, boolean explicit) static <T extends STProperties>
TSTPropertiesManager.getPUSettingsProjectDefault
(Class<T> valueType, World world, Project project, String pluginID) Returns the value of a default pu_settings at project levelstatic <T extends STProperties>
TSTPropertiesManager.getPUSettingsSystemDefault
(Class<T> valueType, World world, String pluginID) Returns the value of a default pu_settings at system levelstatic <T extends STProperties>
TSTPropertiesManager.getPUSettingsUserDefault
(Class<T> valueType, World world, STUser user, String pluginID) Returns the value of a default pu_settings at user levelstatic <T extends STProperties>
TSTPropertiesManager.getSystemSettings
(Class<T> valueType, String pluginID) static <T extends STProperties>
TSTPropertiesManager.getUserSettings
(Class<T> valueType, World world, STUser user, String pluginID, boolean explicit) static <T extends STProperties>
TSTPropertiesManager.getUserSettingsDefault
(Class<T> valueType, World world, String pluginID) Returns the value of a default user settings at system levelstatic <T extends STProperties>
TSTPropertiesManager.loadSTPropertiesFromObjectNodes
(Class<T> valueType, boolean loadObjType, com.fasterxml.jackson.databind.node.ObjectNode... objs) static <T extends STProperties>
TSTPropertiesManager.loadSTPropertiesFromObjectNodes
(Class<T> valueType, boolean loadObjType, com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.fasterxml.jackson.databind.node.ObjectNode... objs) static <T extends STProperties>
TSTPropertiesManager.loadSTPropertiesFromYAMLFiles
(Class<T> valueType, boolean loadObjType, ExtensionPointManager exptManager, File... propFiles) static <T extends STProperties>
TSTPropertiesManager.loadSTPropertiesFromYAMLFiles
(Class<T> valueType, boolean loadObjType, File... propFiles) -
Uses of STPropertyAccessException in it.uniroma2.art.semanticturkey.resources
Methods in it.uniroma2.art.semanticturkey.resources that throw STPropertyAccessException -
Uses of STPropertyAccessException in it.uniroma2.art.semanticturkey.security
Methods in it.uniroma2.art.semanticturkey.security that throw STPropertyAccessExceptionModifier and TypeMethodDescriptionvoid
AccessControlManager.init()
boolean
STAuthorizationEvaluator.isAuthorized
(String prologCapability, String crudv) To use like follow:@PreAuthorize("@auth.isAuthorized('rdf(concept, taxonomy)', 'R')")
For complete documentation seeSTAuthorizationEvaluator.isAuthorized(String, String, String)
boolean
STAuthorizationEvaluator.isAuthorized
(String prologCapability, String userResponsibility, String crudv) boolean
STAuthorizationEvaluator.isAuthorized
(String prologCapability, String userResponsibility, String crudv, String projectName) To use like follow:@PreAuthorize("@auth.isAuthorized('rdf(concept, taxonomy)', '{key1: ''value1'', key2: true}', 'R')")
boolean
STAuthorizationEvaluator.isAuthorizedInProject
(String prologCapability, String crudv, String projectName) This is useful for evaluating authorization for a project different from the one indicated in the contextboolean
STAuthorizationEvaluator.isDefaultSettingsActionAuthorized
(Scope scope, Scope defaultScope, String crud) Tells if an action on default settings is authorizedboolean
STAuthorizationEvaluator.isFileActionAuthorized
(String dir, String crud) Useful for authorizing file operation (read/create file)boolean
STAuthorizationEvaluator.isSettingsActionAuthorized
(Scope scope, String crud) -
Uses of STPropertyAccessException in it.uniroma2.art.semanticturkey.showvoc
Constructors in it.uniroma2.art.semanticturkey.showvoc that throw STPropertyAccessExceptionModifierConstructorDescriptionRemoteSTConnector
(String stHost, String vbUrl, String adminEmail, String adminPwd, EmailApplicationContext appCtx) RemoteVBConnector
(SemanticTurkeyCoreSettingsManager coreSettingsManager) -
Uses of STPropertyAccessException in it.uniroma2.art.semanticturkey.user
Methods in it.uniroma2.art.semanticturkey.user that throw STPropertyAccessExceptionModifier and TypeMethodDescriptionstatic void
static void
UsersManager.addSuperUser
(STUser user) static void
UsersManager.clearExpiredUnverifiedUser()
Delete the user that have not been verified after 48 hours of the registrationstatic void
UsersManager.deleteUser
(STUser user) Delete the user with the given emailstatic void
UsersManager.loadUsers()
Loads all the users into the repository Protected since the load should be done just once by AccessControlManager during its initializationstatic void
UsersManager.removeAdmin
(STUser user) static void
UsersManager.removeSuperUser
(STUser user) -
Uses of STPropertyAccessException in it.uniroma2.art.semanticturkey.versioning
Methods in it.uniroma2.art.semanticturkey.versioning that throw STPropertyAccessExceptionModifier and TypeMethodDescriptionResourceMetadataManager.getResourceMetadataPattern
(Project project, String reference) Returns theResourceMetadataPattern
with the given reference.