Skip to main content
Home

Search form

Menu

Search form

  • What's new in SkyVault
  • SkyVault 2.0 overview
  • SkyVault 2.0 video tutorials
  • Getting Started guides
  • Using SkyVault
  • Admin QuickStart
  • For Developers
    • Customizing Explorer and Share
    • Developing Applications and Extensions
      • Designing your application
      • SkyVault Repository
      • SkyVault Services
      • SkyVault Integration
      • Web Scripts
      • SkyVault Extensions
      • Share extensions
      • Maven SkyVault SDK
      • Programming with Surf
      • Content modeling
      • SkyVault 2.0 API
      • Surf root-scoped objects
      • Return types
        • ScriptModelObject
          • save
          • remove
          • delete
          • toXML
          • touch
          • getBooleanProperty
          • getProperty
          • setProperty
          • removeProperty
          • getModelObject
          • clone
        • ScriptRemoteConnector
        • Response
        • ResponseStatus
      • Rendering objects
  • SkyVault Public Java API
  • Copyright
  • Disclaimer
  • You are here

    SkyVault 2.0 » For Developers » Developing Applications and Extensions » SkyVault API Reference » Surf Platform API reference » Return types » ScriptModelObject

    clone

    clone() - these methods create a clone of the model object.
    Parent topic: ScriptModelObject

    clone

    clone() - creates a clone of the model object.

    Returns

    Returns a ScriptModelObject object representing the model object.

    clone

    clone(String newObjectId) - creates a clone of the model object.

    Parameters

    newObjectId
    A string representing the new ID of the model object.

    Returns

    Returns a ScriptModelObject object representing the model object.


    © 2017 TBS-LLC. All Rights Reserved.    Follow @twitter