View Javadoc
1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one
3    * or more contributor license agreements.  See the NOTICE file
4    * distributed with this work for additional information
5    * regarding copyright ownership.  The ASF licenses this file
6    * to you under the Apache License, Version 2.0 (the
7    * "License"); you may not use this file except in compliance
8    * with the License.  You may obtain a copy of the License at
9    *
10   *   http://www.apache.org/licenses/LICENSE-2.0
11   *
12   * Unless required by applicable law or agreed to in writing,
13   * software distributed under the License is distributed on an
14   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15   * KIND, either express or implied.  See the License for the
16   * specific language governing permissions and limitations
17   * under the License.
18   */
19  package org.apache.syncope.core.persistence.api.entity;
20  
21  import java.util.Collection;
22  import java.util.List;
23  import java.util.Set;
24  import org.apache.syncope.common.lib.types.ConnConfProperty;
25  import org.apache.syncope.common.lib.types.ConnectorCapability;
26  
27  public interface ConnInstance extends Entity {
28  
29      Realm getAdminRealm();
30  
31      void setAdminRealm(Realm adminRealm);
32  
33      void setConnectorName(String connectorName);
34  
35      String getConnectorName();
36  
37      void setDisplayName(String displayName);
38  
39      String getDisplayName();
40  
41      void setLocation(String location);
42  
43      String getLocation();
44  
45      void setPoolConf(ConnPoolConf poolConf);
46  
47      ConnPoolConf getPoolConf();
48  
49      void setVersion(String version);
50  
51      String getVersion();
52  
53      void setBundleName(String bundleName);
54  
55      String getBundleName();
56  
57      Set<ConnectorCapability> getCapabilities();
58  
59      boolean add(ExternalResource resource);
60  
61      List<? extends ExternalResource> getResources();
62  
63      void setConf(Collection<ConnConfProperty> conf);
64  
65      Set<ConnConfProperty> getConf();
66  
67      void setConnRequestTimeout(Integer timeout);
68  
69      Integer getConnRequestTimeout();
70  
71  }