Package de.xima.fc.entities
Class WebDavAccess
- java.lang.Object
-
- de.xima.cmn.dao.model.AEntity<Long>
-
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>,de.xima.cmn.dao.interfaces.ILockableEntity<Long>,IDescriptionProviding,ILockingVersionProviding,IMandantDependent,INameProviding,ITransferable,ITransferableEntity,ITransferableLockableEntity,IUUIDEntity,Serializable,Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
@Entity public class WebDavAccess extends AClientDependentEntity implements INameProviding, IDescriptionProviding, IUUIDEntity
Models the connection data for a web DAV server.- Since:
- 7.1.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringATTR_CONNECTION_TIMEOUTJPA attribute name for thegetConnectionTimeout()field.static StringATTR_PASSWORDJPA attribute name for thegetPassword()field.static StringATTR_READ_TIMEOUTJPA attribute name for thegetReadTimeout()field.static StringATTR_SERVER_URLJPA attribute name for thegetServerUrl()field.static StringATTR_USERNAMEJPA attribute name for thegetUsername()field.static StringCOL_CONNECTION_TIMEOUTDatabase column name for thegetConnectionTimeout()field.static StringCOL_PASSWORDDatabase column name for thegetPassword()field.static StringCOL_READ_TIMEOUTDatabase column name for thegetReadTimeout()field.static StringCOL_USERNAMEDatabase column name for thegetUsername()field.-
Fields inherited from class de.xima.fc.entities.AClientDependentEntity
COL_CLIENTID, mandant
-
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.IMandantDependent
ATTR_MANDANT, COL_CLIENT_ID
-
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
-
Fields inherited from interface de.xima.fc.entities.interfaces.IUUIDEntity
ATTR_UUID, COL_UUID, INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, TYPE_NAME_UUID
-
-
Constructor Summary
Constructors Constructor Description WebDavAccess()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetBeschreibung()Deprecated.UsegetDescription().longgetConnectionTimeout()StringgetDescription()LonggetId()StringgetName()StringgetPassword()longgetReadTimeout()StringgetServerUrl()StringgetUsername()StringgetUUID()UUIDgetUUIDObject()voidsetConnectionTimeout(long connectionTimeout)voidsetDescription(String description)voidsetName(String name)voidsetPassword(String password)voidsetReadTimeout(long readTimeout)voidsetServerUrl(String serverUrl)voidsetUsername(String username)voidsetUUID(String uuid)voidsetUUIDObject(UUID uuid)-
Methods inherited from class de.xima.fc.entities.AClientDependentEntity
getMandant, setMandant
-
Methods inherited from class de.xima.fc.entities.AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersion, toString
-
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
-
-
-
-
Field Detail
-
ATTR_CONNECTION_TIMEOUT
public static final String ATTR_CONNECTION_TIMEOUT
JPA attribute name for thegetConnectionTimeout()field.- See Also:
- Constant Field Values
-
ATTR_PASSWORD
public static final String ATTR_PASSWORD
JPA attribute name for thegetPassword()field.- See Also:
- Constant Field Values
-
ATTR_READ_TIMEOUT
public static final String ATTR_READ_TIMEOUT
JPA attribute name for thegetReadTimeout()field.- See Also:
- Constant Field Values
-
ATTR_SERVER_URL
public static final String ATTR_SERVER_URL
JPA attribute name for thegetServerUrl()field.- See Also:
- Constant Field Values
-
ATTR_USERNAME
public static final String ATTR_USERNAME
JPA attribute name for thegetUsername()field.- See Also:
- Constant Field Values
-
COL_CONNECTION_TIMEOUT
public static final String COL_CONNECTION_TIMEOUT
Database column name for thegetConnectionTimeout()field.- See Also:
- Constant Field Values
-
COL_PASSWORD
public static final String COL_PASSWORD
Database column name for thegetPassword()field.- See Also:
- Constant Field Values
-
COL_READ_TIMEOUT
public static final String COL_READ_TIMEOUT
Database column name for thegetReadTimeout()field.- See Also:
- Constant Field Values
-
COL_USERNAME
public static final String COL_USERNAME
Database column name for thegetUsername()field.- See Also:
- Constant Field Values
-
-
Method Detail
-
getBeschreibung
@Deprecated public String getBeschreibung()
Deprecated.UsegetDescription().- Specified by:
getBeschreibungin interfaceIDescriptionProviding
-
getConnectionTimeout
public long getConnectionTimeout()
- Returns:
- The timeout for establishing a connection to the WebDAV server, in seconds.
0is a timeout of zero.
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceIDescriptionProviding- Returns:
- A human-readable description for this object.
-
getName
public String getName()
- Specified by:
getNamein interfaceINameProviding- Returns:
- The name of this object.
-
getPassword
public String getPassword()
- Returns:
- The password for the WebDAV server. When the WebDAV server does not require a login, this is
nullor empty.
-
getReadTimeout
public long getReadTimeout()
- Returns:
- The timeout for reading data from the WebDAV server, in seconds.
0is a timeout of zero.
-
getServerUrl
public String getServerUrl()
- Returns:
- The URL of the WebDAV server.
-
getUsername
public String getUsername()
- Returns:
- The login name or user name for the WebDAV server. When the WebDAV server does not require a login, this is
nullor empty.
-
getUUID
public String getUUID()
- Specified by:
getUUIDin interfaceIUUIDEntity- Returns:
- The unique UUID of this WebDAV connection. The UUID must be unique within the scope of a client.
-
getUUIDObject
public UUID getUUIDObject()
- Specified by:
getUUIDObjectin interfaceIUUIDEntity- Returns:
- The unique UUID of this WebDAV connection. The UUID must be unique within the scope of a client.
-
setConnectionTimeout
public void setConnectionTimeout(long connectionTimeout)
- Parameters:
connectionTimeout- The timeout for establishing a connection to the WebDAV server, in seconds.0is a timeout of zero.
-
setDescription
public void setDescription(String description)
- Parameters:
description- A human-readable description for this object, available only to backend users.
-
setName
public void setName(String name)
- Parameters:
name- The name of this WebDAV connection.
-
setPassword
public void setPassword(String password)
- Parameters:
password- The password for the WebDAV server. When the WebDAV server does not require a login, this isnullor empty.
-
setReadTimeout
public void setReadTimeout(long readTimeout)
- Parameters:
readTimeout- The timeout for reading data from the WebDAV server, in seconds.0is a timeout of zero.
-
setServerUrl
public void setServerUrl(String serverUrl)
- Parameters:
serverUrl- The URL of the WebDAV server.
-
setUsername
public void setUsername(String username)
- Parameters:
username- The login name or user name for the WebDAV server. When the WebDAV server does not require a login, this isnullor empty.
-
setUUID
public void setUUID(String uuid)
- Specified by:
setUUIDin interfaceIUUIDEntity- Parameters:
uuid- The unique UUID of this WebDAV connection. The UUID must be unique within the scope of a client.
-
setUUIDObject
public void setUUIDObject(UUID uuid)
- Parameters:
uuid- The unique UUID of this WebDAV connection. The UUID must be unique within the scope of a client.
-
-