JSMA projects

Overview

The JSMA projects provides access to the projects (JSMA project) in the instance.

Only available up to IFE 3!

This JSMA is no longer available at IFE 4 and can only be used up to IFE 3! Use the integrator-code IkonaProjects instead!

What can JSMA projects do for me?

You can use the JSMA projects to access and manipulate projects in the database

Index

Usage

writing data

Here is an example on how to write data to a JSMA projects:

...
projects.create(name)
...

reading data

Here is an example on how to read data from a JSMA projects:

... 
projects.findByName(name)
...

Methods

The JSMA projects provides the following methods:

projects.create(name)

Creates a project with the given name

Example

... 
projects.create(name)
...

projects.delete(project)

Deletes the project

Example

... 
projects.delete(project)
...

projects.findAll

Finds all projects

Example

... 
projects.findAll
...

projects.findByName(name)

Finds the projects with the given name

Example

... 
projects.findByName(name)
...

projects.findByUuid(uuid)

Finds the project with the given uuid

Example

... 
projects.findByUuid(uuid)
...