Package com.uc4.api.objects
Class Login
- java.lang.Object
-
- com.uc4.api.objects.UC4Object
-
- com.uc4.api.objects.Login
-
- All Implemented Interfaces:
java.lang.Iterable<LoginDefinition>
public class Login extends UC4Object implements java.lang.Iterable<LoginDefinition>
Login object.
-
-
Constructor Summary
Constructors Constructor Description Login()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddLoginDefinition(LoginDefinition definition)Adds a login definition.java.util.List<LoginDefinition>getLoginDefinitions()Headerheader()Returns the header data of this object.booleanisExecutable()Returnstrueif this Object can be executed.java.util.Iterator<LoginDefinition>iterator()Returns an iterator overLoginDefinition.protected voidloadContent(com.uc4.util.XMLDocument doc, ConnectionAttributes info)voidremoveAll()booleanremoveLoginDefinition(LoginDefinition definition)Removes the specified login definition from this Login object.intsize()Returns the number of entries in this Login object.protected voidstoreContent(com.uc4.util.XMLDocument doc, org.w3c.dom.Element objectElement, ConnectionAttributes sessionInfo)-
Methods inherited from class com.uc4.api.objects.UC4Object
docu, getAccess, getIdnr, getModCount, getName, getType, isOldVersion, load, store, validate
-
-
-
-
Method Detail
-
loadContent
protected void loadContent(com.uc4.util.XMLDocument doc, ConnectionAttributes info)
-
header
public Header header()
Returns the header data of this object. This is the information of the header tab in the dialog client.- Returns:
- header
-
iterator
public java.util.Iterator<LoginDefinition> iterator()
Returns an iterator overLoginDefinition.- Specified by:
iteratorin interfacejava.lang.Iterable<LoginDefinition>- Returns:
- Iterator over login definitions
-
getLoginDefinitions
public java.util.List<LoginDefinition> getLoginDefinitions()
-
addLoginDefinition
public void addLoginDefinition(LoginDefinition definition)
Adds a login definition.- Parameters:
definition- Login definition
-
removeLoginDefinition
public boolean removeLoginDefinition(LoginDefinition definition)
Removes the specified login definition from this Login object.- Parameters:
definition- Login definition- Returns:
- True if the definitiond was removed successfully
-
size
public int size()
Returns the number of entries in this Login object.- Returns:
- Number of login defintions
-
removeAll
public void removeAll()
-
storeContent
protected void storeContent(com.uc4.util.XMLDocument doc, org.w3c.dom.Element objectElement, ConnectionAttributes sessionInfo)
-
isExecutable
public boolean isExecutable()
Description copied from class:UC4ObjectReturnstrueif this Object can be executed.- Specified by:
isExecutablein classUC4Object- Returns:
- true if the Object can be executed, false if not.
-
-