com.adobe.repository.infomodel.bean
Class RepositoryInfomodelFactoryBean

java.lang.Object
  extended by RepositoryInfomodelFactory
      extended by com.adobe.repository.infomodel.bean.RepositoryInfomodelFactoryBean

public class RepositoryInfomodelFactoryBean
extends RepositoryInfomodelFactory

A RepositoryInfomodelFactoryBean must be used to create resource instances.


Constructor Summary
RepositoryInfomodelFactoryBean(java.util.Map properties)
          A constructor that creates an instance of the RepositoryInfomodelFactoryBean.
 
Method Summary
 Flash newFlash()
          Creates a new Flash resource.
 Flash newFlash(Id id, Lid lid, java.lang.String name)
          Creates a new Flash resource using the specified UUID identifiers and resource name.
 FormFragment newFormFragment()
          Creates a new FormFragment resource.
 FormFragment newFormFragment(Id id, Lid lid, java.lang.String name)
          Creates a new FormFragment resource using the specified UUID identifiers and resource name.
 FormTemplate newFormTemplate()
          Creates a new FormTemplate resource.
 FormTemplate newFormTemplate(Id id, Lid lid, java.lang.String name)
          Creates a new FormTemplate resource using the specified UUID identifiers and resource name.
 Fragment newFragment()
          Creates a new Fragment resource.
 Fragment newFragment(Id id, Lid lid, java.lang.String name)
          Creates a new Fragment resource using the specified UUID identifiers and resource name.
 GenericDocument newGenericDocument()
          Creates a new GenericDocument resource.
 GenericDocument newGenericDocument(Id id, Lid lid, java.lang.String name)
          Creates a new GenericDocument resource using the specified UUID identifiers and resource name.
 Image newImage()
          Creates a new Image resource.
 Image newImage(Id id, Lid lid, java.lang.String name)
          Creates a new Image resource using the specified UUID identifiers and resource name.
 Library newLibrary()
          Do not use.
 Library newLibrary(Id id, Lid lid, java.lang.String name)
          Do not use.
 Lock newLock()
          Creates a new Lock resource.
 Lock newLock(Id resourceId, java.lang.String ownerId, short type, short depth, java.lang.String lockToken)
          Creates a new Lock resource using the specified UUID identifier, owner identifier, type, depth, and lock token.
 Pdf newPdf()
          Creates a new Pdf resource.
 Pdf newPdf(Id id, Lid lid, java.lang.String name)
          Creates a new Pdf resource using the specified UUID identifiers and resource name.
 PendingRelation newPendingRelation()
          Do not use.
 PendingRelation newPendingRelation(Id sourceObjectId)
          Do not use.
 Relation newRelation()
          Creates a new Relation.
 Relation newRelation(Id sourceObjectId, Id targetObjectId, int type)
          Creates a new Relation resource using the specified source and target identifiers and type.
 Resource newResource()
          Creates a new Resource.
 Resource newResource(Id id, Lid lid, java.lang.String name)
          Creates a new Resource using the specified UUID identifiers and resource name.
 ResourceCollection newResourceCollection()
          Creates a new ResourceCollection.
 ResourceCollection newResourceCollection(Id id, Lid lid, java.lang.String name)
          Creates a new ResourceCollection using the specified UUID identifiers and resource name.
 ResourceContent newResourceContent()
          Creates a new ResourceContent instance.
 ResourceProperty newResourceProperty()
          Creates a new ResourceProperty instance.
 ResourceProperty newResourceProperty(java.lang.String name, java.lang.String namespace)
          Creates a new ResourceProperty instance using the specified name and namespace.
 Script newScript()
          Creates a new Script resource.
 Script newScript(Id id, Lid lid, java.lang.String name)
          Creates a new Script using the specified UUID identifiers and resource name.
 TextFragment newTextFragment()
          Creates a new TextFragment resource.
 TextFragment newTextFragment(Id id, Lid lid, java.lang.String name)
          Creates a new TextFragment using the specified UUID identifiers and resource name.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryInfomodelFactoryBean

