Package sk.ipesoft.d2000.d2japi
Enum AuditUserOperationType
- java.lang.Object
-
- java.lang.Enum<AuditUserOperationType>
-
- sk.ipesoft.d2000.d2japi.AuditUserOperationType
-
public enum AuditUserOperationType extends java.lang.Enum<AuditUserOperationType>
Type of user operation logged for auditing purposes.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description changeMacrosChange of user macros in D2000 HI.changePasswordChange of user password in D2000 HI.changeUserSettingsChange of user settings in D2000 HI.configureDeleteUserDeletion of user.configureNewUserCreation of a new user in D2000 CNF.configureSaveUserChange of user configuration in D2000 CNF.configureSaveUserPasswordChange of user configuration and password in D2000 CNF.entryConfigurationArtificial first entry as a starting point of the history.userLogoffUser logoff.userLogonUser logon.xmlImportNewUserCreation of a new user by XML Import.xmlImportSaveUserChange of user configuration by XML Import.xmlImportSaveUserPasswordChange of user configuration and password by XML Import.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AuditUserOperationTypefromLegacyName(java.lang.String legacyName, boolean ignoreCase)Translate legacy name of operation type to enumeration item.java.lang.StringgetLegacyName()Get legacy name of the operation type.static AuditUserOperationTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AuditUserOperationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
changeMacros
public static final AuditUserOperationType changeMacros
Change of user macros in D2000 HI.
-
changePassword
public static final AuditUserOperationType changePassword
Change of user password in D2000 HI.
-
changeUserSettings
public static final AuditUserOperationType changeUserSettings
Change of user settings in D2000 HI.
-
configureNewUser
public static final AuditUserOperationType configureNewUser
Creation of a new user in D2000 CNF.
-
configureSaveUser
public static final AuditUserOperationType configureSaveUser
Change of user configuration in D2000 CNF.
-
configureSaveUserPassword
public static final AuditUserOperationType configureSaveUserPassword
Change of user configuration and password in D2000 CNF.
-
configureDeleteUser
public static final AuditUserOperationType configureDeleteUser
Deletion of user.
-
xmlImportNewUser
public static final AuditUserOperationType xmlImportNewUser
Creation of a new user by XML Import.
-
xmlImportSaveUser
public static final AuditUserOperationType xmlImportSaveUser
Change of user configuration by XML Import.
-
xmlImportSaveUserPassword
public static final AuditUserOperationType xmlImportSaveUserPassword
Change of user configuration and password by XML Import.
-
userLogon
public static final AuditUserOperationType userLogon
User logon.
-
userLogoff
public static final AuditUserOperationType userLogoff
User logoff.
-
entryConfiguration
public static final AuditUserOperationType entryConfiguration
Artificial first entry as a starting point of the history.
-
-
Method Detail
-
values
public static AuditUserOperationType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AuditUserOperationType c : AuditUserOperationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuditUserOperationType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
fromLegacyName
public static AuditUserOperationType fromLegacyName(java.lang.String legacyName, boolean ignoreCase)
Translate legacy name of operation type to enumeration item. If name is not recognized, thennullis returned.- Parameters:
legacyName- legacy name of operation type.ignoreCase- iftruethenString.equalsIgnoreCase(String)is used for comparison of legacy name instead ofString.equals(Object).- Returns:
- enumeration item if recoginzed by its legacy name or
nullotherwise.
-
getLegacyName
public java.lang.String getLegacyName()
Get legacy name of the operation type.- Returns:
- legacy name
-
-