Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.5)

E22562-01

oracle.apps.fnd.applcore.oaext.as.internal
Class ActivityStreamUtils

java.lang.Object
  extended by oracle.apps.fnd.applcore.oaext.as.internal.ActivityStreamUtils

public class ActivityStreamUtils
extends java.lang.Object

A utilities class containing common constants and methods used by the UI, as well as publishing code for activity streaming within applcore. This class is applcore internal, it can and will change without notice.

Author:
david.groves@oracle.com

Field Summary
static java.lang.String ALL_DATA_SECURITY_OBJECT_ID
           
static java.lang.String ALL_DATA_SECURITY_OBJECT_NAME
           
static java.lang.String ALL_DATA_SECURITY_SERVICE_ID
           
static java.lang.String ALL_DFF_FLEX_FIELDS_OBJECT_ID
           
static java.lang.String ALL_DFF_FLEX_FIELDS_OBJECT_NAME
           
static java.lang.String ALL_DFF_FLEX_FIELDS_SERVICE_ID
           
static java.lang.String ALL_FLEX_FIELDS_OBJECT_ID
           
static java.lang.String ALL_FLEX_FIELDS_OBJECT_NAME
           
static java.lang.String ALL_FLEX_FIELDS_SERVICE_ID
           
static java.lang.String ALL_KFF_FLEX_FIELDS_OBJECT_ID
           
static java.lang.String ALL_KFF_FLEX_FIELDS_OBJECT_NAME
           
static java.lang.String ALL_KFF_FLEX_FIELDS_SERVICE_ID
           
static java.lang.String ALL_PAGE_CUSTOMIZATIONS_OBJECT_ID
           
static java.lang.String ALL_PAGE_CUSTOMIZATIONS_OBJECT_NAME
           
static java.lang.String ALL_PAGE_CUSTOMIZATIONS_SERVICE_ID
           
static java.lang.String ALL_PROFILES_OBJECT_ID
           
static java.lang.String ALL_PROFILES_OBJECT_NAME
           
static java.lang.String ALL_PROFILES_SERVICE_ID
           
static java.lang.String ALL_SANDBOXES_PUBLISHING_OBJECT_ID
           
static java.lang.String ALL_SANDBOXES_PUBLISHING_OBJECT_NAME
           
static java.lang.String ALL_SANDBOXES_PUBLISHING_SERVICE_ID
           
static java.lang.String ALL_TREES_OBJECT_ID
           
static java.lang.String ALL_TREES_OBJECT_NAME
           
static java.lang.String ALL_TREES_SERVICE_ID
           
static java.lang.String SANDBOX_OBJECT_ID
           
static java.lang.String SANDBOX_OBJECT_NAME
           
static java.lang.String SANDBOX_SERVICE_ID
           
 
Method Summary
static boolean determineAllDataSecurityFollowStatus()
          Determine the follow status of the "All Data Security" activity.
static boolean determineAllFlexFieldsFollowStatus()
          Determine the follow status of the "All Flex Fields" activity.
static boolean determineAllPageCustomizationsFollowStatus()
          Determine the follow status of the "All Page Customizations" activity.
static boolean determineAllProfilesFollowStatus()
          Determine the follow status of the "All Profiles" activity.
static boolean determineAllSandboxesPublishingFollowStatus()
          Determine the follow status of the "All Sandboxes Publishing" activity.
static boolean determineAllTreesFollowStatus()
          Determine the follow status of the "All Trees" activity.
static boolean determineSandboxFollowStatus(java.lang.String sandboxName)
          Determine the follow status of a specific sandbox activity.
static boolean flipDataSecurityFollowStatus()
          Reverse the follow status of data security, that is if we are following it, stop following; if not following, then start to follow.
static boolean flipFlexFieldsFollowStatus()
          Reverse the follow status of flex, that is if we are following it, stop following; if not following, then start to follow.
static boolean flipSandboxFollowStatus(java.lang.String sandboxName)
          Reverse the follo status of the sandbox, that is if we are following it, stop following; if not following, then start to follow.
static boolean followAllDataSecurity()
          Follow the "All Data Security" activity.
static boolean followAllFlexFields()
          Follow the "All Flex Fields" activity.
static boolean followAllPageCustomizations()
          Follow the "All Page Customizations" activity.
static boolean followAllProfiles()
          Follow the "All Profiles" activity.
