Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Some questions on extending Jazz Repository

Hi,

I was trying to extend the Jazz repository and would really appreciate help in the following:

a) Once I have uploaded some data in the repository, how can I remove/delete that data ? Do I need to expose delete operations from my service interface ?

b) Once I create a data model ecore and generate a Jazz component, are there some basic CRUD services generated which I can avail w/o needing to write my own set of services ?

c) The items I have defined in the repository, extend the basic type IAuditable. Is there any service available to get the audit history for an item and further on a particular instance of the item in that history ?

Thanks
- Vibha

0 votes



2 answers

Permanent link
When you create a new data model in Jazz, you can use the IRepositoryItemService on the server side to create/update/delete your new items. You can also use that to fetch the historic states for items that extend IAuditable.

For allowing creating of items remotely, you need to expose your own service that allows the creation or deletion. Usually, the service that is exposed will provide extra checks to make sure that the proper users are creating or deleting data and that data being saved is valid.

0 votes


Permanent link
vssinha wrote:
Hi,

I was trying to extend the Jazz repository and would really appreciate
help in the following:

a) Once I have uploaded some data in the repository, how can I
remove/delete that data ? Do I need to expose delete operations from
my service interface ?

b) Once I create a data model ecore and generate a Jazz component, are
there some basic CRUD services generated which I can avail w/o needing
to write my own set of services ?

c) The items I have defined in the repository, extend the basic type
IAuditable. Is there any service available to get the audit history
for an item and further on a particular instance of the item in that
history ?


If you're interested in basic CRUD services to your artifacts, you can
extend (or not) the ICrudService interface that allows for RESTful
access to your artifacts. That interface and its approach is described
here:

https://jazz.net/wiki/bin/view/Main/JazzRESTServicesV1

Todd
Jazz Server Development

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Jul 09 '08, 6:44 a.m.

Question was seen: 6,824 times

Last updated: Jul 09 '08, 6:44 a.m.

Confirmation Cancel Confirm