Revision 50977
Added by Myrto Koukouli about 6 years ago
typeScriptClasses.ts | ||
---|---|---|
52 | 52 |
} |
53 | 53 |
|
54 | 54 |
export class DriverResource implements Serializable { |
55 |
resourceId: string; |
|
56 |
resourceUri: string; |
|
57 |
resourceKind: string; |
|
58 |
resourceType: string; |
|
59 |
dateOfCreation: Date; |
|
55 |
resourceId: string = null;
|
|
56 |
resourceUri: string = null;
|
|
57 |
resourceKind: string = null;
|
|
58 |
resourceType: string = null;
|
|
59 |
dateOfCreation: Date = null;
|
|
60 | 60 |
} |
61 | 61 |
|
62 | 62 |
export class MDFormatDataStructure extends DriverResource { |
... | ... | |
80 | 80 |
} |
81 | 81 |
|
82 | 82 |
export class Repository extends DriverResource implements IsSerializable { |
83 |
id: string; |
|
84 |
officialName: string; |
|
85 |
englishName: string; |
|
86 |
websiteUrl: string; |
|
87 |
logoUrl: string; |
|
88 |
contactEmail: string; |
|
89 |
countryName: string; |
|
90 |
countryCode: string; |
|
91 |
organization: string; |
|
92 |
latitude: number; |
|
93 |
longitude: number; |
|
94 |
timezone: number; |
|
95 |
namespacePrefix: string; |
|
96 |
odNumberOfItems: string; |
|
97 |
odNumberOfItemsDate: string; |
|
98 |
odPolicies: string; |
|
99 |
odLanguages: string; |
|
100 |
odContentTypes: string; |
|
101 |
collectedFrom: string; |
|
102 |
inferred: boolean; |
|
103 |
deletedByInference: boolean; |
|
104 |
trust: number; |
|
105 |
inferenceProvenance: string; |
|
106 |
dateOfValidation: Date; |
|
107 |
datasourceClass: string; |
|
108 |
provenanceActionClass: string; |
|
109 |
dateOfCollection: Date; |
|
110 |
typology: string; |
|
111 |
activationId: string; |
|
112 |
mergehomonyms: boolean; |
|
113 |
description: string; |
|
114 |
releaseStartDate: Date; |
|
115 |
releaseEndDate: Date; |
|
116 |
missionStatementUrl: string; |
|
117 |
dataProvider: boolean; |
|
118 |
serviceProvider: boolean; |
|
119 |
databaseAccessType: string; |
|
120 |
dataUploadType: string; |
|
121 |
databaseAccessRestriction: string; |
|
122 |
dataUploadRestriction: string; |
|
123 |
versioning: boolean; |
|
124 |
citationGuidelineUrl: string; |
|
125 |
qualityManagementKind: string; |
|
126 |
pidSystems: string; |
|
127 |
certificates: string; |
|
128 |
aggregator: string; |
|
129 |
issn: string; |
|
130 |
eissn: string; |
|
131 |
lissn: string; |
|
132 |
interfaces: RepositoryInterface[]; |
|
133 |
availableDiskSpace: string; |
|
134 |
securityParameters: string; |
|
135 |
protocol: string; |
|
136 |
registeredBy: string; |
|
137 |
datasourceType: string; |
|
138 |
datasourceAggregatorId: string; |
|
139 |
datasourceOriginalIdValue: string; |
|
140 |
datasourceOriginalIdProvenance: string; |
|
141 |
datasourceAggregated: boolean; |
|
142 |
datasourceComplianceDegreeValue: string; |
|
143 |
datasourceComplianceDegreeEncoding: string; |
|
144 |
numberOfObjects: number; |
|
145 |
maxSizeOfDatastructure: number; |
|
146 |
maxNumberOfDataStructures: number; |
|
147 |
registered: boolean; |
|
148 |
extraFields: { [index: string]: string }; |
|
149 |
piwikInfo: PiwikInfo; |
|
150 |
environments: string[]; |
|
151 |
registrationDate: Date; |
|
152 |
verified: boolean; |
|
153 |
dataCollectionTypes: DataCollectionType[]; |
|
83 |
id: string = null;
|
|
84 |
officialName: string = null;
|
|
85 |
englishName: string = null;
|
|
86 |
websiteUrl: string = null;
|
|
87 |
logoUrl: string = null;
|
|
88 |
contactEmail: string = null;
|
|
89 |
countryName: string = null;
|
|
90 |
countryCode: string = null;
|
|
91 |
organization: string = null;
|
|
92 |
latitude: number = null;
|
|
93 |
longitude: number = null;
|
|
94 |
timezone: number = null;
|
|
95 |
namespacePrefix: string = null;
|
|
96 |
odNumberOfItems: string = null;
|
|
97 |
odNumberOfItemsDate: string = null;
|
|
98 |
odPolicies: string = null;
|
|
99 |
odLanguages: string = null;
|
|
100 |
odContentTypes: string = null;
|
|
101 |
collectedFrom: string = null;
|
|
102 |
inferred: boolean = null;
|
|
103 |
deletedByInference: boolean = null;
|
|
104 |
trust: number = 0;
|
|
105 |
inferenceProvenance: string = null;
|
|
106 |
dateOfValidation: Date = null;
|
|
107 |
datasourceClass: string = null;
|
|
108 |
provenanceActionClass: string = null;
|
|
109 |
dateOfCollection: Date = null;
|
|
110 |
typology: string = null;
|
|
111 |
activationId: string = null;
|
|
112 |
mergehomonyms: boolean = null;
|
|
113 |
description: string = null;
|
|
114 |
releaseStartDate: Date = null;
|
|
115 |
releaseEndDate: Date = null;
|
|
116 |
missionStatementUrl: string = null;
|
|
117 |
dataProvider: boolean = null;
|
|
118 |
serviceProvider: boolean = null;
|
|
119 |
databaseAccessType: string = null;
|
|
120 |
dataUploadType: string = null;
|
|
121 |
databaseAccessRestriction: string = null;
|
|
122 |
dataUploadRestriction: string = null;
|
|
123 |
versioning: boolean = null;
|
|
124 |
citationGuidelineUrl: string = null;
|
|
125 |
qualityManagementKind: string = null;
|
|
126 |
pidSystems: string = null;
|
|
127 |
certificates: string = null;
|
|
128 |
aggregator: string = null;
|
|
129 |
issn: string = null;
|
|
130 |
eissn: string = null;
|
|
131 |
lissn: string = null;
|
|
132 |
interfaces: RepositoryInterface[] = [];
|
|
133 |
availableDiskSpace: string = null;
|
|
134 |
securityParameters: string = null;
|
|
135 |
protocol: string = 'oai';
|
|
136 |
registeredBy: string = null;
|
|
137 |
datasourceType: string = null;
|
|
138 |
datasourceAggregatorId: string = null;
|
|
139 |
datasourceOriginalIdValue: string = null;
|
|
140 |
datasourceOriginalIdProvenance: string = null;
|
|
141 |
datasourceAggregated: boolean = false;
|
|
142 |
datasourceComplianceDegreeValue: string = null;
|
|
143 |
datasourceComplianceDegreeEncoding: string = null;
|
|
144 |
numberOfObjects: number = null;
|
|
145 |
maxSizeOfDatastructure: number = null;
|
|
146 |
maxNumberOfDataStructures: number = null;
|
|
147 |
registered: boolean = null;
|
|
148 |
extraFields: { [index: string]: string } = null;
|
|
149 |
piwikInfo: PiwikInfo = null;
|
|
150 |
environments: string[] = null;
|
|
151 |
registrationDate: Date = null;
|
|
152 |
verified: boolean = false;
|
|
153 |
dataCollectionTypes: DataCollectionType[] = [];
|
|
154 | 154 |
} |
155 | 155 |
|
156 | 156 |
export class RepositoryAccessProtocol { |
... | ... | |
177 | 177 |
} |
178 | 178 |
|
179 | 179 |
export class RepositoryInterface implements Serializable, IsSerializable { |
180 |
desiredCompatibilityLevel: string; |
|
181 |
complianceName: string; |
|
182 |
upgradeToV3: string; |
|
183 |
deleteApi: boolean; |
|
184 |
accessSet: string; |
|
185 |
accessFormat: string; |
|
186 |
metadataIdentifierPath: string; |
|
187 |
lastCollectionDate: string; |
|
188 |
nextScheduledExecution: string; |
|
189 |
status: string; |
|
190 |
collectedFrom: string; |
|
191 |
id: string; |
|
192 |
typology: string; |
|
193 |
compliance: string; |
|
194 |
contentDescription: string; |
|
195 |
accessProtocol: string; |
|
196 |
baseUrl: string; |
|
197 |
active: boolean; |
|
198 |
removable: boolean; |
|
199 |
accessParams: { [index: string]: string }; |
|
200 |
extraFields: { [index: string]: string }; |
|
180 |
desiredCompatibilityLevel: string = '';
|
|
181 |
complianceName: string = null;
|
|
182 |
upgradeToV3: string = '';
|
|
183 |
deleteApi: boolean = false;
|
|
184 |
accessSet: string = '';
|
|
185 |
accessFormat: string = '';
|
|
186 |
metadataIdentifierPath: string = '';
|
|
187 |
lastCollectionDate: string = '';
|
|
188 |
nextScheduledExecution: string = '';
|
|
189 |
status: string = '';
|
|
190 |
collectedFrom: string = '';
|
|
191 |
id: string = '';
|
|
192 |
typology: string = '';
|
|
193 |
compliance: string = 'UNKNOWN';
|
|
194 |
contentDescription: string = '';
|
|
195 |
accessProtocol: string = 'oai';
|
|
196 |
baseUrl: string = '';
|
|
197 |
active: boolean = false;
|
|
198 |
removable: boolean = false;
|
|
199 |
accessParams: { [index: string]: string } = {};
|
|
200 |
extraFields: { [index: string]: string } = {};
|
|
201 | 201 |
} |
202 | 202 |
|
203 | 203 |
export class SearchCriteriaImpl implements SearchCriteria { |
Also available in: Unified diff
finalized sources register and update