static boolean followAllSandboxesPublishing()
          Follow the "All Sandboxes Publishing" activity.
static boolean followAllTrees()
          Follow the "All Trees" activity.
static boolean IsActivityPublishEnabled(java.lang.String serviceId)
          Method checks whehther service categoryId has 'business' object or not.
static boolean isActivityStreamSettingsOn(ApplSession session, java.lang.String serviceId)
          BUG: 10155784 A new option will exposed at service level to allow Admins to control publishing of Activities.
static boolean isWebCenterActivityServiceClassLoaded()
          BUG: 10155784 This utility method determines whether activity stream webcenter classes are loaded or not.
static boolean unFollowAllDataSecurity()
          Unfollow the "All Data Security" activity.
static boolean unFollowAllFlexFields()
          Unfollow the "All Flex Fields" activity.
static boolean unFollowAllPageCustomizations()
          Unfollow the "All Page Customizations" activity.
static boolean unFollowAllProfiles()
          Unfollow the "All Profiles" activity.
static boolean unFollowAllSandboxesPublishing()
          Unfollow the "All Sandboxes Publishing" activity.
static boolean unFollowAllTrees()
          Unfollow the "All Trees" activity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALL_PAGE_CUSTOMIZATIONS_SERVICE_ID

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

ALL_PAGE_CUSTOMIZATIONS_OBJECT_NAME

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

ALL_PAGE_CUSTOMIZATIONS_OBJECT_ID

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

ALL_DATA_SECURITY_SERVICE_ID

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

ALL_DATA_SECURITY_OBJECT_NAME

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

ALL_DATA_SECURITY_OBJECT_ID

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

ALL_SANDBOXES_PUBLISHING_SERVICE_ID

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

ALL_SANDBOXES_PUBLISHING_OBJECT_NAME

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

ALL_SANDBOXES_PUBLISHING_OBJECT_ID

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

ALL_FLEX_FIELDS_SERVICE_ID

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

ALL_FLEX_FIELDS_OBJECT_NAME

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

ALL_FLEX_FIELDS_OBJECT_ID

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

ALL_KFF_FLEX_FIELDS_SERVICE_ID

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

ALL_KFF_FLEX_FIELDS_OBJECT_NAME

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

ALL_KFF_FLEX_FIELDS_OBJECT_ID

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

ALL_DFF_FLEX_FIELDS_SERVICE_ID

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

ALL_DFF_FLEX_FIELDS_OBJECT_NAME

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

ALL_DFF_FLEX_FIELDS_OBJECT_ID

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

ALL_TREES_SERVICE_ID

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

ALL_TREES_OBJECT_NAME

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

ALL_TREES_OBJECT_ID

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

ALL_PROFILES_SERVICE_ID

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

ALL_PROFILES_OBJECT_NAME

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

ALL_PROFILES_OBJECT_ID

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

SANDBOX_SERVICE_ID

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

SANDBOX_OBJECT_NAME

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

SANDBOX_OBJECT_ID

public static final java.lang.String SANDBOX_OBJECT_ID
See Also:
Constant Field Values
Method Detail

determineAllPageCustomizationsFollowStatus

public static boolean determineAllPageCustomizationsFollowStatus()
Determine the follow status of the "All Page Customizations" activity.

Returns:
true if followed, false if not (or cannot be determined).

followAllPageCustomizations

public static boolean followAllPageCustomizations()
Follow the "All Page Customizations" activity.

Returns:
true if follow succeeded, false if not (or cannot be determined).

unFollowAllPageCustomizations

public static boolean unFollowAllPageCustomizations()
Unfollow the "All Page Customizations" activity.

Returns:
true if unfollow succeeded, false if not (or cannot be determined).

determineAllDataSecurityFollowStatus

public static boolean determineAllDataSecurityFollowStatus()
Determine the follow status of the "All Data Security" activity.

Returns:
true if followed, false if not (or cannot be determined).

followAllDataSecurity

public static boolean followAllDataSecurity()
Follow the "All Data Security" activity.

Returns:
true if follow succeeded, false if not (or cannot be determined).

unFollowAllDataSecurity

public static boolean unFollowAllDataSecurity()
Unfollow the "All Data Security" activity.

Returns:
true if unfollow succeeded, false if not (or cannot be determined).

flipDataSecurityFollowStatus

