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 String
ATTR_AKTIV
static String
ATTR_FSTOKEN
static String
ATTR_HOST
static String
ATTR_PORT
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
-
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 String
getBeschreibung()
Set<String>
getFeatures()
Returns a set of features this server provides.String
getFstoken()
String
getHost()
Long
getId()
String
getName()
int
getPort()
Integer
getReconnect_attempts()
Integer
getReconnect_timeout()
String
getSslKeystorePass()
String
getSslKeystorePath()
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.boolean
getUseSSL()
String
getVerbindungsname()
Deprecated.boolean
isAktiv()
void
postLoad()
void
setAktiv(boolean aktiv)
void
setBeschreibung(String beschreibung)
void
setFeatures(Set<String> features)
void
setFstoken(String fstoken)
void
setHost(String host)
void
setName(String name)
void
setPort(int port)
void
setReconnect_attempts(Integer reconnect_attempts)
void
setReconnect_timeout(Integer reconnect_timeout)
void
setSslKeystorePass(String sslKeystorePass)
void
setSslKeystorePath(String sslKeystorePath)
void
setUserPortalList(List<UserPortal> userPortals)
Sets the user portals for this frontend server as a list.void
setUserPortals(Set<UserPortal> userPortals)
void
setUseSSL(boolean useSSL)
void
setVerbindungsname(String name)
Deprecated.String
toString()
-
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:
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)
-
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()
-
-