Package com.uc4.api.objects
Class Login
java.lang.Object
com.uc4.api.objects.UC4Object
com.uc4.api.objects.Login
- All Implemented Interfaces:
Iterable<LoginDefinition>
Login object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addLoginDefinition
(LoginDefinition definition) Adds a login definition.header()
Returns the header data of this object.boolean
Returnstrue
if this Object can be executed.iterator()
Returns an iterator overLoginDefinition
.protected void
loadContent
(com.uc4.util.XMLDocument doc, ConnectionAttributes info) void
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, Element objectElement, ConnectionAttributes sessionInfo) Methods inherited from class com.uc4.api.objects.UC4Object
docu, getAccess, getIdnr, getModCount, getName, getObjectClient, getType, isOldVersion, load, store, validate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
Login
public Login()
-
-
Method Details
-
loadContent
-
header
Returns the header data of this object. This is the information of the header tab in the dialog client.- Returns:
- header
-
iterator
Returns an iterator overLoginDefinition
.- Specified by:
iterator
in interfaceIterable<LoginDefinition>
- Returns:
- Iterator over login definitions
-
getLoginDefinitions
-
addLoginDefinition
Adds a login definition.- Parameters:
definition
- Login definition
-
removeLoginDefinition
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, 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.
-