com.waveset.object
Class Type

java.lang.Object
  extended bycom.waveset.object.Type
All Implemented Interfaces:
java.lang.Comparable

public final class Type
extends java.lang.Object
implements java.lang.Comparable

Static instances of this class are used to to enumerate the valid types of objects in the Waveset system.

NOTE: A subset of these types is supported by the Repository.


Nested Class Summary
 class Type.Subtype
          Static instances of this class enumerate the values of Attribute.SUBTYPE that a PersistentObject of a specific Type may expose.
 
Field Summary
static Type ACCESS_SCAN
           
static Type ACCOUNT
           
static Type.Subtype ACCOUNT_CONFIRMATION_RULE
          A subtype of RULE that returns true if the ACCOUNT (specified as input) actually matches the USER (specified as input) and otherwise returns false.
static Type.Subtype ACCOUNT_CORRELATION_RULE
          A subtype of RULE that generates (as a result) the criteria to select instances of ACCOUNT that may match a USER (specified as input).
static Type ADMIN_GROUP
           
static Type ADMIN_ROLE
           
static Type ADMINISTRATOR
           
static java.lang.String ALLOW_CONNECT_RIGHT
           
static Type APPLICATION
           
static Type ATTR_PARSE
           
static Type ATTRIBUTE_DEFN
           
static Type AUDIT_CONFIG
          Deprecated. Old AuditConfig object, as of 4.0 using Configuration object to store audit config.
static Type AUDIT_POLICY
           
static Type.Subtype AUDIT_POLICY_RULE
          A subtype of RULE that is a boolean rules, and referenced in audit policy for compliance chacking.
static Type.Subtype AUDIT_POLICY_SOD_RULE
          A subtype of RULE that is a boolean or Map rule, and referenced in audit policy for separation of duty checks
static Type AUDIT_PRUNER_TASK
          Deprecated. This task no longer exists. NOTE : null log db key only because of deprecation
static Type AUDIT_QUERY
          Deprecated. This type is no longer used, replaced by task template in 1.6. NOTE : null log db key only because of deprecation
static java.lang.String CAN_HAVE_MEMBER_OBJECT_GROUP
           
static Right[] CMDV
           
static Right[] CMDVCD
           
static Right[] CMDVCDAR
           
static Right[] CMDVE
           
static Right[] CMDVECD
           
static Right[] CMDVECDPA
           
static Right[] CMDVP
           
static Right[] CMDVPCD
           
static Right[] CMDVPP
           
static Right[] CMDVPPD
           
static Right[] CMDVPPDICD
           
static java.lang.String code_id
           
static Type COMPLIANCE_VIOLATION
           
static Type CONFIGURATION
           
static Type DATA_STORE
          Data store instances can be stored as persistent objects in the repository.
static Right[] DD
           
static Type[] DEFAULT_NEGATIVE_CACHED_TYPES
          List of types for which we cache the fact that they are not present.
static Type[] DEFAULT_UNCACHED_TYPES
           
static java.lang.String DEPRECATED_GROUP
           
static Type DISCOVERY
          Deprecated. No longer used in 4.0.
static Right[] DV
           
static Type EMAIL_TEMPLATE
           
static Type ENCRYPTION_KEY
           
static Type EVENT
           
static Type EXTRACT
           
static Type EXTRACT_TASK
           
static Type IDMX_USER
           
static java.lang.String INTERNAL_GROUP
           
static Right[] IX
           
static Type LOAD_CONFIG
           
static Type LOAD_TASK
           
static Type LOG
           
static Type LOGIN_APP
           
static Type LOGIN_CONFIG
           
static Type LOGIN_MOD_GRP
           
static java.lang.String MEMBER_OBJECT_GROUP_FIXED
          Items of these types always live in Top or Any.
static Type META_VIEW
           
static Type MISCELLANEOUS
           
static Right[] MV
           
static java.lang.String NO_CACHE_GROUP
           
static java.lang.String NO_CLASS_GROUP
           
