Skip navigation links

Oracle Fusion Middleware
Workflow Services Java API Reference for Oracle SOA Suite
11g Release 1 (11.1.1.5.0)
E10660-05


oracle.bpel.services.workflow.user
Enum IUserMetadataService.UserTaskViewGrantType

java.lang.Object
  extended by java.lang.Enum<IUserMetadataService.UserTaskViewGrantType>
      extended by oracle.bpel.services.workflow.user.IUserMetadataService.UserTaskViewGrantType

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IUserMetadataService.UserTaskViewGrantType>
Enclosing interface:
IUserMetadataService

public static enum IUserMetadataService.UserTaskViewGrantType
extends java.lang.Enum<IUserMetadataService.UserTaskViewGrantType>

Enumeration specifying the different grant types that can be used when granting another user access to a UserTaskView. Ideally, we'd use this enum in the objects passed to API methods - however, JAXB 1.0 does not support enums, so values are represented in JAXB objects as simple Strings. This enumeration can be used to set values on JAXB objects by using the valueOf method to get the String value corresponding to a particular enumeration value.


Enum Constant Summary
SHARE_DATA
          Grant access to the data selected by the view - the grantee will see the same data as the grantor
SHARE_DEFINITION
          Grant access to the view definition only - the grantee will see their own data, filtered according to the view definition

 

Method Summary
static IUserMetadataService.UserTaskViewGrantType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IUserMetadataService.UserTaskViewGrantType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.

 

Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Enum Constant Detail

SHARE_DATA

public static final IUserMetadataService.UserTaskViewGrantType SHARE_DATA
Grant access to the data selected by the view - the grantee will see the same data as the grantor

SHARE_DEFINITION

public static final IUserMetadataService.UserTaskViewGrantType SHARE_DEFINITION
Grant access to the view definition only - the grantee will see their own data, filtered according to the view definition

Method Detail

values

public static IUserMetadataService.UserTaskViewGrantType[] 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 (IUserMetadataService.UserTaskViewGrantType c : IUserMetadataService.UserTaskViewGrantType.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static IUserMetadataService.UserTaskViewGrantType 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 name
java.lang.NullPointerException - if the argument is null

Skip navigation links

Oracle Fusion Middleware
Workflow Services Java API Reference for Oracle SOA Suite
11g Release 1 (11.1.1.5.0)
E10660-05


Copyright © 2009, 2011, Oracle and/or its affiliates. All rights reserved.