ORCentral
Public Member Functions

eu.coform.ObjectRepository Class Reference

Webservice facade. More...

Collaboration diagram for eu.coform.ObjectRepository:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ObjectRepository ()
boolean uuidIsNew (UniqueID uuid) throws SOAPException
boolean createLocation (Session session, Location location, String homepageURL, String description) throws SOAPException
Location queryLocationByName (String name) throws ORException
 Queries a location which has the given name, implemented.
Location queryLocationByUniqueID (UniqueID location) throws SOAPException
Location[] queryAllLocations () throws ORException
 Queries all locations known to ORCentral, implemented.
Session login (Location location, String username, String password, int minutesTimeout) throws ORException
 Login for the user given by the parameter username, implemented.
Session switchUser (Session session, Location location, User user) throws SOAPException
int minutesRemaining (Session session) throws SOAPException
boolean touchSession (Session session) throws SOAPException
boolean changePassword (Session session, String oldPassword, String newPassword) throws SOAPException
void logout (Session session) throws SOAPException
void ingestDataset (Session session, Group parentGroup, Dataset dataset, String metadataRDF) throws ORException
 Function for ingesting a dataset, implemented.
void uploadFile (Session session, Filestruct file, String localFilenamePath) throws SOAPException
Dataset queryDataset (Session session, UniqueID datasetID) throws SOAPException
Filestruct queryFile (Session session, UniqueID fileID) throws SOAPException
Dataset[] queryDatasets (Session session, String sqlQuery, int start, int count) throws SOAPException
Filestruct[] queryFiles (Session session, String sqlQuery, int start, int count) throws SOAPException
Group[] queryGroups (Session session, String sqlQuery, int start, int count) throws SOAPException
void retrieveFile (Session session, Filestruct file, String localDirectory) throws SOAPException
void retrieveDataset (Session session, Dataset dataset, String localDirectory, boolean uniqueFilename) throws SOAPException
void retrieveGroup (Session session, Group group, String localDirectory, boolean uniqueFilename) throws SOAPException
void updateVersion (Session session, Filestruct oldFile, Filestruct newFile, String localFilenamePath, int fileType) throws SOAPException
int queryVersions (Session session, Dataset dataset, int fileType) throws SOAPException
Filestruct queryVersion (Session session, Dataset dataset, int version, int fileType) throws SOAPException
void setConsistAssert (Session session, String consistAssert, UniqueID fileMetadataID) throws SOAPException
String queryConsistAssert (Session session, UniqueID fileMetadataID) throws SOAPException
Group rootGroup (Session session) throws SOAPException
void createGroup (Session session, Group newGroup, Group parentGroup, String metadataRDF) throws SOAPException
void addToGroup (Session session, Group parentGroup, Dataset dataset) throws SOAPException
void addToGroup (Session session, Group parentGroup, Group group) throws SOAPException
void removeFromGroup (Session session, Group parentGroup, Dataset dataset) throws SOAPException
void removeFromGroup (Session session, Group parentGroup, Group group) throws SOAPException
Group[] queryParentGroups (Session session, Group group, int start, int count) throws SOAPException
Group[] queryParentGroups (Session session, Dataset dataset, int start, int count) throws SOAPException
Group[] queryChildGroups (Session session, Group group, int start, int count) throws SOAPException
Dataset[] queryChildDatasets (Session session, Group group, int start, int count) throws SOAPException
void createReplica (Session session, Dataset dataset, Location location) throws SOAPException
int createReplicaStatus (Session session, Dataset dataset, Location location) throws SOAPException
void deleteReplica (Session session, Dataset dataset, Location location) throws SOAPException
void deleteAllReplicas (Session session, Dataset dataset) throws SOAPException
Location[] queryReplica (Session session, Dataset dataset, int start, int count) throws SOAPException
Usergroup rootUsergroup (Session session) throws SOAPException
void createUsergroup (Session session, Usergroup usergroup, Usergroup parentgroup) throws SOAPException
void createUser (Session session, Usergroup parentgroup, User user, String password, String email) throws SOAPException
void addToUsergroup (Session session, User member, Usergroup usergroup) throws SOAPException
User queryUser (Session session, String username) throws SOAPException
void removeFromUsergroup (Session session, User member, Usergroup usergroup) throws SOAPException
Usergroup[] queryUsergroups (Session session, User user, int start, int count) throws SOAPException
Usergroup[] queryAllUsergroups (Session session, int start, int count) throws SOAPException
Usergroup queryParentUsergroup (Session session, Usergroup usergroup) throws SOAPException
Usergroup[] queryChildUsergroups (Session session, Usergroup group, int start, int count) throws SOAPException
User[] queryUsergroupUsers (Session session, Usergroup usergroup, int start, int count) throws SOAPException
void grantPermission (Session session, UniqueID subject, UniqueID object, String permission) throws SOAPException
void revokePermission (Session session, UniqueID subject, UniqueID object, String permission) throws SOAPException
String queryPermission (Session session, UniqueID subject, UniqueID object) throws SOAPException
boolean checkRetrieval (Session session, Dataset dataset) throws SOAPException
int createFilestatus (Session session, Filestatus filestatus) throws ORException
 Creates a new filestatus and saves it, implemented.