static Type NOTIFY_CONFIG
          Deprecated. This type was never used, added in 2001 by gw. NOTE : null log db key only because of deprecation
static Type OBJECT_GROUP
           
static Type POLICY
           
static Type PROVISIONING_TASK
           
static Right[] PWD
           
static Type.Subtype REMEDIATION_WORKFLOW
          A subtype of TaskDefinition which defines a workflow that is designed to be called when compliance violations are found during audit scans.
static Type REMEDY_CONFIG
           
static Type REPORT_COUNTER
          Deprecated. No longer used, replaced by repo.count. djs NOTE : null log db key only because of deprecation
static Type.Subtype REPORT_TASK
          A subtype of TaskDefinition for Reports, referenced by the report tab.
static Type RESOURCE
           
static Type RESOURCE_ACCOUNT
           
static Type RESOURCE_ACTION
           
static Type RESOURCE_FORM
           
static Type RESOURCE_OBJECT
           
static Type RISK_REPORT_TASK
           
static Type ROLE
           
static Type RULE
           
static Type SECURE_COUNTER
          For internal use only (used by SecureCounterManager)
static Type SERVER
          For internal use only (in ServerRegistry).
static Type SNAPSHOT
           
static Type SUMMARY_REPORT_TASK
          Deprecated. This sub type no longer used, reports are now session based. NOTE : null log db key only because of deprecation
static java.lang.String SUPPRESSED_GROUP
           
static Type SYSLOG
           
static Type SYSTEM
           
static Type TASK_DEFINITION
           
static Type TASK_INSTANCE
           
static Type TASK_RESULT
           
static Type TASK_RESULT_PAGE
           
static Type TASK_SCHEDULE
           
static Type TASK_TEMPLATE
           
static Type TEST_ITEM
           
protected static Trace trace
           
static Type TRACKED_EVENTS_FOR_INTERVAL
           
static Type TRACKED_EVENTS_FOR_SERVER
           
static Type USAGE_REPORT
          Deprecated. This type is no longer used, replaced by task template in 1.6. NOTE : null log db key only because of deprecation
static Type USAGE_REPORT_TASK
          Deprecated. This sub type no longer used, reports are now session based. NOTE : null log db key only because of deprecation
static Type USER
           
static Type USER_ENTITLEMENT
           
static Type USER_FORM
           
static Right[] V
           
static Right[] VC
           
static Right[] VCD
           
static Right[] VCPL
           
static Right[] VD
           
static Right[] VE
           
static Right[] VM
           
static Right[] VMIX
           
static Right[] VMIX_DEBUG
           
static Right[] VPL
           
static Right[] VRPL
           
static Type WORK_ITEM
           
static Type XML_DATA
           
 
Constructor Summary
protected Type()
          Protected (bogus) constructor.
 
Method Summary
static void clearTypeStats()
           
 int compareTo(java.lang.Object y)
           
 Type.Subtype findSubtype(java.lang.String value)
          Find subtype by attribute value.
 Type.Subtype findSubtypeByDisplayName(java.lang.String displayName)
           
static Type findType(java.lang.String typeName)
          Find type by name.
static Type findTypeByDisplayName(java.lang.String displayName)
          Find type by name.
static Type findTypeByLogDbKey(java.lang.String logDbKey)
          Find type by using the DBKey stored in the repository.
 boolean getContainsEncryptedData()
           
 java.lang.String getDbTableName()
           
static Type[] getDefaultUncachedTypes()
          JBuilder has problems building ObjectCache when it references Type constants, or DEFAULT_UNCACHED_TYPES in its own static initializers, try this instead.
 java.lang.String getDisplayName()
           
static Type[] getGroupMembers(java.lang.String groupName)
           
 java.lang.String getInlineAttributeColumnName(int index)
           
 java.lang.String getInlineAttributeColumnName(java.lang.Object attr)
           
 java.lang.String[] getInlineAttributeNames()
           
 java.lang.Class getJavaClass()
           
 Type[] getLegacyTypes()
           
 java.lang.String getLogDbKey()
           
 java.lang.String getName()
           
 int getOrdinal()
           
 boolean getRelocatable()
           
 Right[] getRights()
           
 Type.Subtype getSubtype(java.lang.Object o)
          Find subtype by attribute value throwing an exception if not found.
 Type[] getSubtypes()
          Deprecated. As of 5.0SP4, call #getLegacyTypes.
