Class MB::Message
In: lib/mb/message.rb
Parent: ActiveRecord::Base

Methods

External Aliases

user -> writer
user -> owner

Public Instance methods

[Source]

    # File lib/mb/message.rb, line 37
37:     def has_attachements?
38:       self.attachements
39:     end

[Source]

    # File lib/mb/message.rb, line 41
41:     def is_anonymous?
42:       self.anonymous
43:     end

com.liferay.portlet.messageboards.model.MBMessage

[Source]

   # File lib/mb/message.rb, line 7
7:     def liferay_class
8:       'com.liferay.portlet.messageboards.model.MBMessage'
9:     end

parent message

[Source]

    # File lib/mb/message.rb, line 33
33:     def parent
34:       self.parentmessageid != 0 ? MB::Message.find(self.parentmessageid) : nil
35:     end

[Validate]