Class IncomingUserBean
java.lang.Object
ecmwf.web.dao.ModelBeanBase
ecmwf.ecpds.master.plugin.http.dao.transfer.IncomingUserBean
- All Implemented Interfaces:
OjbImplementedBean
,IncomingUser
,ecmwf.web.model.ModelBean
public class IncomingUserBean
extends ecmwf.web.dao.ModelBeanBase
implements IncomingUser, OjbImplementedBean
The Class IncomingUserBean.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Instantiates a new incoming user bean. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds the destination.void
Adds the incoming policy.void
Adds the operation.void
closeSession
(ecmwf.web.model.users.User u, String id) Close session.void
Delete destination.void
Delete incoming policy.void
Delete operation.boolean
Equals.boolean
Equals.boolean
Gets the active.protected Collection
<Destination> Gets the added destinations.protected Collection
<IncomingPolicy> Gets the added incoming policies.protected Collection
<Operation> Gets the added operations.Gets the associated destinations.Gets the associated incoming policies.Gets the associated operations.Gets the authorized SSH keys.Gets the bean interface name.Gets the comment.Gets the completions.Gets the country.Gets the country iso.getData()
Gets the data.protected Collection
<Destination> Gets the deleted destinations.protected Collection
<IncomingPolicy> Gets the deleted incoming policies.protected Collection
<Operation> Gets the deleted operations.getId()
Gets the id.Gets the incoming connections.Gets the incoming users.boolean
Gets the checks if is synchronized.Gets the last login.Gets the last login host.Gets the ojb implementation.Gets the password.Gets the properties.int
hashCode()
Hash code.void
setActive
(boolean active) Sets the active.void
setAuthorizedSSHKeys
(String authorizedSSHKeys) Sets the authorized SSH keys.void
setComment
(String comment) Sets the comment.void
setCountryIso
(String iso) Sets the country iso.void
Sets the data.void
Sets the id.void
setIsSynchronized
(boolean synchronised) Sets the checks if is synchronized.void
setPassword
(String password) Sets the password.toString()
To string.Methods inherited from class ecmwf.web.dao.ModelBeanBase
delete, delete, getAttributeValue, getIntId, insert, insert, isNew, save, save
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface ecmwf.web.model.ModelBean
delete, delete, getAttributeValue, getIntId, insert, insert, isNew, save, save
-
Constructor Details
-
IncomingUserBean
Instantiates a new incoming user bean.- Parameters:
u
- the u
-
-
Method Details
-
getOjbImplementation
Gets the ojb implementation. Gets the ojb implementation.- Specified by:
getOjbImplementation
in interfaceOjbImplementedBean
- Returns:
- the ojb implementation
-
getBeanInterfaceName
Gets the bean interface name.- Specified by:
getBeanInterfaceName
in interfaceecmwf.web.model.ModelBean
- Specified by:
getBeanInterfaceName
in classecmwf.web.dao.ModelBeanBase
-
getId
Gets the id. Gets the id.- Specified by:
getId
in interfaceIncomingUser
- Specified by:
getId
in interfaceecmwf.web.model.ModelBean
- Overrides:
getId
in classecmwf.web.dao.ModelBeanBase
-
getComment
Gets the comment. Gets the comment.- Specified by:
getComment
in interfaceIncomingUser
- Returns:
- the comment
-
getActive
public boolean getActive()Gets the active. Gets the active.- Specified by:
getActive
in interfaceIncomingUser
- Returns:
- the active
-
getIsSynchronized
public boolean getIsSynchronized()Gets the checks if is synchronized. Gets the checks if is synchronized.- Specified by:
getIsSynchronized
in interfaceIncomingUser
- Returns:
- the checks if is synchronized
-
getLastLoginHost
Gets the last login host. Gets the last login host.- Specified by:
getLastLoginHost
in interfaceIncomingUser
- Returns:
- the last login host
-
getLastLogin
Gets the last login. Gets the last login.- Specified by:
getLastLogin
in interfaceIncomingUser
- Returns:
- the last login
-
getPassword
Gets the password. Gets the password.- Specified by:
getPassword
in interfaceIncomingUser
- Returns:
- the password
-
getCountry
Gets the country. Gets the country.- Specified by:
getCountry
in interfaceIncomingUser
- Returns:
- the country
- Throws:
TransferException
- the transfer exception
-
getCountryIso
Gets the country iso. Gets the country iso.- Specified by:
getCountryIso
in interfaceIncomingUser
- Returns:
- the country iso
-
getData
Gets the data. Gets the data.- Specified by:
getData
in interfaceIncomingUser
- Returns:
- the data
-
getProperties
Gets the properties. Gets the properties.- Specified by:
getProperties
in interfaceIncomingUser
- Returns:
- the properties
-
getAuthorizedSSHKeys
Gets the authorized SSH keys. Gets the authorized SSH keys.- Specified by:
getAuthorizedSSHKeys
in interfaceIncomingUser
- Returns:
- the authorized SSH keys
-
setCountryIso
Sets the country iso. Sets the country iso.- Specified by:
setCountryIso
in interfaceIncomingUser
- Parameters:
iso
- the new country iso
-
setId
Sets the id. Sets the id.- Specified by:
setId
in interfaceIncomingUser
- Specified by:
setId
in interfaceecmwf.web.model.ModelBean
- Overrides:
setId
in classecmwf.web.dao.ModelBeanBase
-
setPassword
Sets the password. Sets the password.- Specified by:
setPassword
in interfaceIncomingUser
- Parameters:
password
- the new password
-
setComment
Sets the comment. Sets the comment.- Specified by:
setComment
in interfaceIncomingUser
- Parameters:
comment
- the new comment
-
setActive
public void setActive(boolean active) Sets the active. Sets the active.- Specified by:
setActive
in interfaceIncomingUser
- Parameters:
active
- the new active
-
setIsSynchronized
public void setIsSynchronized(boolean synchronised) Sets the checks if is synchronized. Sets the checks if is synchronized.- Specified by:
setIsSynchronized
in interfaceIncomingUser
- Parameters:
synchronised
- the new checks if is synchronized
-
setData
Sets the data. Sets the data.- Specified by:
setData
in interfaceIncomingUser
- Parameters:
data
- the new data
-
setAuthorizedSSHKeys
Sets the authorized SSH keys. Sets the authorized SSH keys.- Specified by:
setAuthorizedSSHKeys
in interfaceIncomingUser
- Parameters:
authorizedSSHKeys
- the new authorized SSH keys
-
getAssociatedIncomingPolicies
Gets the associated incoming policies. Gets the associated incoming policies.- Specified by:
getAssociatedIncomingPolicies
in interfaceIncomingUser
- Returns:
- the associated incoming policies
- Throws:
TransferException
- the transfer exception
-
getAssociatedDestinations
Gets the associated destinations. Gets the associated destinations.- Specified by:
getAssociatedDestinations
in interfaceIncomingUser
- Returns:
- the associated destinations
- Throws:
TransferException
- the transfer exception
-
getAssociatedOperations
Gets the associated operations. Gets the associated operations.- Specified by:
getAssociatedOperations
in interfaceIncomingUser
- Returns:
- the associated operations
- Throws:
OperationException
- the operation exception
-
getIncomingUsers
Gets the incoming users.- Returns:
- the incoming users
- Throws:
IncomingUserException
- the incoming user exception
-
closeSession
Close session. Close session.- Specified by:
closeSession
in interfaceIncomingUser
- Parameters:
u
- the uid
- the id- Throws:
OperationException
- the operation exception
-
addIncomingPolicy
Adds the incoming policy. Adds the incoming policy.- Specified by:
addIncomingPolicy
in interfaceIncomingUser
- Parameters:
p
- the p
-
deleteIncomingPolicy
Delete incoming policy. Delete incoming policy.- Specified by:
deleteIncomingPolicy
in interfaceIncomingUser
- Parameters:
p
- the p
-
getAddedIncomingPolicies
Gets the added incoming policies.- Returns:
- the added incoming policies
-
getDeletedIncomingPolicies
Gets the deleted incoming policies.- Returns:
- the deleted incoming policies
-
addDestination
Adds the destination. Adds the destination.- Specified by:
addDestination
in interfaceIncomingUser
- Parameters:
d
- the d
-
deleteDestination
Delete destination. Delete destination.- Specified by:
deleteDestination
in interfaceIncomingUser
- Parameters:
d
- the d
-
addOperation
Adds the operation. Adds the operation.- Specified by:
addOperation
in interfaceIncomingUser
- Parameters:
o
- the o
-
deleteOperation
Delete operation. Delete operation.- Specified by:
deleteOperation
in interfaceIncomingUser
- Parameters:
o
- the o
-
getIncomingConnections
Gets the incoming connections. Gets the incoming connections.- Specified by:
getIncomingConnections
in interfaceIncomingUser
- Returns:
- the incoming connections
-
getAddedDestinations
Gets the added destinations.- Returns:
- the added destinations
-
getDeletedDestinations
Gets the deleted destinations.- Returns:
- the deleted destinations
-
getAddedOperations
Gets the added operations.- Returns:
- the added operations
-
getDeletedOperations
Gets the deleted operations.- Returns:
- the deleted operations
-
getCompletions
Gets the completions. Gets the completions.- Specified by:
getCompletions
in interfaceIncomingUser
- Returns:
- the completions
-
equals
-
equals
Equals.- Parameters:
d
- the d- Returns:
- true, if successful
-
hashCode
-
toString
-