Metadata

Rachel's Comments

1) Can we get implement convenience methods to get metadata? I've found
that maintaining a set of commands to get one piece of information is
really difficult – developers don't like to see sequences like that.

Extracted from Design Document

Having pushed metadata out into a separate service it probably makes sense to bring Grading information back into the offering and section objects. This needs further work.

It may also be useful to define significant events associated with a section, such as mid-terms, finals, project due dates, etc. This could be included in the Schedule object, or included as metadata. TBD

Metadata Use Cases

The following metadata properties are extracted from ResourceProperties.java:

Keyword

Description

Data Type

PROP_CREATOR

Property for resource creator

user id string

PROP_MODIFIED_BY

Property for resource last one to modify

user id string

PROP_CREATION_DATE

Property for creation

Time

PROP_DISPLAY_NAME

Property for the display name

String

PROP_ORIGINAL_FILENAME

Property for the original filename

String

PROP_COPYRIGHT

Property for the copyright attribution

String

PROP_COPYRIGHT_CHOICE

Property for the copyright choice attribution

String

PROP_COPYRIGHT_ALERT

Property for the copyright alert attribution

String

PROP_CONTENT_LENGTH

Property for the content length

Long

PROP_CONTENT_TYPE

Property for the content type

MIME type string

PROP_MODIFIED_DATE

Property for the last modified date

Time

PROP_IS_COLLECTION

Property that distinguishes a collection from a non-collection resource

Boolean

PROP_COLLECTION_BODY_QUOTA

Property that holds a ContentHosting collection body bytes quota, in K

long

PROP_CHAT_ROOM

Property to associate a chat message with a chat room

String

PROP_TO

Property to target a message to a specific user

User

PROP_DESCRIPTION

Property for long open description

String

PROP_CALENDAR_TYPE

Property for calendar event types

String

PROP_CALENDAR_LOCATION

Property for calendar event location

String

PROP_DISCUSSION_CATEGORIES

Property for the channel to categories names inside a discussion channel

String

PROP_REPLY_STYLE

Property that discussion reply message style is star or thread

String

PROP_CHANNEL_ENABLED

Property for a message channel indicating if the channel is 'enabled'

Boolean

PROP_MAIL_CHANNEL_OPEN

Property for a message channel indicating if the channel is 'enabled'

Boolean

PROP_SITE_EMAIL_NOTIFICATION_ID

Property for a site storing the email notification id associated with the site's mailbox

String

PROP_SITE_EMAIL_ARCHIVE

Property for a site indicating if email archiveing is enabled for the site

Boolean

PROP_TOOL_TITLE

Property for a ToolRegistration, the title of the tool

String

PROP_TOOL_DESCRIPTION

Property for a ToolRegistration, description of the tool

String

PROP_TOOL_CATEGORY

Property for a ToolRegistration, category of the tool

String

PROP_CALENDAR_EVENT_FIELDS

Property for calendar event extra fields

String

NEW_ASSIGNMENT_CHECK_AUTO_ANNOUNCE

Property for whether an assignment's open date will be announced

String

NEW_ASSIGNMENT_CHECK_ADD_DUE_DATE

Property for whether an assignment's due date will be added into schedule as an event

String

PROP_ASSIGNMENT_DUEDATE_CALENDAR_EVENT_ID

Property for calendar event associated with an assignment's due date

String

PROP_ASSIGNMENT_OPENDATE_ANNOUNCEMENT_MESSAGE_ID

Property for announcement message id associated with an assignment's open date

String

PROP_SUBMISSION_PREVIOUS_GRADES

Property for assignment submission's previous grade

String

PROP_SUBMISSION_SCALED_PREVIOUS_GRADES

Property for assignment submission's scaled previous grade

String

PROP_SUBMISSION_PREVIOUS_FEEDBACK_TEXT

Property for assignment submission's previous inline feedback text

String

PROP_SUBMISSION_PREVIOUS_FEEDBACK_COMMENT

Property for assignment submission's previous feedback comment

String

PROP_ASSIGNMENT_DELETED

Property for assignment been deleted status

String

PROP_PUBVIEW

Property indicating public viewable

Boolean