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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringJPA attribute name for thegetConnectionTimeout()field.static final StringJPA attribute name for thegetPassword()field.static final StringJPA attribute name for thegetReadTimeout()field.static final StringJPA attribute name for thegetServerUrl()field.static final StringJPA attribute name for thegetUsername()field.static final StringDatabase column name for thegetConnectionTimeout()field.static final StringDatabase column name for thegetPassword()field.static final StringDatabase column name for thegetReadTimeout()field.static final StringDatabase column name for thegetUsername()field.Fields inherited from class de.xima.fc.entities.AClientDependentEntity
COL_CLIENTID, mandantFields inherited from class de.xima.fc.entities.AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersionFields inherited from class de.xima.fc.entities.AbstractEntity
COL_ID, idFields inherited from interface de.xima.fc.entities.interfaces.IDescriptionProviding
ATTR_BESCHREIBUNG, ATTR_DESCRIPTION, COL_DESCRIPTIONFields inherited from interface de.xima.cmn.dao.interfaces.IEntity
ATTR_IDFields inherited from interface de.xima.cmn.dao.interfaces.ILockableEntity
ATTR_LOCKINGVERSIONFields inherited from interface de.xima.fc.entities.interfaces.IMandantDependent
ATTR_MANDANT, COL_CLIENT_IDFields inherited from interface de.xima.fc.entities.interfaces.INameProviding
ATTR_NAME, COL_NAMEFields inherited from interface de.xima.fc.entities.interfaces.ITransferableEntity
IMPORT_ID, INVALID_IDFields 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 -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.longgetId()getName()longgetUUID()voidsetConnectionTimeout(long connectionTimeout) voidsetDescription(String description) voidvoidsetPassword(String password) voidsetReadTimeout(long readTimeout) voidsetServerUrl(String serverUrl) voidsetUsername(String username) voidvoidsetUUIDObject(UUID uuid) Methods inherited from class de.xima.fc.entities.AClientDependentEntity
getMandant, setMandantMethods inherited from class de.xima.fc.entities.AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersion, toStringMethods inherited from class de.xima.fc.entities.AbstractEntity
asIntValue, isPersisted, setId, setIdMethods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface de.xima.cmn.dao.interfaces.IEntity
isPersisted, setId
-
Field Details
-
ATTR_CONNECTION_TIMEOUT
JPA attribute name for thegetConnectionTimeout()field.- See Also:
-
ATTR_PASSWORD
JPA attribute name for thegetPassword()field.- See Also:
-
ATTR_READ_TIMEOUT
JPA attribute name for thegetReadTimeout()field.- See Also:
-
ATTR_SERVER_URL
JPA attribute name for thegetServerUrl()field.- See Also:
-
ATTR_USERNAME
JPA attribute name for thegetUsername()field.- See Also:
-
COL_CONNECTION_TIMEOUT
Database column name for thegetConnectionTimeout()field.- See Also:
-
COL_PASSWORD
Database column name for thegetPassword()field.- See Also:
-
COL_READ_TIMEOUT
Database column name for thegetReadTimeout()field.- See Also:
-
COL_USERNAME
Database column name for thegetUsername()field.- See Also:
-
-
Constructor Details
-
WebDavAccess
public WebDavAccess()
-
-
Method Details
-
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
- Specified by:
getDescriptionin interfaceIDescriptionProviding- Returns:
- A human-readable description for this object.
-
getId
- Specified by:
getIdin interfacede.xima.cmn.dao.interfaces.IEntity<Long>
-
getName
- Specified by:
getNamein interfaceINameProviding- Returns:
- The name of this object.
-
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
- Returns:
- The URL of the WebDAV server.
-
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
- Specified by:
getUUIDin interfaceIUUIDEntity- Returns:
- The unique UUID of this WebDAV connection. The UUID must be unique within the scope of a client.
-
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
- Parameters:
description- A human-readable description for this object, available only to backend users.
-
setName
- Parameters:
name- The name of this WebDAV connection.
-
setPassword
- 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
- Parameters:
serverUrl- The URL of the WebDAV server.
-
setUsername
- 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
- 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
- Parameters:
uuid- The unique UUID of this WebDAV connection. The UUID must be unique within the scope of a client.
-
getDescription().