Filestatus queryFilestatus (Session session, int filestatusID) throws SOAPException
Filestatus[] queryAllFilestatus (Session session) throws SOAPException
int createMimetype (Session session, Mimetype mimetype) throws SOAPException, ORException
 Creates a new mimetyp and saves it, implemented.
Mimetype queryMimetype (Session session, int mimetypeID) throws SOAPException
Mimetype[] queryAllMimetype (Session session) throws SOAPException
void createSoftware (Session session, Software software) throws SOAPException
Software[] queryAllSoftware (Session session, int start, int count) throws SOAPException
void createImportExport (Session session, Software software, Mimetype mimetype, boolean createImport) throws SOAPException
Software[] queryImportExport (Session session, Mimetype mimetype, boolean queryImport) throws SOAPException

Detailed Description

Webservice facade.

Definition at line 21 of file ObjectRepository.java.


Constructor & Destructor Documentation

eu.coform.ObjectRepository.ObjectRepository ( )

Definition at line 27 of file ObjectRepository.java.


Member Function Documentation

void eu.coform.ObjectRepository.addToGroup ( Session  session,
Group  parentGroup,
Dataset  dataset 
) throws SOAPException

Definition at line 292 of file ObjectRepository.java.

void eu.coform.ObjectRepository.addToGroup ( Session  session,
Group  parentGroup,
Group  group 
) throws SOAPException

Definition at line 298 of file ObjectRepository.java.

void eu.coform.ObjectRepository.addToUsergroup ( Session  session,
User  member,
Usergroup  usergroup 
) throws SOAPException

Definition at line 398 of file ObjectRepository.java.

boolean eu.coform.ObjectRepository.changePassword ( Session  session,
String  oldPassword,
String  newPassword 
) throws SOAPException

Definition at line 139 of file ObjectRepository.java.

boolean eu.coform.ObjectRepository.checkRetrieval ( Session  session,
Dataset  dataset 
) throws SOAPException

Definition at line 470 of file ObjectRepository.java.

int eu.coform.ObjectRepository.createFilestatus ( Session  session,
Filestatus  filestatus 
) throws ORException

Creates a new filestatus and saves it, implemented.

Parameters:
sessionobject representing a session
filestatusstatus which should be saved
Returns:
number representing the filestatus

Definition at line 485 of file ObjectRepository.java.

Here is the call graph for this function:

void eu.coform.ObjectRepository.createGroup ( Session  session,
Group  newGroup,
Group  parentGroup,
String  metadataRDF 
) throws SOAPException

Definition at line 285 of file ObjectRepository.java.

void eu.coform.ObjectRepository.createImportExport ( Session  session,
Software  software,
Mimetype  mimetype,
boolean  createImport 
) throws SOAPException