public RepositoryInfomodelFactoryBean(java.util.Map properties)
A constructor that creates an instance of the RepositoryInfomodelFactoryBean.

Parameters:
properties - A HashMap that should be assigned a null value for now. It will be removed from the constructor at a later date.
Method Detail

newPdf

public Pdf newPdf(Id id,
                  Lid lid,
                  java.lang.String name)
Creates a new Pdf resource using the specified UUID identifiers and resource name.

Parameters:
id - The Id UUID identifier to be assigned to the resource.
lid - The Lid UUID identifier to be assigned to the resource.
name - The resource name to be assigned to the resource.
Returns:
The new Pdf resource.

newPdf

public Pdf newPdf()
Creates a new Pdf resource.

Returns:
The new Pdf resource.

newFormFragment

public FormFragment newFormFragment(Id id,
                                    Lid lid,
                                    java.lang.String name)
Creates a new FormFragment resource using the specified UUID identifiers and resource name.

Parameters:
id - The Id UUID identifier to be assigned to the resource.
lid - The Lid UUID identifier to be assigned to the resource.
name - The resource name to be assigned to the resource.
Returns:
The new FormFragment resource.

newFormFragment

public FormFragment newFormFragment()
Creates a new FormFragment resource.

Returns:
The new FormFragment resource.

newFormTemplate

public FormTemplate newFormTemplate(Id id,
                                    Lid lid,
                                    java.lang.String name)
Creates a new FormTemplate resource using the specified UUID identifiers and resource name.

Parameters:
id - The Id UUID identifier to be assigned to the resource.
lid - The Lid UUID identifier to be assigned to the resource.
name - The resource name to be assigned to the resource.
Returns:
The new FormTemplate resource.

newFormTemplate

public FormTemplate newFormTemplate()
Creates a new FormTemplate resource.

Returns:
The new FormTemplate resource.

newResourceContent

public ResourceContent newResourceContent()
Creates a new ResourceContent instance.

Returns:
The new ResourceContent instance.

newTextFragment

public TextFragment newTextFragment(Id id,
                                    Lid lid,
                                    java.lang.String name)
Creates a new TextFragment using the specified UUID identifiers and resource name.

Parameters:
id - The Id UUID identifier to be assigned to the resource.
lid - The Lid UUID identifier to be assigned to the resource.
name - The resource name to be assigned to the resource.
Returns:
The new TextFragment resource.

newTextFragment

public TextFragment newTextFragment()
Creates a new TextFragment resource.

Returns:
The new TextFragment resource.

newRelation

public Relation newRelation(Id sourceObjectId,
                            Id targetObjectId,
                            int type)
Creates a new Relation resource using the specified source and target identifiers and type.

Parameters:
sourceObjectId - The source identifier to be assigned to the Relation.
targetObjectId - The target identifier to be assigned to the Relation.
type - The type to be assigned to the Relation.
Returns:
The new Relation.

newRelation

public Relation newRelation()
Creates a new Relation.

Returns:
The new Relation.

newLibrary

public Library newLibrary(Id id,
                          Lid lid,
                          java.lang.String name)
Do not use.

Parameters:
id - Do not use.
lid - Do not use.
name - Do not use.
Returns:
Do not use.

newLibrary

public Library newLibrary()
Do not use.

Returns:
Do not use.

newResourceCollection

public ResourceCollection newResourceCollection(Id id,
                                                Lid lid,
                                                java.lang.String name)
Creates a new ResourceCollection using the specified UUID identifiers and resource name.

Parameters:
id - The Id UUID identifier to be assigned to the resource.
lid - The Lid UUID identifier to be assigned to the resource.
name - The resource name to be assigned to the resource.
Returns:
The new ResourceCollection.

newResourceCollection

public ResourceCollection newResourceCollection()
Creates a new ResourceCollection.

Returns:
The new ResourceCollection.

newImage

public Image newImage(Id id,
                      Lid lid,
                      java.lang.String name)
Creates a new Image resource using the specified UUID identifiers and resource name.

