1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.syncope.core.provisioning.api.data;
20
21 import org.apache.syncope.common.lib.to.DerSchemaTO;
22 import org.apache.syncope.common.lib.to.PlainSchemaTO;
23 import org.apache.syncope.common.lib.to.VirSchemaTO;
24 import org.apache.syncope.core.persistence.api.entity.DerSchema;
25 import org.apache.syncope.core.persistence.api.entity.PlainSchema;
26 import org.apache.syncope.core.persistence.api.entity.VirSchema;
27
28 public interface SchemaDataBinder {
29
30 PlainSchema create(PlainSchemaTO schemaTO);
31
32 DerSchema create(DerSchemaTO schemaTO);
33
34 VirSchema create(VirSchemaTO schemaTO);
35
36 PlainSchema update(PlainSchemaTO schemaTO, PlainSchema schema);
37
38 DerSchema update(DerSchemaTO schemaTO, DerSchema derSchema);
39
40 VirSchema update(VirSchemaTO schemaTO, VirSchema virSchema);
41
42 PlainSchemaTO getPlainSchemaTO(String key);
43
44 DerSchemaTO getDerSchemaTO(String key);
45
46 VirSchemaTO getVirSchemaTO(String key);
47 }