Package | Description |
---|---|
edu.ucsb.nceas.metacat | |
edu.ucsb.nceas.metacat.accesscontrol | |
edu.ucsb.nceas.metacat.dataone | |
edu.ucsb.nceas.metacat.scheduler |
Modifier and Type | Method and Description |
---|---|
void |
XMLQueryresultAccess.deleteXMLQueryresulForDoc(java.lang.String docId)
Delete xml access.
|
org.dataone.service.types.v1.AccessPolicy |
IdentifierManager.getAccessPolicy(java.lang.String guid)
Lookup access policy from Metacat
|
void |
IdentifierManager.updateSystemMetadata(org.dataone.service.types.v2.SystemMetadata sm,
DBConnection dbConn)
Insert the system metadata fields into the db
|
Constructor and Description |
---|
XMLQueryresultAccess() |
Modifier and Type | Method and Description |
---|---|
void |
XMLAccessAccess.addXMLAccess(java.lang.String guid,
java.lang.String principalName,
java.lang.Long permission,
java.lang.String permType,
java.lang.String permOrder,
java.lang.String accessFileId,
java.lang.String subTreeId)
Add permissions for a given principal on a given document.
|
void |
XMLAccessAccess.deleteXMLAccessForDoc(java.lang.String guid)
Delete xml access.
|
void |
XMLAccessAccess.deleteXMLAccessForDoc(java.lang.String guid,
java.lang.String permType)
Delete xml access.
|
java.util.Vector<edu.ucsb.nceas.utilities.access.XMLAccessDAO> |
XMLAccessAccess.getXMLAccessForDoc(java.lang.String guid)
Get all xml access for a document
|
java.util.Vector<edu.ucsb.nceas.utilities.access.XMLAccessDAO> |
XMLAccessAccess.getXMLAccessForPrincipal(java.lang.String guid,
java.lang.String principalName)
Get all xml access for a principal for a certain document
|
java.util.Vector<edu.ucsb.nceas.utilities.access.XMLAccessDAO> |
XMLAccessAccess.getXMLAccessForPrincipal(java.lang.String guid,
java.lang.String principalName,
java.lang.String permType,
java.lang.String permOrder)
Get all xml access for a principal/permType/permOrder for a certain document
|
void |
XMLAccessAccess.insertAccess(java.lang.String guid,
java.util.List<edu.ucsb.nceas.utilities.access.XMLAccessDAO> xmlAccessList)
Set permissions for a given document.
|
void |
XMLAccessAccess.removeXMLAccessForPrincipal(java.lang.String guid,
java.lang.String principalName,
java.lang.Long permission)
Remove xml access.
|
void |
XMLAccessAccess.replaceAccess(java.lang.String guid,
java.util.List<edu.ucsb.nceas.utilities.access.XMLAccessDAO> xmlAccessList)
Set permissions for a given document.
|
Constructor and Description |
---|
XMLAccessAccess() |
Modifier and Type | Method and Description |
---|---|
static org.dataone.service.types.v2.SystemMetadata |
SystemMetadataFactory.createSystemMetadata(boolean indexDataFile,
java.lang.String localId,
boolean includeORE,
boolean downloadData)
Creates a system metadata object for insertion into metacat
|
static org.dataone.service.types.v2.SystemMetadata |
SystemMetadataFactory.createSystemMetadata(java.lang.String localId,
boolean includeORE,
boolean downloadData)
Create a system metadata object for insertion into metacat
|
static void |
SystemMetadataFactory.generateSystemMetadata(java.util.List<java.lang.String> idList,
boolean includeOre,
boolean downloadData)
Generate SystemMetadata for any object in the object store that does
not already have it.
|
Modifier and Type | Method and Description |
---|---|
void |
ScheduledJobAccess.createJob(ScheduledJobDAO jobDAO,
java.util.HashMap<java.lang.String,java.lang.String> jobParams)
Create a job in the database
|
void |
ScheduledJobAccess.createJob(java.lang.String name,
java.lang.String triggerName,
java.lang.String groupName,
java.lang.Class<org.quartz.Job> jobClass,
java.util.Calendar startTime,
java.util.Calendar endTime,
int intervalValue,
java.lang.String intervalUnit,
java.util.HashMap<java.lang.String,java.lang.String> jobParams)
Create a job in the database.
|
protected void |
ScheduledJobParamAccess.createJobParams(java.lang.Long jobId,
java.util.HashMap<java.lang.String,java.lang.String> jobParams)
Insert job parameters into the database.
|
protected void |
ScheduledJobParamAccess.deleteJobParams(java.lang.Long jobId)
Remove change a job status to deleted in the database.
|
protected java.util.Vector<ScheduledJobParamDAO> |
ScheduledJobParamAccess.getAllJobParams()
Get all job parameters
|
java.util.HashMap<java.lang.Long,ScheduledJobDAO> |
ScheduledJobAccess.getAllJobs(java.lang.String groupName)
Get all jobs for a given group.
|
ScheduledJobDAO |
ScheduledJobAccess.getJob(java.lang.Long jobId)
Get a job based on it's id
|
ScheduledJobDAO |
ScheduledJobAccess.getJobByName(java.lang.String jobName)
Get a job by it's name
|
protected java.util.Vector<ScheduledJobParamDAO> |
ScheduledJobParamAccess.getJobParamsForJobId(java.lang.Long jobId)
Get all the job parameters for a given job id
|
java.util.HashMap<java.lang.Long,ScheduledJobDAO> |
ScheduledJobAccess.getJobsWithParameter(java.lang.String groupName,
java.lang.String paramName,
java.lang.String paramValue)
Get all jobs that have a given parameter with a given value
|
void |
ScheduledJobAccess.updateJobStatus(ScheduledJobDAO jobDAO)
Update the status of a job in the database
|
Constructor and Description |
---|
ScheduledJobAccess() |
ScheduledJobParamAccess() |
Copyright © 2020 Regents of the University of California. All Rights Reserved.