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
-
-
Field Summary
Fields Modifier and Type Field Description static StringATTR_AKTIVstatic StringATTR_FSTOKENstatic StringATTR_HOSTstatic StringATTR_PORTstatic StringATTR_RECONNECT_ATTEMPTSstatic StringATTR_RECONNECT_TIMEOUTstatic StringATTR_SSL_KEYSTORE_PASSstatic StringATTR_SSL_KEYSTORE_PATHstatic StringATTR_SSL_USE-
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
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetBeschreibung()Set<String>getFeatures()Returns a set of features this server provides.StringgetFstoken()StringgetHost()LonggetId()StringgetName()intgetPort()IntegergetReconnect_attempts()IntegergetReconnect_timeout()StringgetSslKeystorePass()StringgetSslKeystorePath()List<UserPortal>getUserPortalList()Returns the user portals of this frontend server as a list ordered by the user portal name.Set<UserPortal>getUserPortals()Returns all user portals that are enabled on this server.booleangetUseSSL()StringgetVerbindungsname()Deprecated.booleanisAktiv()voidpostLoad()voidsetAktiv(boolean aktiv)voidsetBeschreibung(String beschreibung)voidsetFeatures(Set<String> features)voidsetFstoken(String fstoken)voidsetHost(String host)voidsetName(String name)voidsetPort(int port)voidsetReconnect_attempts(Integer reconnect_attempts)voidsetReconnect_timeout(Integer reconnect_timeout)voidsetSslKeystorePass(String sslKeystorePass)voidsetSslKeystorePath(String sslKeystorePath)voidsetUserPortalList(List<UserPortal> userPortals)Sets the user portals for this frontend server as a list.voidsetUserPortals(Set<UserPortal> userPortals)voidsetUseSSL(boolean useSSL)voidsetVerbindungsname(String name)Deprecated.StringtoString()-
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_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
-
-
Method Detail
-
getBeschreibung
public String getBeschreibung()
- Specified by:
getBeschreibungin 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:
getNamein 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)
-
getFeatures
public Set<String> getFeatures()
Description copied from interface:IServerConfigReturns a set of features this server provides.- Specified by:
getFeaturesin interfaceIServerConfig- Returns:
- A set of features this server provides.
-
getUserPortals
public Set<UserPortal> getUserPortals()
Description copied from interface:IServerConfigReturns all user portals that are enabled on this server.- Specified by:
getUserPortalsin 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:
toStringin classAbstractLockableEntity
-
postLoad
public void postLoad()
-
-