ResourceJournalEntry class

From Catglobe Wiki
Revision as of 11:19, 22 September 2011 by Dennis (talk | contribs) (Created page with "{{CGscriptClass_Template |Name=<nowiki>ResourceJournalEntry</nowiki> |Description=<nowiki>A resource journal entry</nowiki> |Constructors= {{CGscriptConstructors_Template|Paramet...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

ResourceJournalEntry



A resource journal entry

Constructors

  • (number Resource Id "Comment to what resource", string journalType "What kind of journal type is it", string content "What does the comment say") - Create a new comment object. Use Resource_addJournal or .Save() to save. Creating user is current user. Use addJournal() if dealing with tasks.

Methods

  • Empty Save() - Save the current comment
  • string ToString() - The string representation of the object.

Properties

  • string CommentType { get; } - Get the comment type as string
  • string Content { get; set; } - Get/set the comment content
  • number CreatedByUserResourceId { get; } - Get CreatedByUserResourceId
  • DateTime CreatedDate { get; } - Get CreatedDate
  • number ModifiedByUserResourceId { get; } - Get ModifiedByUserResourceId
  • DateTime ModifiedDate { get; } - Get ModifiedDate
  • string ObjectTypeName { get; } - The name of the type of object.
  • TypeInformation TypeInformation { get; } - Get information about this class.