Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Overview

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

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)
...


  • No labels