Skip navigation links
C F G I M O S T V 

C

ContentMetadataService - Class in org.sakaiproject.content.metadata.cover
Deprecated.
ContentMetadataService() - Constructor for class org.sakaiproject.content.metadata.cover.ContentMetadataService
Deprecated.
 

F

fromHttpForm(Map<String, ?>, String) - Method in interface org.sakaiproject.content.metadata.model.MetadataConverter
Fetches relevant information in a map (usually the parameters from a HttpServletRequest) to build an Object.
fromProperties(Map<String, ?>) - Method in interface org.sakaiproject.content.metadata.model.MetadataConverter
 
fromString(String) - Method in interface org.sakaiproject.content.metadata.model.MetadataConverter
Converts a String into an object of the appropriate type.

G

getContentTypeApplicable() - Method in class org.sakaiproject.content.metadata.model.MetadataType
 
getConverter() - Method in class org.sakaiproject.content.metadata.model.MetadataType
Gets a conversion tool describing the basic conversions used by this metadata
getDefaultValue() - Method in class org.sakaiproject.content.metadata.model.MetadataType
 
getDescription() - Method in class org.sakaiproject.content.metadata.model.MetadataType
 
getInstance() - Static method in class org.sakaiproject.content.metadata.cover.ContentMetadataService
Deprecated.
Access the component instance: special cover only method.
getMetadataAvailable(String) - Method in interface org.sakaiproject.content.metadata.logic.MetadataService
Get all metadata groups available on the server
getMetadataAvailable(String, String) - Method in interface org.sakaiproject.content.metadata.logic.MetadataService
Get all metadata groups available on the server for a specific site and resourceType
getMetadataTypeDisplayTemplate() - Method in interface org.sakaiproject.content.metadata.model.MetadataRenderer
Specifies the Velocity template used in the rendering part when the user is viewing the metadata configuration.
getMetadataTypeEditTemplate() - Method in interface org.sakaiproject.content.metadata.model.MetadataRenderer
Specifies the Velocity template used in the rendering part when the user is editing the metadata configuration.
getMetadataValueDisplayTemplate() - Method in interface org.sakaiproject.content.metadata.model.MetadataRenderer
Specifies the Velocity template used in the rendering part when the user is viewing the metadata of a resource.
getMetadataValueEditTemplate() - Method in interface org.sakaiproject.content.metadata.model.MetadataRenderer
Specifies the Velocity template used in the rendering part when the user is editing the metadata of a resource.
getName() - Method in class org.sakaiproject.content.metadata.model.MetadataType
 
getRenderer() - Method in class org.sakaiproject.content.metadata.model.MetadataType
Gets a rendering tool allowing to select a template for this Metadata depending on the current action
getUniqueName() - Method in class org.sakaiproject.content.metadata.model.MetadataType
 
getValidator() - Method in class org.sakaiproject.content.metadata.model.MetadataType
Gets a validation tool to enforce constraints on the metadata values

I

isRequired() - Method in class org.sakaiproject.content.metadata.model.MetadataType
 
isTranslated() - Method in class org.sakaiproject.content.metadata.model.MetadataType
 

M

MetadataConverter<T> - Interface in org.sakaiproject.content.metadata.model
Allows values associated to a certain kind of metadata to be converted in the application
MetadataRenderer - Interface in org.sakaiproject.content.metadata.model
 
MetadataService - Interface in org.sakaiproject.content.metadata.logic
Service providing tools to handle metadata on Content
MetadataType<T> - Class in org.sakaiproject.content.metadata.model
Description of a metadata field, specifies its values, constraints and provides tools for validation, rendering and conversion
MetadataType() - Constructor for class org.sakaiproject.content.metadata.model.MetadataType
 
MetadataValidator<T> - Interface in org.sakaiproject.content.metadata.model
Provide a simple validation tool for a specific type of metadata

O

org.sakaiproject.content.metadata.cover - package org.sakaiproject.content.metadata.cover
 
org.sakaiproject.content.metadata.logic - package org.sakaiproject.content.metadata.logic
 
org.sakaiproject.content.metadata.model - package org.sakaiproject.content.metadata.model
 

S

setContentTypeApplicable(List<String>) - Method in class org.sakaiproject.content.metadata.model.MetadataType
 
setDefaultValue(T) - Method in class org.sakaiproject.content.metadata.model.MetadataType
 
setDescription(String) - Method in class org.sakaiproject.content.metadata.model.MetadataType
 
setName(String) - Method in class org.sakaiproject.content.metadata.model.MetadataType
 
setRequired(boolean) - Method in class org.sakaiproject.content.metadata.model.MetadataType
 
setTranslated(boolean) - Method in class org.sakaiproject.content.metadata.model.MetadataType
 
setUniqueName(String) - Method in class org.sakaiproject.content.metadata.model.MetadataType
 

T

toProperties(T) - Method in interface org.sakaiproject.content.metadata.model.MetadataConverter
Transforms the object into a properties map.
toString(T) - Method in interface org.sakaiproject.content.metadata.model.MetadataConverter
Transforms the object in parameter into a simple String.

V

validate(T) - Method in interface org.sakaiproject.content.metadata.model.MetadataValidator
Tests the validity of a given value

TODO: Use a more advanced validation tool (JSR-303?)

C F G I M O S T V 
Skip navigation links

Copyright © 2023. All rights reserved.