Mercurial > hg > ltpda
annotate m-toolbox/classes/+utils/@repository/repository.m @ 41:6def6533cb16 database-connection-manager
Report authentication errors to user
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Mon, 05 Dec 2011 18:04:34 +0100 |
parents | 056f8e1e995e |
children |
rev | line source |
---|---|
11
9174aadb93a5
Add LTPDA Repository utility functions into utils.repository
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
1 classdef repository |
9174aadb93a5
Add LTPDA Repository utility functions into utils.repository
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
2 |
9174aadb93a5
Add LTPDA Repository utility functions into utils.repository
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
3 methods (Static) |
9174aadb93a5
Add LTPDA Repository utility functions into utils.repository
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
4 |
24
056f8e1e995e
Properly record history in fromRepository constructors
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
13
diff
changeset
|
5 adjustPlist(conn, pl); |
11
9174aadb93a5
Add LTPDA Repository utility functions into utils.repository
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
6 type = getObjectType(conn, id); |
9174aadb93a5
Add LTPDA Repository utility functions into utils.repository
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
7 ids = getCollectionIDs(conn, cid); |
9174aadb93a5
Add LTPDA Repository utility functions into utils.repository
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
8 varargout = getUser(conn); |
9174aadb93a5
Add LTPDA Repository utility functions into utils.repository
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
9 |
13
e05504b18072
Move more functions to utils.repository
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
11
diff
changeset
|
10 varargout = insertObjMetadata(varargin); |
e05504b18072
Move more functions to utils.repository
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
11
diff
changeset
|
11 varargout = insertObjMetadataV1(varargin); |
e05504b18072
Move more functions to utils.repository
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
11
diff
changeset
|
12 |
e05504b18072
Move more functions to utils.repository
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
11
diff
changeset
|
13 varargout = updateObjMetadata(varargin); |
e05504b18072
Move more functions to utils.repository
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
11
diff
changeset
|
14 varargout = updateObjMetadataV1(varargin); |
e05504b18072
Move more functions to utils.repository
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
11
diff
changeset
|
15 |
11
9174aadb93a5
Add LTPDA Repository utility functions into utils.repository
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
16 end % static methods |
9174aadb93a5
Add LTPDA Repository utility functions into utils.repository
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
17 |
9174aadb93a5
Add LTPDA Repository utility functions into utils.repository
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
18 end |