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 String
JPA attribute name for thegetConnectionTimeout()
field.static final String
JPA attribute name for thegetPassword()
field.static final String
JPA attribute name for thegetReadTimeout()
field.static final String
JPA attribute name for thegetServerUrl()
field.static final String
JPA attribute name for thegetUsername()
field.static final String
Database column name for thegetConnectionTimeout()
field.static final String
Database column name for thegetPassword()
field.static final String
Database column name for thegetReadTimeout()
field.static final String
Database 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.cmn.dao.interfaces.IEntity
ATTR_ID
Fields inherited from interface de.xima.cmn.dao.interfaces.ILockableEntity
ATTR_LOCKINGVERSION
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 -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.long
getId()
getName()
long
getUUID()
void
setConnectionTimeout
(long connectionTimeout) void
setDescription
(String description) void
void
setPassword
(String password) void
setReadTimeout
(long readTimeout) void
setServerUrl
(String serverUrl) void
setUsername
(String username) void
void
setUUIDObject
(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
Methods 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:
getBeschreibung
in interfaceIDescriptionProviding
-
getConnectionTimeout
public long getConnectionTimeout()- Returns:
- The timeout for establishing a connection to the WebDAV server, in seconds.
0
is a timeout of zero.
-
getDescription
- Specified by:
getDescription
in interfaceIDescriptionProviding
- Returns:
- A human-readable description for this object.
-
getId
- Specified by:
getId
in interfacede.xima.cmn.dao.interfaces.IEntity<Long>
-
getName
- Specified by:
getName
in 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
null
or empty.
-
getReadTimeout
public long getReadTimeout()- Returns:
- The timeout for reading data from the WebDAV server, in seconds.
0
is 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
null
or empty.
-
getUUID
- Specified by:
getUUID
in interfaceIUUIDEntity
- Returns:
- The unique UUID of this WebDAV connection. The UUID must be unique within the scope of a client.
-
getUUIDObject
- Specified by:
getUUIDObject
in 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.0
is 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 isnull
or empty.
-
setReadTimeout
public void setReadTimeout(long readTimeout) - Parameters:
readTimeout
- The timeout for reading data from the WebDAV server, in seconds.0
is 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 isnull
or empty.
-
setUUID
- Specified by:
setUUID
in 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()
.