public static boolean flipDataSecurityFollowStatus()
Reverse the follow status of data security, that is if we are following it, stop following; if not following, then start to follow.

Returns:
true if operation succeeded, false if not (or cannot be determined).

determineAllSandboxesPublishingFollowStatus

public static boolean determineAllSandboxesPublishingFollowStatus()
Determine the follow status of the "All Sandboxes Publishing" activity.

Returns:
true if followed, false if not (or cannot be determined).

followAllSandboxesPublishing

public static boolean followAllSandboxesPublishing()
Follow the "All Sandboxes Publishing" activity.

Returns:
true if follow succeeded, false if not (or cannot be determined).

unFollowAllSandboxesPublishing

public static boolean unFollowAllSandboxesPublishing()
Unfollow the "All Sandboxes Publishing" activity.

Returns:
true if unfollow succeeded, false if not (or cannot be determined).

determineAllFlexFieldsFollowStatus

public static boolean determineAllFlexFieldsFollowStatus()
Determine the follow status of the "All Flex Fields" activity.

Returns:
true if followed, false if not (or cannot be determined).

followAllFlexFields

public static boolean followAllFlexFields()
Follow the "All Flex Fields" activity.

Returns:
true if follow succeeded, false if not (or cannot be determined).

unFollowAllFlexFields

public static boolean unFollowAllFlexFields()
Unfollow the "All Flex Fields" activity.

Returns:
true if unfollow succeeded, false if not (or cannot be determined).

flipFlexFieldsFollowStatus

public static boolean flipFlexFieldsFollowStatus()
Reverse the follow status of flex, that is if we are following it, stop following; if not following, then start to follow.

Returns:
true if operation succeeded, false if not (or cannot be determined).

determineAllTreesFollowStatus

public static boolean determineAllTreesFollowStatus()
Determine the follow status of the "All Trees" activity.

Returns:
true if followed, false if not (or cannot be determined).

followAllTrees

public static boolean followAllTrees()
Follow the "All Trees" activity.

Returns:
true if follow succeeded, false if not (or cannot be determined).

unFollowAllTrees

public static boolean unFollowAllTrees()
Unfollow the "All Trees" activity.

Returns:
true if unfollow succeeded, false if not (or cannot be determined).

determineAllProfilesFollowStatus

public static boolean determineAllProfilesFollowStatus()
Determine the follow status of the "All Profiles" activity.

Returns:
true if followed, false if not (or cannot be determined).

followAllProfiles

public static boolean followAllProfiles()
Follow the "All Profiles" activity.

Returns:
true if follow succeeded, false if not (or cannot be determined).

unFollowAllProfiles

public static boolean unFollowAllProfiles()
Unfollow the "All Profiles" activity.

Returns:
true if unfollow succeeded, false if not (or cannot be determined).

determineSandboxFollowStatus

public static boolean determineSandboxFollowStatus(java.lang.String sandboxName)
Determine the follow status of a specific sandbox activity.

Returns:
true if followed, false if not (or cannot be determined).

flipSandboxFollowStatus

public static boolean flipSandboxFollowStatus(java.lang.String sandboxName)
Reverse the follo status of the sandbox, that is if we are following it, stop following; if not following, then start to follow.

Returns:
true if operation succeeded, false if not (or cannot be determined).

isActivityStreamSettingsOn

public static boolean isActivityStreamSettingsOn(ApplSession session,
                                                 java.lang.String serviceId)
BUG: 10155784 A new option will exposed at service level to allow Admins to control publishing of Activities. This option will be available only at the Admin level and no override functionality will be provided. This new option will be exposed and honored in ApplCore layer for Business Object related services. WC Preferences Fwk API should be used to read the preferences value for a service. This value should be cached in Applsession.

Parameters:
session -
Returns:

isWebCenterActivityServiceClassLoaded

public static boolean isWebCenterActivityServiceClassLoaded()
BUG: 10155784 This utility method determines whether activity stream webcenter classes are loaded or not.

Returns:

IsActivityPublishEnabled

public static boolean IsActivityPublishEnabled(java.lang.String serviceId)
Method checks whehther service categoryId has 'business' object or not. If it doesn't contain 'business' keyword then it fetch service category Id from service Id and again checks 'business' keyword.If it finds it, returns false otherwise true

Parameters:
serviceId -
Returns:

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.5)

E22562-01

Copyright © 2011 Oracle. All Rights Reserved.