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 AClientDependentEntity
COL_CLIENTID, mandantFields inherited from class AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersionFields inherited from class AbstractEntity
COL_ID, idFields inherited from interface 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 IMandantDependent
ATTR_CLIENT, ATTR_MANDANT, COL_CLIENT_IDFields inherited from interface INameProviding
ATTR_NAME, COL_NAMEFields inherited from interface ITransferableEntity
IMPORT_ID, INVALID_IDFields inherited from interface IUUIDEntity
ATTR_UUID, COL_UUID, INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, NULLABLE_UUID_TYPE, TYPE_NAME_UUID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.longgetId()getName()longgetUUID()Gets the UUID (universal unique identifier) that uniquely identifies this type of entity.Gets the UUID (universal unique identifier) that uniquely identifies this type of entity.voidsetConnectionTimeout(long connectionTimeout) voidsetDescription(String description) voidvoidsetPassword(String password) voidsetReadTimeout(long readTimeout) voidsetServerUrl(String serverUrl) voidsetUsername(String username) voidSets the UUID (universal unique identifier) that uniquely identifies this type of entity.voidsetUUIDObject(UUID uuid) Methods inherited from class AClientDependentEntity
getMandant, setMandantMethods inherited from class AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersion, toStringMethods inherited from class AbstractEntity
asIntValue, isPersisted, setId, setIdMethods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCodeMethods inherited from interface 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
-
ATTR_READ_TIMEOUT
JPA attribute name for thegetReadTimeout()field.- See Also:
-
ATTR_SERVER_URL
JPA attribute name for thegetServerUrl()field.- See Also:
-
ATTR_USERNAME
-
COL_CONNECTION_TIMEOUT
Database column name for thegetConnectionTimeout()field.- See Also:
-
COL_PASSWORD
-
COL_READ_TIMEOUT
Database column name for thegetReadTimeout()field.- See Also:
-
COL_USERNAME
-
-
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
-
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
Description copied from interface:IUUIDEntityGets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for exampleclient scopesorproject scope.- Specified by:
getUUIDin interfaceIUUIDEntity- Returns:
- The unique UUID of this WebDAV connection. The UUID must be unique within the scope of a client.
-
getUUIDObject
Description copied from interface:IUUIDEntityGets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for exampleclient scopesorproject scope.- 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
Description copied from interface:IUUIDEntitySets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for exampleclient scopesorproject scope.- 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().