Definition at line 551 of file ObjectRepository.java.

boolean eu.coform.ObjectRepository.createLocation ( Session  session,
Location  location,
String  homepageURL,
String  description 
) throws SOAPException

Definition at line 45 of file ObjectRepository.java.

int eu.coform.ObjectRepository.createMimetype ( Session  session,
Mimetype  mimetype 
) throws SOAPException, ORException

Creates a new mimetyp and saves it, implemented.

Parameters:
sessionobject representing a session
mimetypemimetype which should be saved
Returns:
number representing the mimetype

Definition at line 514 of file ObjectRepository.java.

Here is the call graph for this function:

void eu.coform.ObjectRepository.createReplica ( Session  session,
Dataset  dataset,
Location  location 
) throws SOAPException

Definition at line 347 of file ObjectRepository.java.

int eu.coform.ObjectRepository.createReplicaStatus ( Session  session,
Dataset  dataset,
Location  location 
) throws SOAPException

Definition at line 353 of file ObjectRepository.java.

void eu.coform.ObjectRepository.createSoftware ( Session  session,
Software  software 
) throws SOAPException

Definition at line 540 of file ObjectRepository.java.

void eu.coform.ObjectRepository.createUser ( Session  session,
Usergroup  parentgroup,
User  user,
String  password,
String  email 
) throws SOAPException

Definition at line 390 of file ObjectRepository.java.

void eu.coform.ObjectRepository.createUsergroup ( Session  session,
Usergroup  usergroup,
Usergroup  parentgroup 
) throws SOAPException

Definition at line 384 of file ObjectRepository.java.

void eu.coform.ObjectRepository.deleteAllReplicas ( Session  session,
Dataset  dataset 
) throws SOAPException

Definition at line 365 of file ObjectRepository.java.

void eu.coform.ObjectRepository.deleteReplica ( Session  session,
Dataset  dataset,
Location  location 
) throws SOAPException

Definition at line 359 of file ObjectRepository.java.

void eu.coform.ObjectRepository.grantPermission ( Session  session,
UniqueID  subject,
UniqueID  object,
String  permission 
) throws SOAPException

Definition at line 450 of file ObjectRepository.java.

void eu.coform.ObjectRepository.ingestDataset ( Session  session,
Group  parentGroup,
Dataset  dataset,
String  metadataRDF 
) throws ORException

Function for ingesting a dataset, implemented.

Parameters:
sessionobject representing the session of a user
parentGroupdesired group for the dataset
datasetdataset to be ingested
metadataRDFstring containing metadata about the dataset

Definition at line 169 of file ObjectRepository.java.

Here is the call graph for this function:

Session eu.coform.ObjectRepository.login ( Location  location,
String  username,
String  password,
int  minutesTimeout 
) throws ORException

Login for the user given by the parameter username, implemented.

Parameters:
usernameusername of the user
locationlocation for which the login should be executed
passwordpassword of the user
minutesTimeouttimeout for the session
Returns:
object representing a session

Definition at line 103 of file ObjectRepository.java.

Here is the call graph for this function:

void eu.coform.ObjectRepository.logout ( Session  session) throws SOAPException

Definition at line 145 of file ObjectRepository.java.

int eu.coform.ObjectRepository.minutesRemaining ( Session  session) throws SOAPException

Definition at line 126 of file ObjectRepository.java.

Filestatus [] eu.coform.ObjectRepository.queryAllFilestatus ( Session  session) throws SOAPException

Definition at line 503 of file ObjectRepository.java.

Location [] eu.coform.ObjectRepository.queryAllLocations ( ) throws ORException

Queries all locations known to ORCentral, implemented.

Returns:
all found locations

Definition at line 77 of file ObjectRepository.java.

Here is the call graph for this function:

Mimetype [] eu.coform.ObjectRepository.queryAllMimetype ( Session  session) throws SOAPException

Definition at line 533 of file ObjectRepository.java.

Software [] eu.coform.ObjectRepository.queryAllSoftware ( Session  session,
int  start,
int  count 
) throws SOAPException