Parameters:
id - The Id UUID identifier to be assigned to the resource.
lid - The Lid UUID identifier to be assigned to the resource.
name - The resource name to be assigned to the resource.
Returns:
The new Image resource.

newImage

public Image newImage()
Creates a new Image resource.

Returns:
The new Image resource.

newGenericDocument

public GenericDocument newGenericDocument(Id id,
                                          Lid lid,
                                          java.lang.String name)
Creates a new GenericDocument resource using the specified UUID identifiers and resource name.

Parameters:
id - The Id UUID identifier to be assigned to the resource.
lid - The Lid UUID identifier to be assigned to the resource.
name - The resource name to be assigned to the resource.
Returns:
The new GenericDocument resource.

newGenericDocument

public GenericDocument newGenericDocument()
Creates a new GenericDocument resource.

Returns:
The new GenericDocument resource.

newFragment

public Fragment newFragment(Id id,
                            Lid lid,
                            java.lang.String name)
Creates a new Fragment resource using the specified UUID identifiers and resource name.

Parameters:
id - The Id UUID identifier to be assigned to the resource.
lid - The Lid UUID identifier to be assigned to the resource.
name - The resource name to be assigned to the resource.
Returns:
The new Fragment resource.

newFragment

public Fragment newFragment()
Creates a new Fragment resource.

Returns:
The new Fragment resource.

newResource

public Resource newResource(Id id,
                            Lid lid,
                            java.lang.String name)
Creates a new Resource using the specified UUID identifiers and resource name.

Parameters:
id - The Id UUID identifier to be assigned to the resource.
lid - The Lid UUID identifier to be assigned to the resource.
name - The resource name to be assigned to the resource.
Returns:
The new Resource.

newResource

public Resource newResource()
Creates a new Resource.

Returns:
The new Resource.

newScript

public Script newScript(Id id,
                        Lid lid,
                        java.lang.String name)
Creates a new Script using the specified UUID identifiers and resource name.

Parameters:
id - The Id UUID identifier to be assigned to the resource.
lid - The Lid UUID identifier to be assigned to the resource.
name - The resource name to be assigned to the resource.
Returns:
The new Script resource.

newScript

public Script newScript()
Creates a new Script resource.

Returns:
The new Script resource.

newFlash

public Flash newFlash(Id id,
                      Lid lid,
                      java.lang.String name)
Creates a new Flash resource using the specified UUID identifiers and resource name.

Parameters:
id - The Id UUID identifier to be assigned to the resource.
lid - The Lid UUID identifier to be assigned to the resource.
name - The resource name to be assigned to the resource.
Returns:
The new Flash resource.

newFlash

public Flash newFlash()
Creates a new Flash resource.

Returns:
The new Flash resource.

newPendingRelation

public PendingRelation newPendingRelation(Id sourceObjectId)
Do not use.

Parameters:
sourceObjectId - Do not use.
Returns:
Do not use.

newPendingRelation

public PendingRelation newPendingRelation()
Do not use.

Returns:
Do not use.

newResourceProperty

public ResourceProperty newResourceProperty(java.lang.String name,
                                            java.lang.String namespace)
Creates a new ResourceProperty instance using the specified name and namespace.

Parameters:
name - The resource property name.
namespace - The resource property namespace.
Returns:
The new ResourceProperty instance.

newResourceProperty

public ResourceProperty newResourceProperty()
Creates a new ResourceProperty instance.

Returns:
The new ResourceProperty instance.

newLock

public Lock newLock(Id resourceId,
                    java.lang.String ownerId,
                    short type,
                    short depth,
                    java.lang.String lockToken)
Creates a new Lock resource using the specified UUID identifier, owner identifier, type, depth, and lock token.

Parameters:
resourceId - The resource identifier.
ownerId - The owner identifier.
type - The lock type.
depth - The lock depth.
lockToken - The lock token.
Returns:
The new Lock resource.

newLock

public Lock newLock()
Creates a new Lock resource.

Returns:
The new Lock resource.


[an error occurred while processing this directive] [an error occurred while processing this directive]