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 TypeMethodDescriptionvoidaddLoginDefinition(LoginDefinition definition) Adds a login definition.header()Returns the header data of this object.booleanReturnstrueif this Object can be executed.iterator()Returns an iterator overLoginDefinition.protected voidloadContent(com.uc4.util.XMLDocument doc, ConnectionAttributes info) voidbooleanremoveLoginDefinition(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, Element objectElement, ConnectionAttributes sessionInfo) Methods inherited from class com.uc4.api.objects.UC4Object
docu, getAccess, getIdnr, getModCount, getName, getObjectClient, getType, isOldVersion, load, store, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
iteratorin 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:UC4ObjectReturnstrueif this Object can be executed.- Specified by:
isExecutablein classUC4Object- Returns:
- true if the Object can be executed, false if not.
-