Definition at line 545 of file ObjectRepository.java.

Usergroup [] eu.coform.ObjectRepository.queryAllUsergroups ( Session  session,
int  start,
int  count 
) throws SOAPException

Definition at line 422 of file ObjectRepository.java.

Dataset [] eu.coform.ObjectRepository.queryChildDatasets ( Session  session,
Group  group,
int  start,
int  count 
) throws SOAPException

Definition at line 337 of file ObjectRepository.java.

Group [] eu.coform.ObjectRepository.queryChildGroups ( Session  session,
Group  group,
int  start,
int  count 
) throws SOAPException

Definition at line 330 of file ObjectRepository.java.

Usergroup [] eu.coform.ObjectRepository.queryChildUsergroups ( Session  session,
Usergroup  group,
int  start,
int  count 
) throws SOAPException

Definition at line 433 of file ObjectRepository.java.

String eu.coform.ObjectRepository.queryConsistAssert ( Session  session,
UniqueID  fileMetadataID 
) throws SOAPException

Definition at line 273 of file ObjectRepository.java.

Dataset eu.coform.ObjectRepository.queryDataset ( Session  session,
UniqueID  datasetID 
) throws SOAPException

Definition at line 189 of file ObjectRepository.java.

Dataset [] eu.coform.ObjectRepository.queryDatasets ( Session  session,
String  sqlQuery,
int  start,
int  count 
) throws SOAPException

Definition at line 199 of file ObjectRepository.java.

Filestruct eu.coform.ObjectRepository.queryFile ( Session  session,
UniqueID  fileID 
) throws SOAPException

Definition at line 194 of file ObjectRepository.java.

Filestruct [] eu.coform.ObjectRepository.queryFiles ( Session  session,
String  sqlQuery,
int  start,
int  count 
) throws SOAPException

Definition at line 206 of file ObjectRepository.java.

Filestatus eu.coform.ObjectRepository.queryFilestatus ( Session  session,
int  filestatusID 
) throws SOAPException

Definition at line 498 of file ObjectRepository.java.

Group [] eu.coform.ObjectRepository.queryGroups ( Session  session,
String  sqlQuery,
int  start,
int  count 
) throws SOAPException

Definition at line 213 of file ObjectRepository.java.

Software [] eu.coform.ObjectRepository.queryImportExport ( Session  session,
Mimetype  mimetype,
boolean  queryImport 
) throws SOAPException

Definition at line 558 of file ObjectRepository.java.

Location eu.coform.ObjectRepository.queryLocationByName ( String  name) throws ORException

Queries a location which has the given name, implemented.

Parameters:
namelocation name
Returns:
the location with the given name

Definition at line 59 of file ObjectRepository.java.

Here is the call graph for this function:

Location eu.coform.ObjectRepository.queryLocationByUniqueID ( UniqueID  location) throws SOAPException

Definition at line 68 of file ObjectRepository.java.

Mimetype eu.coform.ObjectRepository.queryMimetype ( Session  session,
int  mimetypeID 
) throws SOAPException

Definition at line 528 of file ObjectRepository.java.

Group [] eu.coform.ObjectRepository.queryParentGroups ( Session  session,
Group  group,
int  start,
int  count 
) throws SOAPException

Definition at line 316 of file ObjectRepository.java.

Group [] eu.coform.ObjectRepository.queryParentGroups ( Session  session,
Dataset  dataset,
int  start,
int  count 
) throws SOAPException

Definition at line 323 of file ObjectRepository.java.

Usergroup eu.coform.ObjectRepository.queryParentUsergroup ( Session  session,
Usergroup  usergroup 
) throws SOAPException

Definition at line 428 of file ObjectRepository.java.

String eu.coform.ObjectRepository.queryPermission ( Session  session,
UniqueID  subject,
UniqueID  object 
) throws SOAPException

Definition at line 464 of file ObjectRepository.java.

Location [] eu.coform.ObjectRepository.queryReplica ( Session  session,
Dataset  dataset,
int  start,
int  count 
) throws SOAPException

