Oracle® Content Services Web Services Java API Reference
10g Release 1 (10.1.1)

B19047-01


oracle.ifs.fdk
Interface ContainerManager


public interface ContainerManager

FDK interface for managing Containers.


Method Summary
 Item createContainer(long target, NamedValue[] def, AttributeRequest[] attributes)
          Creates a new container.
 void deleteContainer(long id, NamedValue[] def)
          Deletes a container.
 Item updateContainer(long id, NamedValue[] def, AttributeRequest[] attributes)
          Updates an existing container.

 

Method Detail

createContainer

public Item createContainer(long target,
                            NamedValue[] def,
                            AttributeRequest[] attributes)
                     throws FdkException
Creates a new container. Passing true for Options.CREATE_WORKSPACE_REQUEST_ALLOWED configures workflow, allowing the create workspace operation to be request enabled.
Parameters:
target - the parent of the new container.
def - attributes on the container.
  • notation: {Attribute name, Attribute type}
  • {Attributes.NAME, String}
  • {Attributes.DESCRIPTION, String}
  • {Attributes.CREATE_WORKSPACE_REQUEST_ALLOWED, Boolean}
  • {Attributes.SECURITY_CONFIGURATION, NamedValue[]}, where the attributes are:
  • {Attributes.ORDER_DEPENDENT, Boolean}
  • {Attributes.GRANTS, NamedValueSet[]}, where each row corresponds to a grant whose attributes are:
  • {Attributes.GRANTEE, Long}
  • {Attributes.ROLES, long[]}
  • {Attributes.PROPAGATING, Boolean}
attributes - the requested attributes for the item
Returns:
an Item representing the created container.
Throws:
FdkException - if the operation fails.

deleteContainer

public void deleteContainer(long id,
                            NamedValue[] def)
                     throws FdkException
Deletes a container.
Parameters:
id - The ID of the container.
def - attributes for deletion.
Throws:
FdkException - if the operation fails.

updateContainer

public Item updateContainer(long id,
                            NamedValue[] def,
                            AttributeRequest[] attributes)
                     throws FdkException
Updates an existing container. Passing true for Options.CREATE_WORKSPACE_REQUEST_ALLOWED configures workflow, allowing the create workspace operation to be request enabled.
Parameters:
id - The ID of the container.
def - attributes on the container.
  • notation: {Attribute name, Attribute type}
  • {Attributes.NAME, String}
  • {Attributes.DESCRIPTION, String}
  • {Attributes.CREATE_WORKSPACE_REQUEST_ALLOWED, Boolean}
Returns:
an Item representing the updated container.
Throws:
FdkException - if the operation fails.

Oracle® Content Services Web Services Java API Reference
10g Release 1 (10.1.1)

B19047-01


Copyright © 2002, 2005, Oracle. All rights reserved.