Class JPAConnInstance
- java.lang.Object
-
- org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
-
- org.apache.syncope.core.persistence.jpa.entity.AbstractGeneratedKeyEntity
-
- org.apache.syncope.core.persistence.jpa.entity.JPAConnInstance
-
- All Implemented Interfaces:
Serializable
,ConnInstance
,Entity
@Entity @ConnInstanceCheck public class JPAConnInstance extends AbstractGeneratedKeyEntity implements ConnInstance
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
TABLE
protected static TypeReference<Set<ConnectorCapability>>
TYPEREF
-
Fields inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
LOG
-
Fields inherited from interface org.apache.syncope.core.persistence.api.entity.Entity
EMAIL_PATTERN, ID_PATTERN, ID_REGEX
-
-
Constructor Summary
Constructors Constructor Description JPAConnInstance()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(ExternalResource resource)
Realm
getAdminRealm()
String
getBundleName()
Set<ConnectorCapability>
getCapabilities()
Set<ConnConfProperty>
getConf()
String
getConnectorName()
Integer
getConnRequestTimeout()
String
getDisplayName()
String
getLocation()
ConnPoolConf
getPoolConf()
List<? extends ExternalResource>
getResources()
String
getVersion()
protected void
json2list(boolean clearFirst)
void
list2json()
void
postLoad()
void
postSave()
void
setAdminRealm(Realm adminRealm)
void
setBundleName(String bundleName)
void
setConf(Collection<ConnConfProperty> conf)
void
setConnectorName(String connectorName)
void
setConnRequestTimeout(Integer timeout)
void
setDisplayName(String displayName)
void
setLocation(String location)
void
setPoolConf(ConnPoolConf poolConf)
void
setVersion(String version)
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractGeneratedKeyEntity
getKey, setKey
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
checkImplementationType, checkType, equals, hashCode, toString
-
-
-
-
Field Detail
-
TABLE
public static final String TABLE
- See Also:
- Constant Field Values
-
TYPEREF
protected static final TypeReference<Set<ConnectorCapability>> TYPEREF
-
-
Method Detail
-
getAdminRealm
public Realm getAdminRealm()
- Specified by:
getAdminRealm
in interfaceConnInstance
-
setAdminRealm
public void setAdminRealm(Realm adminRealm)
- Specified by:
setAdminRealm
in interfaceConnInstance
-
getLocation
public String getLocation()
- Specified by:
getLocation
in interfaceConnInstance
-
setLocation
public void setLocation(String location)
- Specified by:
setLocation
in interfaceConnInstance
-
getConnectorName
public String getConnectorName()
- Specified by:
getConnectorName
in interfaceConnInstance
-
setConnectorName
public void setConnectorName(String connectorName)
- Specified by:
setConnectorName
in interfaceConnInstance
-
getBundleName
public String getBundleName()
- Specified by:
getBundleName
in interfaceConnInstance
-
setBundleName
public void setBundleName(String bundleName)
- Specified by:
setBundleName
in interfaceConnInstance
-
getVersion
public String getVersion()
- Specified by:
getVersion
in interfaceConnInstance
-
setVersion
public void setVersion(String version)
- Specified by:
setVersion
in interfaceConnInstance
-
getConf
public Set<ConnConfProperty> getConf()
- Specified by:
getConf
in interfaceConnInstance
-
setConf
public void setConf(Collection<ConnConfProperty> conf)
- Specified by:
setConf
in interfaceConnInstance
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceConnInstance
-
setDisplayName
public void setDisplayName(String displayName)
- Specified by:
setDisplayName
in interfaceConnInstance
-
getResources
public List<? extends ExternalResource> getResources()
- Specified by:
getResources
in interfaceConnInstance
-
add
public boolean add(ExternalResource resource)
- Specified by:
add
in interfaceConnInstance
-
getCapabilities
public Set<ConnectorCapability> getCapabilities()
- Specified by:
getCapabilities
in interfaceConnInstance
-
getConnRequestTimeout
public Integer getConnRequestTimeout()
- Specified by:
getConnRequestTimeout
in interfaceConnInstance
-
setConnRequestTimeout
public void setConnRequestTimeout(Integer timeout)
- Specified by:
setConnRequestTimeout
in interfaceConnInstance
-
getPoolConf
public ConnPoolConf getPoolConf()
- Specified by:
getPoolConf
in interfaceConnInstance
-
setPoolConf
public void setPoolConf(ConnPoolConf poolConf)
- Specified by:
setPoolConf
in interfaceConnInstance
-
json2list
protected void json2list(boolean clearFirst)
-
postLoad
public void postLoad()
-
postSave
public void postSave()
-
list2json
public void list2json()
-
-