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.am;
20  
21  import java.util.List;
22  import org.apache.syncope.common.lib.Attr;
23  import org.apache.syncope.common.lib.clientapps.UsernameAttributeProviderConf;
24  import org.apache.syncope.common.lib.types.LogoutType;
25  import org.apache.syncope.core.persistence.api.entity.Entity;
26  import org.apache.syncope.core.persistence.api.entity.Realm;
27  import org.apache.syncope.core.persistence.api.entity.policy.AccessPolicy;
28  import org.apache.syncope.core.persistence.api.entity.policy.AttrReleasePolicy;
29  import org.apache.syncope.core.persistence.api.entity.policy.AuthPolicy;
30  import org.apache.syncope.core.persistence.api.entity.policy.TicketExpirationPolicy;
31  
32  public interface ClientApp extends Entity {
33  
34      String getName();
35  
36      void setName(String name);
37  
38      Long getClientAppId();
39  
40      void setClientAppId(Long clientAppId);
41  
42      String getDescription();
43  
44      void setDescription(String description);
45  
46      String getLogo();
47  
48      void setLogo(String logo);
49  
50      void setTheme(String name);
51  
52      String getTheme();
53  
54      String getInformationUrl();
55  
56      void setInformationUrl(String informationUrl);
57  
58      String getPrivacyUrl();
59  
60      void setPrivacyUrl(String privacyUrl);
61  
62      UsernameAttributeProviderConf getUsernameAttributeProviderConf();
63  
64      void setUsernameAttributeProviderConf(UsernameAttributeProviderConf conf);
65  
66      AuthPolicy getAuthPolicy();
67  
68      void setAuthPolicy(AuthPolicy policy);
69  
70      AccessPolicy getAccessPolicy();
71  
72      void setAccessPolicy(AccessPolicy policy);
73  
74      AttrReleasePolicy getAttrReleasePolicy();
75  
76      void setAttrReleasePolicy(AttrReleasePolicy policy);
77  
78      TicketExpirationPolicy getTicketExpirationPolicy();
79  
80      void setTicketExpirationPolicy(TicketExpirationPolicy policy);
81  
82      Realm getRealm();
83  
84      void setRealm(Realm realm);
85  
86      List<Attr> getProperties();
87  
88      void setProperties(List<Attr> properties);
89  
90      LogoutType getLogoutType();
91  
92      void setLogoutType(LogoutType logoutType);
93  }