static Type getType(java.lang.Object o)
          Find type by name throwing an exception if not found.
static Type[] getTypes()
          Lists all defined types.
static void getTypeStats(java.lang.StringBuffer sb)
           
static Type[] getTypesWithEncryptedData()
          Get the list of types that have persistent Encrypted Data
static Type[] getTypesWithRights()
          Get the list of types that have rights (i.e.
 boolean isGroupMember(java.lang.String groupName)
           
static boolean isGroupMember(java.lang.String typeName, java.lang.String groupName)
           
 boolean isInlineAttribute(java.lang.Object attr)
           
static boolean isTypeWithRights(Type type)
          Return true if the type arg has rights and is not an internal, deprecated, or type with no object class.
 java.util.List listSubtypeDisplayNames()
           
 java.util.List listSubtypes()
           
 java.util.List listSubtypeValues()
           
static void main(java.lang.String[] args)
           
 void setInlineAttributes(java.util.List inlineAttrs)
          PWD: to set the user search attributes dynamically, this has to be public...
 void setInlineAttributes(java.lang.Object[] inlineAttrs)
          PWD: to set the user search attributes dynamically, this has to be public...
 java.lang.String toString()
           
 void typeConstructed()
           
static void typeConstructed(java.lang.String typeName)
           
 void typeFinalized()
           
static void typeFinalized(java.lang.String typeName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

code_id

public static final java.lang.String code_id
See Also:
Constant Field Values

trace

protected static final Trace trace

CAN_HAVE_MEMBER_OBJECT_GROUP

public static final java.lang.String CAN_HAVE_MEMBER_OBJECT_GROUP
See Also:
Constant Field Values

SUPPRESSED_GROUP

public static final java.lang.String SUPPRESSED_GROUP
See Also:
Constant Field Values

NO_CACHE_GROUP

public static final java.lang.String NO_CACHE_GROUP
See Also:
Constant Field Values

ALLOW_CONNECT_RIGHT

public static final java.lang.String ALLOW_CONNECT_RIGHT
See Also:
Constant Field Values

NO_CLASS_GROUP

public static final java.lang.String NO_CLASS_GROUP
See Also:
Constant Field Values

DEPRECATED_GROUP

public static final java.lang.String DEPRECATED_GROUP
See Also:
Constant Field Values

INTERNAL_GROUP

public static final java.lang.String INTERNAL_GROUP
See Also:
Constant Field Values

MEMBER_OBJECT_GROUP_FIXED

public static final java.lang.String MEMBER_OBJECT_GROUP_FIXED
Items of these types always live in Top or Any.

See Also:
Constant Field Values

CMDV

public static Right[] CMDV

CMDVE

public static Right[] CMDVE

CMDVP

public static Right[] CMDVP

CMDVPCD

public static Right[] CMDVPCD

CMDVPP

public static Right[] CMDVPP

CMDVPPD

public static Right[] CMDVPPD

CMDVPPDICD

public static Right[] CMDVPPDICD

CMDVCD

public static Right[] CMDVCD

CMDVCDAR

public static Right[] CMDVCDAR

CMDVECD

public static Right[] CMDVECD

CMDVECDPA

public static Right[] CMDVECDPA

MV

public static Right[] MV

DD

public static Right[] DD

DV

public static Right[] DV

VC

public static Right[] VC

VD

public static Right[] VD

VCD

public static Right[] VCD

VM

public static Right[] VM

VE

public static Right[] VE

V

public static Right[] V

PWD

public static Right[] PWD

VPL

public static Right[] VPL

VCPL

public static Right[] VCPL

VRPL

public static Right[] VRPL

VMIX

public static Right[] VMIX

VMIX_DEBUG

public static Right[] VMIX_DEBUG

IX

public static Right[] IX

OBJECT_GROUP

public static final Type OBJECT_GROUP

ENCRYPTION_KEY

public static final Type ENCRYPTION_KEY

ADMINISTRATOR

public static final Type ADMINISTRATOR

ADMIN_GROUP

public static final Type ADMIN_GROUP

ADMIN_ROLE

public static final Type ADMIN_ROLE

LOGIN_CONFIG

public static final Type LOGIN_CONFIG

LOGIN_APP

public static final Type LOGIN_APP

LOGIN_MOD_GRP

public static final Type LOGIN_MOD_GRP

NOTIFY_CONFIG

public static final Type NOTIFY_CONFIG
Deprecated. This type was never used, added in 2001 by gw. NOTE : null log db key only because of deprecation


AUDIT_CONFIG

public static final Type AUDIT_CONFIG
Deprecated. Old AuditConfig object, as of 4.0 using Configuration object to store audit config.


AUDIT_QUERY

public static final Type AUDIT_QUERY
Deprecated. This type is no longer used, replaced by task template in 1.6. NOTE : null log db key only because of deprecation


USAGE_REPORT

public static final Type USAGE_REPORT
Deprecated. This type is no longer used, replaced by task template in 1.6. NOTE : null log db key only because of deprecation


DISCOVERY

public static final Type DISCOVERY
Deprecated. No longer used in 4.0.


AUDIT_PRUNER_TASK

public static final Type AUDIT_PRUNER_TASK
Deprecated. This task no longer exists. NOTE : null log db key only because of deprecation


LOG

public static final Type LOG

SYSLOG

public static final Type SYSLOG

ATTRIBUTE_DEFN

public static final Type ATTRIBUTE_DEFN

SERVER

public static final Type SERVER
For internal use only (in ServerRegistry).


SECURE_COUNTER

public static final Type SECURE_COUNTER
For internal use only (used by SecureCounterManager)


TEST_ITEM

public static final Type TEST_ITEM

DATA_STORE

public static final Type DATA_STORE
Data store instances can be stored as persistent objects in the repository. We currently do this only for scale testing.


POLICY

public static final Type POLICY

RESOURCE

public static final Type RESOURCE

RESOURCE_ACTION

public static final Type RESOURCE_ACTION

ATTR_PARSE

public static final Type ATTR_PARSE

APPLICATION

public static final Type APPLICATION

ROLE

public static final Type ROLE

RULE

public static final Type RULE

ACCOUNT_CORRELATION_RULE

public static final Type.Subtype ACCOUNT_CORRELATION_RULE
A subtype of RULE that generates (as a result) the criteria to select instances of ACCOUNT that may match a USER (specified as input).


ACCOUNT_CONFIRMATION_RULE

public static final Type.Subtype ACCOUNT_CONFIRMATION_RULE
A subtype of RULE that returns true if the ACCOUNT (specified as input) actually matches the USER (specified as input) and otherwise returns false.


AUDIT_POLICY_RULE

public static final Type.Subtype AUDIT_POLICY_RULE
A subtype of RULE that is a boolean rules, and referenced in audit policy for compliance chacking.


AUDIT_POLICY_SOD_RULE

public static final Type.Subtype AUDIT_POLICY_SOD_RULE
A subtype of RULE that is a boolean or Map rule, and referenced in audit policy for separation of duty checks


EXTRACT

public static final Type EXTRACT

LOAD_CONFIG

public static final Type LOAD_CONFIG

USER

public static final Type USER

IDMX_USER

public static final Type IDMX_USER

WORK_ITEM

public static final Type WORK_ITEM

EMAIL_TEMPLATE

public static final Type EMAIL_TEMPLATE

TASK_INSTANCE

public static final Type TASK_INSTANCE

TASK_SCHEDULE

public static final Type TASK_SCHEDULE

TASK_TEMPLATE

public static final Type TASK_TEMPLATE

TASK_RESULT

public static final Type TASK_RESULT

TASK_RESULT_PAGE

public static final Type TASK_RESULT_PAGE

RESOURCE_ACCOUNT

public static final Type RESOURCE_ACCOUNT

ACCOUNT

public static final Type ACCOUNT

REMEDY_CONFIG

public static final Type REMEDY_CONFIG

REPORT_COUNTER

public static final Type REPORT_COUNTER
Deprecated. No longer used, replaced by repo.count. djs NOTE : null log db key only because of deprecation


EVENT

public static final Type EVENT

SYSTEM

public static final Type SYSTEM

RESOURCE_OBJECT

public static final Type RESOURCE_OBJECT

MISCELLANEOUS

public static final Type MISCELLANEOUS

PROVISIONING_TASK

public static final Type PROVISIONING_TASK

RISK_REPORT_TASK

public static final Type RISK_REPORT_TASK

SUMMARY_REPORT_TASK

public static final Type SUMMARY_REPORT_TASK
Deprecated. This sub type no longer used, reports are now session based. NOTE : null log db key only because of deprecation


USAGE_REPORT_TASK

public static final Type USAGE_REPORT_TASK
Deprecated. This sub type no longer used, reports are now session based. NOTE : null log db key only because of deprecation


EXTRACT_TASK

public static final Type EXTRACT_TASK

LOAD_TASK

public static final Type LOAD_TASK

TASK_DEFINITION

public static Type TASK_DEFINITION

REMEDIATION_WORKFLOW

public static final Type.Subtype REMEDIATION_WORKFLOW
A subtype of TaskDefinition which defines a workflow that is designed to be called when compliance violations are found during audit scans.


REPORT_TASK

public static final Type.Subtype REPORT_TASK
A subtype of TaskDefinition for Reports, referenced by the report tab.


USER_FORM

public static final Type USER_FORM

RESOURCE_FORM

public static final Type RESOURCE_FORM

CONFIGURATION

public static final Type CONFIGURATION

META_VIEW

public static final Type META_VIEW

XML_DATA

public static final Type XML_DATA

SNAPSHOT

public static final Type SNAPSHOT

TRACKED_EVENTS_FOR_INTERVAL

public static final Type TRACKED_EVENTS_FOR_INTERVAL

TRACKED_EVENTS_FOR_SERVER

public static final Type TRACKED_EVENTS_FOR_SERVER

AUDIT_POLICY

public static final Type AUDIT_POLICY

COMPLIANCE_VIOLATION

public static final Type COMPLIANCE_VIOLATION

USER_ENTITLEMENT

public static final Type USER_ENTITLEMENT

ACCESS_SCAN

public static final Type ACCESS_SCAN

DEFAULT_UNCACHED_TYPES

public static final Type[] DEFAULT_UNCACHED_TYPES

DEFAULT_NEGATIVE_CACHED_TYPES

public static final Type[] DEFAULT_NEGATIVE_CACHED_TYPES
List of types for which we cache the fact that they are not present. We might at some point change this to all types, but for now I'm being cautious and just listing those types that we probe for.

Constructor Detail

Type

protected Type()
Protected (bogus) constructor.

Method Detail

getDbTableName

public java.lang.String getDbTableName()

getName

public java.lang.String getName()

getDisplayName

public java.lang.String getDisplayName()

getOrdinal

public int getOrdinal()

getJavaClass

public java.lang.Class getJavaClass()

getRights

public Right[] getRights()

getContainsEncryptedData

public boolean getContainsEncryptedData()

getLogDbKey

public java.lang.String getLogDbKey()

getRelocatable

public boolean getRelocatable()

toString

public java.lang.String toString()

compareTo

public int compareTo(java.lang.Object y)
Specified by:
compareTo in interface java.lang.Comparable

getSubtypes

public Type[] getSubtypes()
Deprecated. As of 5.0SP4, call #getLegacyTypes.

Returns:
an array of types that have been broken out from this type (and for which IDM maintains some form of backward compatibility).

Instances of each legacy type are sometimes treated as if they were instances of this type. (For example, lists of Configuration objects sometimes include UserForm and ResourceForm objects).

See Also:
getLegacyTypes()

getLegacyTypes

public Type[] getLegacyTypes()
Returns:
an array of types that have been broken out from this type (and for which IDM maintains some form of backward compatibility).

Instances of each legacy type are sometimes treated as if they were instances of this type. (For example, lists of Configuration objects sometimes include UserForm and ResourceForm objects).


getInlineAttributeNames

public java.lang.String[] getInlineAttributeNames()

setInlineAttributes

public void setInlineAttributes(java.lang.Object[] inlineAttrs)
PWD: to set the user search attributes dynamically, this has to be public...


setInlineAttributes

public void setInlineAttributes(java.util.List inlineAttrs)
PWD: to set the user search attributes dynamically, this has to be public...


isInlineAttribute

public boolean isInlineAttribute(java.lang.Object attr)

getInlineAttributeColumnName

public java.lang.String getInlineAttributeColumnName(java.lang.Object attr)

getInlineAttributeColumnName

public java.lang.String getInlineAttributeColumnName(int index)

getGroupMembers

public static final Type[] getGroupMembers(java.lang.String groupName)

isGroupMember

public static final boolean isGroupMember(java.lang.String typeName,
                                          java.lang.String groupName)

isGroupMember

public final boolean isGroupMember(java.lang.String groupName)

getDefaultUncachedTypes

public static Type[] getDefaultUncachedTypes()
JBuilder has problems building ObjectCache when it references Type constants, or DEFAULT_UNCACHED_TYPES in its own static initializers, try this instead.


findType

public static Type findType(java.lang.String typeName)
Find type by name.


getType

public static Type getType(java.lang.Object o)
                    throws WavesetException
Find type by name throwing an exception if not found. Used in various methods that accept a type specifier as either a String or Type.

Throws:
WavesetException

findTypeByDisplayName

public static Type findTypeByDisplayName(java.lang.String displayName)
Find type by name.


findTypeByLogDbKey

public static Type findTypeByLogDbKey(java.lang.String logDbKey)
Find type by using the DBKey stored in the repository.


getTypes

public static final Type[] getTypes()
Lists all defined types.


getTypesWithEncryptedData

public static final Type[] getTypesWithEncryptedData()
Get the list of types that have persistent Encrypted Data


getTypesWithRights

public static final Type[] getTypesWithRights()
Get the list of types that have rights (i.e. non-null), have a java class defined and are not deprecated


isTypeWithRights

public static boolean isTypeWithRights(Type type)
Return true if the type arg has rights and is not an internal, deprecated, or type with no object class. Otherwise, return false.


main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

typeConstructed

public static void typeConstructed(java.lang.String typeName)

typeFinalized

public static void typeFinalized(java.lang.String typeName)

typeConstructed

public void typeConstructed()

typeFinalized

public void typeFinalized()

getTypeStats

public static void getTypeStats(java.lang.StringBuffer sb)

clearTypeStats

public static void clearTypeStats()

findSubtype

public Type.Subtype findSubtype(java.lang.String value)
Find subtype by attribute value.

Since this value is unique within type (and is not localized), this value also works as an internal identifier.


getSubtype

public Type.Subtype getSubtype(java.lang.Object o)
                        throws WavesetException
Find subtype by attribute value throwing an exception if not found.

Used in various methods that take a subtype argument and accept either a String or a Subtype.

Throws:
WavesetException

findSubtypeByDisplayName

public Type.Subtype findSubtypeByDisplayName(java.lang.String displayName)

listSubtypes

public final java.util.List listSubtypes()
Returns:
a list containing every defined subtype. Each item in the list is an instance of Subtype.

listSubtypeDisplayNames

public final java.util.List listSubtypeDisplayNames()
Returns:
a list containing the display name (i.e., message key) of every defined subtype. Each item in the list is a message key.

listSubtypeValues

public final java.util.List listSubtypeValues()
Returns:
a list containing the value of every subtype defined for this type.

Each item in the list is an upper-case String that represents a value of Attribute.SUBTYPE that is valid for objects of this Type.