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 void
addLoginDefinition(LoginDefinition definition)
Adds a login definition.java.util.List<LoginDefinition>
getLoginDefinitions()
Header
header()
Returns the header data of this object.boolean
isExecutable()
Returnstrue
if this Object can be executed.java.util.Iterator<LoginDefinition>
iterator()
Returns an iterator overLoginDefinition
.protected void
loadContent(com.uc4.util.XMLDocument doc, ConnectionAttributes info)
void
removeAll()
boolean
removeLoginDefinition(LoginDefinition definition)
Removes the specified login definition from this Login object.int
size()
Returns the number of entries in this Login object.protected void
storeContent(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, getObjectClient, 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:
iterator
in 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:UC4Object
Returnstrue
if this Object can be executed.- Specified by:
isExecutable
in classUC4Object
- Returns:
- true if the Object can be executed, false if not.
-
-