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 String
ATTR_CONNECTION_TIMEOUT
JPA attribute name for thegetConnectionTimeout()
field.static String
ATTR_PASSWORD
JPA attribute name for thegetPassword()
field.static String
ATTR_READ_TIMEOUT
JPA attribute name for thegetReadTimeout()
field.static String
ATTR_SERVER_URL
JPA attribute name for thegetServerUrl()
field.static String
ATTR_USERNAME
JPA attribute name for thegetUsername()
field.static String
COL_CONNECTION_TIMEOUT
Database column name for thegetConnectionTimeout()
field.static String
COL_PASSWORD
Database column name for thegetPassword()
field.static String
COL_READ_TIMEOUT
Database column name for thegetReadTimeout()
field.static String
COL_USERNAME
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.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 String
getBeschreibung()
Deprecated.UsegetDescription()
.long
getConnectionTimeout()
String
getDescription()
Long
getId()
String
getName()
String
getPassword()
long
getReadTimeout()
String
getServerUrl()
String
getUsername()
String
getUUID()
UUID
getUUIDObject()
void
setConnectionTimeout(long connectionTimeout)
void
setDescription(String description)
void
setName(String name)
void
setPassword(String password)
void
setReadTimeout(long readTimeout)
void
setServerUrl(String serverUrl)
void
setUsername(String username)
void
setUUID(String uuid)
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
-
-
-
-
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:
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
public String getDescription()
- Specified by:
getDescription
in interfaceIDescriptionProviding
- Returns:
- A human-readable description for this object.
-
getName
public String getName()
- Specified by:
getName
in 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
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
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
null
or empty.
-
getUUID
public String 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
public UUID 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
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 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
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 isnull
or empty.
-
setUUID
public void setUUID(String uuid)
- 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
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.
-
-