1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.onehippo.forge.cmisreplication;
17
18 import java.util.ArrayList;
19 import java.util.List;
20
21 public class CmisRepoConfig {
22
23 private String url;
24 private String username;
25 private String password;
26 private String repositoryId;
27 private String rootPath;
28 private List<String> metadataIdsToSync = new ArrayList<String>();
29
30 private int maxItemsPerPage = 100;
31
32 public String getUrl() {
33 return url;
34 }
35
36 public void setUrl(String url) {
37 this.url = url;
38 }
39
40 public String getUsername() {
41 return username;
42 }
43
44 public void setUsername(String username) {
45 this.username = username;
46 }
47
48 public String getPassword() {
49 return password;
50 }
51
52 public void setPassword(String password) {
53 this.password = password;
54 }
55
56 public String getRepositoryId() {
57 return repositoryId;
58 }
59
60 public void setRepositoryId(String repositoryId) {
61 this.repositoryId = repositoryId;
62 }
63
64 public String getRootPath() {
65 return rootPath;
66 }
67
68 public void setRootPath(String rootPath) {
69 this.rootPath = rootPath;
70 }
71 public int getMaxItemsPerPage() {
72 return maxItemsPerPage;
73 }
74
75 public void setMaxItemsPerPage(int maxItemsPerPage) {
76 this.maxItemsPerPage = maxItemsPerPage;
77 }
78
79 public List<String> getMetadataIdsToSync() {
80 return metadataIdsToSync;
81 }
82
83 public void addMetadataIdToSync(final String metadataId) {
84 this.metadataIdsToSync.add(metadataId);
85 }
86 }