Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter
11g Release 1 (11.1.1.4.0)
E15995-03


oracle.wcps.property
Class ResourceFactory

java.lang.Object
  extended by oracle.wcps.property.ResourceFactory


public class ResourceFactory
extends java.lang.Object

A factory class to create and delete a namespace scoped property service entities.


Nested Class Summary
static class ResourceFactory.Builder
          The builder for creating an instance of a ResourceFactory.

 

Method Summary
static ResourceFactory.Builder builder()
          Returns an instance of builder to create this.
 void destroy()
          Removes all the property service entities scoped to the namespace associated with this.
static void destroy(IContext context, INamespaceName namespaceName)
          Removes all the property service entities scoped to the given namespaceName.
 IContext getContext()
          Returns the associated context.
 INamespace getNamespace()
          Returns the associated namespace.
 java.util.List<IPropertyDefinition> getPropertyDefinitions()
          Returns the list of propertydefinitions created by this.
 java.util.List<IPropertySetDefinition> getPropertySetDefinitions()
          Returns the list of propertysetdefinitions created by this.
 java.util.List<IPropertySet> getPropertySets()
          Returns the list of propertysets created by this.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

getContext

public IContext getContext()
Returns the associated context.
Returns:
the associated context.

getNamespace

public INamespace getNamespace()
Returns the associated namespace.
Returns:
the associated namespace.

getPropertyDefinitions

public java.util.List<IPropertyDefinition> getPropertyDefinitions()
Returns the list of propertydefinitions created by this.
Returns:
the list of propertydefinitions.

getPropertySetDefinitions

public java.util.List<IPropertySetDefinition> getPropertySetDefinitions()
Returns the list of propertysetdefinitions created by this.
Returns:
the list of propertysetdefinitions.

getPropertySets

public java.util.List<IPropertySet> getPropertySets()
Returns the list of propertysets created by this.
Returns:
the list of propertysets.

destroy

public void destroy()
Removes all the property service entities scoped to the namespace associated with this.

destroy

public static void destroy(IContext context,
                           INamespaceName namespaceName)
Removes all the property service entities scoped to the given namespaceName.
Parameters:
context - a property service context with properties to access property service remotely.
namespaceName - a namespace name.

builder

public static ResourceFactory.Builder builder()
Returns an instance of builder to create this.
Returns:
a builder to build this.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter
11g Release 1 (11.1.1.4.0)
E15995-03


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