Class: ExportFormat

Inherits:
Object
  • Object
show all
Includes:
DataMapper::Resource
Defined in:
models/exportformat.rb

Overview

Format for report exports - references ERB file that templates the report.

Class Method Summary (collapse)

Instance Method Summary (collapse)

Methods included from DataMapper::Resource

#make_dirty

Class Method Details

+ (String) description(repository = nil)

Returns User description of the ExportFormat

Returns:

  • (String)

    User description of the ExportFormat



15
# File 'models/exportformat.rb', line 15

property :description,		Text

+ (String) filename(repository = nil)

Returns Filename (excluding .erb) of the template for this export format (system name, not user-controlled)

Returns:

  • (String)

    Filename (excluding .erb) of the template for this export format (system name, not user-controlled)



16
# File 'models/exportformat.rb', line 16

property :filename,			String

+ (Integer) id(repository = nil)

Returns Primary Key

Returns:

  • (Integer)

    Primary Key



13
# File 'models/exportformat.rb', line 13

property :id,				Serial

+ (Name) name(repository = nil)

Returns Name of the ExportFormat

Returns:

  • (Name)

    Name of the ExportFormat



14
# File 'models/exportformat.rb', line 14

property :name,				String

Instance Method Details

- (String) description

Returns User description of the ExportFormat

Returns:

  • (String)

    User description of the ExportFormat



15
# File 'models/exportformat.rb', line 15

property :description,		Text

- (String) description=(value)

Returns User description of the ExportFormat

Returns:

  • (String)

    User description of the ExportFormat



15
# File 'models/exportformat.rb', line 15

property :description,		Text

- (String) filename

Returns Filename (excluding .erb) of the template for this export format (system name, not user-controlled)

Returns:

  • (String)

    Filename (excluding .erb) of the template for this export format (system name, not user-controlled)



16
# File 'models/exportformat.rb', line 16

property :filename,			String

- (String) filename=(value)

Returns Filename (excluding .erb) of the template for this export format (system name, not user-controlled)

Returns:

  • (String)

    Filename (excluding .erb) of the template for this export format (system name, not user-controlled)



16
# File 'models/exportformat.rb', line 16

property :filename,			String

- (Integer) id

Returns Primary Key

Returns:

  • (Integer)

    Primary Key



13
# File 'models/exportformat.rb', line 13

property :id,				Serial

- (Integer) id=(value)

Returns Primary Key

Returns:

  • (Integer)

    Primary Key



13
# File 'models/exportformat.rb', line 13

property :id,				Serial

- (Name) name

Returns Name of the ExportFormat

Returns:

  • (Name)

    Name of the ExportFormat



14
# File 'models/exportformat.rb', line 14

property :name,				String

- (Name) name=(value)

Returns Name of the ExportFormat

Returns:

  • (Name)

    Name of the ExportFormat



14
# File 'models/exportformat.rb', line 14

property :name,				String