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
ConstructorsModifierConstructorDescriptionprotectedInstantiates a new incoming user bean. -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the destination.voidAdds the incoming policy.voidAdds the operation.voidcloseSession(ecmwf.web.model.users.User u, String id) Close session.voidDelete destination.voidDelete incoming policy.voidDelete operation.booleanEquals.booleanEquals.booleanGets 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.booleanGets the checks if is synchronized.Gets the last login.Gets the last login host.Gets the ojb implementation.Gets the password.Gets the properties.inthashCode()Hash code.voidsetActive(boolean active) Sets the active.voidsetAuthorizedSSHKeys(String authorizedSSHKeys) Sets the authorized SSH keys.voidsetComment(String comment) Sets the comment.voidsetCountryIso(String iso) Sets the country iso.voidSets the data.voidSets the id.voidsetIsSynchronized(boolean synchronised) Sets the checks if is synchronized.voidsetPassword(String password) Sets the password.toString()To string.Methods inherited from class ecmwf.web.dao.ModelBeanBase
delete, delete, getAttributeValue, getIntId, insert, insert, isNew, save, saveMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
getOjbImplementationin interfaceOjbImplementedBean- Returns:
- the ojb implementation
-
getBeanInterfaceName
Gets the bean interface name.- Specified by:
getBeanInterfaceNamein interfaceecmwf.web.model.ModelBean- Specified by:
getBeanInterfaceNamein classecmwf.web.dao.ModelBeanBase
-
getId
Gets the id. Gets the id.- Specified by:
getIdin interfaceIncomingUser- Specified by:
getIdin interfaceecmwf.web.model.ModelBean- Overrides:
getIdin classecmwf.web.dao.ModelBeanBase
-
getComment
Gets the comment. Gets the comment.- Specified by:
getCommentin interfaceIncomingUser- Returns:
- the comment
-
getActive
public boolean getActive()Gets the active. Gets the active.- Specified by:
getActivein interfaceIncomingUser- Returns:
- the active
-
getIsSynchronized
public boolean getIsSynchronized()Gets the checks if is synchronized. Gets the checks if is synchronized.- Specified by:
getIsSynchronizedin interfaceIncomingUser- Returns:
- the checks if is synchronized
-
getLastLoginHost
Gets the last login host. Gets the last login host.- Specified by:
getLastLoginHostin interfaceIncomingUser- Returns:
- the last login host
-
getLastLogin
Gets the last login. Gets the last login.- Specified by:
getLastLoginin interfaceIncomingUser- Returns:
- the last login
-
getPassword
Gets the password. Gets the password.- Specified by:
getPasswordin interfaceIncomingUser- Returns:
- the password
-
getCountry
Gets the country. Gets the country.- Specified by:
getCountryin interfaceIncomingUser- Returns:
- the country
- Throws:
TransferException- the transfer exception
-
getCountryIso
Gets the country iso. Gets the country iso.- Specified by:
getCountryIsoin interfaceIncomingUser- Returns:
- the country iso
-
getData
Gets the data. Gets the data.- Specified by:
getDatain interfaceIncomingUser- Returns:
- the data
-
getProperties
Gets the properties. Gets the properties.- Specified by:
getPropertiesin interfaceIncomingUser- Returns:
- the properties
-
getAuthorizedSSHKeys
Gets the authorized SSH keys. Gets the authorized SSH keys.- Specified by:
getAuthorizedSSHKeysin interfaceIncomingUser- Returns:
- the authorized SSH keys
-
setCountryIso
Sets the country iso. Sets the country iso.- Specified by:
setCountryIsoin interfaceIncomingUser- Parameters:
iso- the new country iso
-
setId
Sets the id. Sets the id.- Specified by:
setIdin interfaceIncomingUser- Specified by:
setIdin interfaceecmwf.web.model.ModelBean- Overrides:
setIdin classecmwf.web.dao.ModelBeanBase
-
setPassword
Sets the password. Sets the password.- Specified by:
setPasswordin interfaceIncomingUser- Parameters:
password- the new password
-
setComment
Sets the comment. Sets the comment.- Specified by:
setCommentin interfaceIncomingUser- Parameters:
comment- the new comment
-
setActive
public void setActive(boolean active) Sets the active. Sets the active.- Specified by:
setActivein 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:
setIsSynchronizedin interfaceIncomingUser- Parameters:
synchronised- the new checks if is synchronized
-
setData
Sets the data. Sets the data.- Specified by:
setDatain interfaceIncomingUser- Parameters:
data- the new data
-
setAuthorizedSSHKeys
Sets the authorized SSH keys. Sets the authorized SSH keys.- Specified by:
setAuthorizedSSHKeysin interfaceIncomingUser- Parameters:
authorizedSSHKeys- the new authorized SSH keys
-
getAssociatedIncomingPolicies
Gets the associated incoming policies. Gets the associated incoming policies.- Specified by:
getAssociatedIncomingPoliciesin interfaceIncomingUser- Returns:
- the associated incoming policies
- Throws:
TransferException- the transfer exception
-
getAssociatedDestinations
Gets the associated destinations. Gets the associated destinations.- Specified by:
getAssociatedDestinationsin interfaceIncomingUser- Returns:
- the associated destinations
- Throws:
TransferException- the transfer exception
-
getAssociatedOperations
Gets the associated operations. Gets the associated operations.- Specified by:
getAssociatedOperationsin 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:
closeSessionin interfaceIncomingUser- Parameters:
u- the uid- the id- Throws:
OperationException- the operation exception
-
addIncomingPolicy
Adds the incoming policy. Adds the incoming policy.- Specified by:
addIncomingPolicyin interfaceIncomingUser- Parameters:
p- the p
-
deleteIncomingPolicy
Delete incoming policy. Delete incoming policy.- Specified by:
deleteIncomingPolicyin 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:
addDestinationin interfaceIncomingUser- Parameters:
d- the d
-
deleteDestination
Delete destination. Delete destination.- Specified by:
deleteDestinationin interfaceIncomingUser- Parameters:
d- the d
-
addOperation
Adds the operation. Adds the operation.- Specified by:
addOperationin interfaceIncomingUser- Parameters:
o- the o
-
deleteOperation
Delete operation. Delete operation.- Specified by:
deleteOperationin interfaceIncomingUser- Parameters:
o- the o
-
getIncomingConnections
Gets the incoming connections. Gets the incoming connections.- Specified by:
getIncomingConnectionsin 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:
getCompletionsin interfaceIncomingUser- Returns:
- the completions
-
equals
-
equals
Equals.- Parameters:
d- the d- Returns:
- true, if successful
-
hashCode
-
toString
-