Package de.xima.fc.entities
Class FrontendServer
- java.lang.Object
-
- de.xima.cmn.dao.model.AEntity<Long>
-
- de.xima.fc.entities.AbstractEntity
-
- de.xima.fc.entities.AbstractLockableEntity
-
- de.xima.fc.entities.FrontendServer
-
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>
,de.xima.cmn.dao.interfaces.ILockableEntity<Long>
,IDescriptionProviding
,ILockingVersionProviding
,INameProviding
,ITransferable
,ITransferableEntity
,ITransferableLockableEntity
,IServerConfig
,Serializable
,Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
@Entity public class FrontendServer extends AbstractLockableEntity implements INameProviding, IDescriptionProviding, IServerConfig
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FrontendServer.EProxyType
-
Field Summary
Fields Modifier and Type Field Description static String
ATTR_AKTIV
static String
ATTR_FSTOKEN
static String
ATTR_HOST
static String
ATTR_PORT
static String
ATTR_PROXY_AUTH_NAME
static String
ATTR_PROXY_AUTH_PASSWORD
static String
ATTR_PROXY_AUTH_USE
static String
ATTR_PROXY_HOST
static String
ATTR_PROXY_PORT
static String
ATTR_PROXY_TYPE
static String
ATTR_RECONNECT_ATTEMPTS
static String
ATTR_RECONNECT_TIMEOUT
static String
ATTR_SSL_KEYSTORE_PASS
static String
ATTR_SSL_KEYSTORE_PATH
static String
ATTR_SSL_USE
String
proxyAuthName
String
proxyAuthPassword
String
proxyHost
Integer
proxyPort
@NotNull FrontendServer.EProxyType
proxyType
boolean
useProxyAuth
-
Fields inherited from class de.xima.fc.entities.AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersion
-
Fields inherited from class de.xima.fc.entities.AbstractEntity
COL_ID, id
-
Fields inherited from interface de.xima.fc.entities.interfaces.IDescriptionProviding
ATTR_BESCHREIBUNG, ATTR_DESCRIPTION, COL_DESCRIPTION
-
Fields inherited from interface de.xima.fc.entities.interfaces.INameProviding
ATTR_NAME, COL_NAME
-
Fields inherited from interface de.xima.fc.entities.interfaces.ITransferableEntity
IMPORT_ID, INVALID_ID
-
-
Constructor Summary
Constructors Constructor Description FrontendServer()
-
Method Summary
-
Methods inherited from class de.xima.fc.entities.AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersion
-
Methods inherited from class de.xima.fc.entities.AbstractEntity
asIntValue, isPersisted, setId, setId
-
Methods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface de.xima.fc.entities.interfaces.IDescriptionProviding
getDescription
-
Methods inherited from interface de.xima.fc.interfaces.server.IServerConfig
hasFeature, hasFeature
-
-
-
-
Field Detail
-
ATTR_HOST
public static final String ATTR_HOST
- See Also:
- Constant Field Values
-
ATTR_PORT
public static final String ATTR_PORT
- See Also:
- Constant Field Values
-
ATTR_AKTIV
public static final String ATTR_AKTIV
- See Also:
- Constant Field Values
-
ATTR_FSTOKEN
public static final String ATTR_FSTOKEN
- See Also:
- Constant Field Values
-
ATTR_RECONNECT_ATTEMPTS
public static final String ATTR_RECONNECT_ATTEMPTS
- See Also:
- Constant Field Values
-
ATTR_RECONNECT_TIMEOUT
public static final String ATTR_RECONNECT_TIMEOUT
- See Also:
- Constant Field Values
-
ATTR_PROXY_TYPE
public static final String ATTR_PROXY_TYPE
- See Also:
- Constant Field Values
-
ATTR_PROXY_HOST
public static final String ATTR_PROXY_HOST
- See Also:
- Constant Field Values
-
ATTR_PROXY_PORT
public static final String ATTR_PROXY_PORT
- See Also:
- Constant Field Values
-
ATTR_PROXY_AUTH_USE
public static final String ATTR_PROXY_AUTH_USE
- See Also:
- Constant Field Values
-
ATTR_PROXY_AUTH_NAME
public static final String ATTR_PROXY_AUTH_NAME
- See Also:
- Constant Field Values
-
ATTR_PROXY_AUTH_PASSWORD
public static final String ATTR_PROXY_AUTH_PASSWORD
- See Also:
- Constant Field Values
-
ATTR_SSL_USE
public static final String ATTR_SSL_USE
- See Also:
- Constant Field Values
-
ATTR_SSL_KEYSTORE_PATH
public static final String ATTR_SSL_KEYSTORE_PATH
- See Also:
- Constant Field Values
-
ATTR_SSL_KEYSTORE_PASS
public static final String ATTR_SSL_KEYSTORE_PASS
- See Also:
- Constant Field Values
-
proxyType
@NotNull public @NotNull FrontendServer.EProxyType proxyType
-
proxyHost
public String proxyHost
-
proxyPort
public Integer proxyPort
-
useProxyAuth
public boolean useProxyAuth
-
proxyAuthName
public String proxyAuthName
-
proxyAuthPassword
public String proxyAuthPassword
-
-
Method Detail
-
getBeschreibung
public String getBeschreibung()
- Specified by:
getBeschreibung
in interfaceIDescriptionProviding
-
setBeschreibung
public void setBeschreibung(String beschreibung)
-
getFstoken
public String getFstoken()
-
setFstoken
public void setFstoken(String fstoken)
-
getHost
public String getHost()
-
setHost
public void setHost(String host)
-
getPort
public int getPort()
-
setPort
public void setPort(int port)
-
isAktiv
public boolean isAktiv()
-
setAktiv
public void setAktiv(boolean aktiv)
-
getName
public String getName()
- Specified by:
getName
in interfaceINameProviding
- Returns:
- The name of this object.
-
setName
public void setName(String name)
-
getVerbindungsname
@Deprecated public String getVerbindungsname()
Deprecated.
-
setVerbindungsname
@Deprecated public void setVerbindungsname(String name)
Deprecated.
-
getReconnect_timeout
public Integer getReconnect_timeout()
-
setReconnect_timeout
public void setReconnect_timeout(Integer reconnect_timeout)
-
getReconnect_attempts
public Integer getReconnect_attempts()
-
setReconnect_attempts
public void setReconnect_attempts(Integer reconnect_attempts)
-
getUseSSL
public boolean getUseSSL()
-
setUseSSL
public void setUseSSL(boolean useSSL)
-
getSslKeystorePath
public String getSslKeystorePath()
-
setSslKeystorePath
public void setSslKeystorePath(String sslKeystorePath)
-
getSslKeystorePass
public String getSslKeystorePass()
-
setSslKeystorePass
public void setSslKeystorePass(String sslKeystorePass)
-
getProxyType
public FrontendServer.EProxyType getProxyType()
-
setProxyType
public void setProxyType(FrontendServer.EProxyType proxyType)
-
getProxyHost
public String getProxyHost()
-
setProxyHost
public void setProxyHost(String proxyHost)
-
getProxyPort
public Integer getProxyPort()
-
setProxyPort
public void setProxyPort(Integer proxyPort)
-
isUseProxyAuth
public boolean isUseProxyAuth()
-
setUseProxyAuth
public void setUseProxyAuth(boolean useProxyAuth)
-
getProxyAuthName
public String getProxyAuthName()
-
setProxyAuthName
public void setProxyAuthName(String proxyAuthName)
-
getProxyAuthPassword
public String getProxyAuthPassword()
-
setProxyAuthPassword
public void setProxyAuthPassword(String proxyAuthPassword)
-
getFeatures
public Set<String> getFeatures()
Description copied from interface:IServerConfig
Returns a set of features this server provides.- Specified by:
getFeatures
in interfaceIServerConfig
- Returns:
- A set of features this server provides.
-
getUserPortals
public Set<UserPortal> getUserPortals()
Description copied from interface:IServerConfig
Returns all user portals that are enabled on this server.- Specified by:
getUserPortals
in interfaceIServerConfig
- Returns:
- a set of all user portals that are enabled on this server.
-
setUserPortals
public void setUserPortals(Set<UserPortal> userPortals)
-
getUserPortalList
public List<UserPortal> getUserPortalList()
Returns the user portals of this frontend server as a list ordered by the user portal name.- Returns:
- the user portals of this frontend server as a list ordered by the user portal name.
-
setUserPortalList
public void setUserPortalList(List<UserPortal> userPortals)
Sets the user portals for this frontend server as a list.- Parameters:
userPortals
- to set.
-
toString
public String toString()
- Overrides:
toString
in classAbstractLockableEntity
-
postLoad
public void postLoad()
-
preUpdate
public void preUpdate()
-
-