com.ibm.itim.dataservices.model

Class ObjectProfileCategory

  • java.lang.Object
    • com.ibm.itim.dataservices.model.ObjectProfileCategory
    • Field Detail

      • ALL_PERSONS

        public static final java.lang.String ALL_PERSONS
        Parent category for both BPPerson and Person categories (abstract)
        See Also:
        Constant Field Values
    • Constructor Detail

      • ObjectProfileCategory

        public ObjectProfileCategory()
        No argument constructor needed for serializable.
    • Method Detail

      • getCategories

        public static java.lang.String[] getCategories()
        Returns all pre-defined categories in a String array.
        Returns:
        String[] of all pre-defined categories.
      • setDistinguishedName

        public void setDistinguishedName(DistinguishedName dn)
        deprecated client cannot the the distinguished name
      • getName

        public java.lang.String getName()
        Description copied from interface: ManagableProfile
        Returns the name of the object
        Specified by:
        getName in interface ManagableProfile
        Returns:
        String name of the object
      • setName

        public void setName(java.lang.String name)
      • getOperations

        public java.util.Collection getOperations()
        Returns the supported operations for the entity
        Specified by:
        getOperations in interface ManagableProfile
        Returns:
        Collection of operations.
      • getOperationNames

        public java.util.Collection getOperationNames()
        Returns the supported operations for the entity
        Specified by:
        getOperationNames in interface ManagableProfile
        Returns:
        Collection of operation names (Strings).
      • getOperation

        public ObjectProfileOperation getOperation(java.lang.String name)
        Returns a specific operation by name
        Specified by:
        getOperation in interface ManagableProfile
        Parameters:
        name - The name of the operation
        Returns:
        ObjectProfileOperation
      • setOperations

        public void setOperations(java.util.Collection operations)
                           throws java.lang.ClassCastException
        Sets the supported operations for the entity
        Specified by:
        setOperations in interface ManagableProfile
        Parameters:
        operations - Collection of supported ObjectProfileOperation
        Throws:
        java.lang.ClassCastException
      • addOperation

        public void addOperation(ObjectProfileOperation oper)
        Adds a new operation to the list of supported operations for the entity
        Specified by:
        addOperation in interface ManagableProfile
        Parameters:
        oper - operation Operation name to add.
      • getRules

        public java.util.Collection getRules()
        Returns the supported lifecycle rules for the entity type.
        Specified by:
        getRules in interface ManagableProfile
        Returns:
        Collection of LifecycleRule
      • setRules

        public void setRules(java.util.Collection rules)
                      throws java.lang.ClassCastException
        Sets the supported rules for the entity type. A new identification number is generated for all lifecycle rules.
        Specified by:
        setRules in interface ManagableProfile
        Parameters:
        rules - Collection of supported LifecycleRule
        Throws:
        java.lang.ClassCastException
      • setRule

        public void setRule(LifecycleRule rule)
        Sets the supported rule for the profile.
        Specified by:
        setRule in interface ManagableProfile
        Parameters:
        rule - A modified lifecycle rule.
      • getRule

        public LifecycleRule getRule(long ruleID)
        Returns the supported lifecycle rules for the entity type for a given id.
        Specified by:
        getRule in interface ManagableProfile
        Parameters:
        ruleID - the identification number of the lifecycle rule. The identification number is obtained from getRules().
        Returns:
        LifecycleRule lifecycle rule for a given ruleID.
      • addRule

        public void addRule(LifecycleRule rule)
        Adds a new lifecycle rule to the list of supported lifecycle rules for the entity type.
        Specified by:
        addRule in interface ManagableProfile
        Parameters:
        rule - A new lifecycle rule.