Definition at line 370 of file ObjectRepository.java.

User eu.coform.ObjectRepository.queryUser ( Session  session,
String  username 
) throws SOAPException

Definition at line 404 of file ObjectRepository.java.

Usergroup [] eu.coform.ObjectRepository.queryUsergroups ( Session  session,
User  user,
int  start,
int  count 
) throws SOAPException

Definition at line 415 of file ObjectRepository.java.

User [] eu.coform.ObjectRepository.queryUsergroupUsers ( Session  session,
Usergroup  usergroup,
int  start,
int  count 
) throws SOAPException

Definition at line 440 of file ObjectRepository.java.

Filestruct eu.coform.ObjectRepository.queryVersion ( Session  session,
Dataset  dataset,
int  version,
int  fileType 
) throws SOAPException

Definition at line 260 of file ObjectRepository.java.

int eu.coform.ObjectRepository.queryVersions ( Session  session,
Dataset  dataset,
int  fileType 
) throws SOAPException

Definition at line 254 of file ObjectRepository.java.

void eu.coform.ObjectRepository.removeFromGroup ( Session  session,
Group  parentGroup,
Group  group 
) throws SOAPException

Definition at line 310 of file ObjectRepository.java.

void eu.coform.ObjectRepository.removeFromGroup ( Session  session,
Group  parentGroup,
Dataset  dataset 
) throws SOAPException

Definition at line 304 of file ObjectRepository.java.

void eu.coform.ObjectRepository.removeFromUsergroup ( Session  session,
User  member,
Usergroup  usergroup 
) throws SOAPException

Definition at line 409 of file ObjectRepository.java.

void eu.coform.ObjectRepository.retrieveDataset ( Session  session,
Dataset  dataset,
String  localDirectory,
boolean  uniqueFilename 
) throws SOAPException

Definition at line 229 of file ObjectRepository.java.

void eu.coform.ObjectRepository.retrieveFile ( Session  session,
Filestruct  file,
String  localDirectory 
) throws SOAPException

Definition at line 223 of file ObjectRepository.java.

void eu.coform.ObjectRepository.retrieveGroup ( Session  session,
Group  group,
String  localDirectory,
boolean  uniqueFilename 
) throws SOAPException

Definition at line 236 of file ObjectRepository.java.

void eu.coform.ObjectRepository.revokePermission ( Session  session,
UniqueID  subject,
UniqueID  object,
String  permission 
) throws SOAPException

Definition at line 457 of file ObjectRepository.java.

Group eu.coform.ObjectRepository.rootGroup ( Session  session) throws SOAPException

Definition at line 281 of file ObjectRepository.java.

Usergroup eu.coform.ObjectRepository.rootUsergroup ( Session  session) throws SOAPException

Definition at line 380 of file ObjectRepository.java.

void eu.coform.ObjectRepository.setConsistAssert ( Session  session,
String  consistAssert,
UniqueID  fileMetadataID 
) throws SOAPException

Definition at line 267 of file ObjectRepository.java.

Session eu.coform.ObjectRepository.switchUser ( Session  session,
Location  location,
User  user 
) throws SOAPException

Definition at line 120 of file ObjectRepository.java.

boolean eu.coform.ObjectRepository.touchSession ( Session  session) throws SOAPException

Definition at line 130 of file ObjectRepository.java.

void eu.coform.ObjectRepository.updateVersion ( Session  session,
Filestruct  oldFile,
Filestruct  newFile,
String  localFilenamePath,
int  fileType 
) throws SOAPException

Definition at line 246 of file ObjectRepository.java.

void eu.coform.ObjectRepository.uploadFile ( Session  session,
Filestruct  file,
String  localFilenamePath 
) throws SOAPException

Definition at line 180 of file ObjectRepository.java.

boolean eu.coform.ObjectRepository.uuidIsNew ( UniqueID  uuid) throws SOAPException

Definition at line 31 of file ObjectRepository.java.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations