org.overlord.sramp.atom.services
Class BrmsResource

java.lang.Object
  extended by org.overlord.sramp.atom.services.BrmsResource

public class BrmsResource
extends Object

The JAX-RS resource that handles artifact specific tasks, including:


Constructor Summary
BrmsResource()
          Constructor.
 
Method Summary
 Assets getAllAssetsInPackage(String pkgName)
          Returns an XML document with all BRMS packages in the system.
 Packages getAllPackages()
          Returns an XML document with all BRMS packages in the system.
 javax.ws.rs.core.Response getPackage(String pkgName)
          Returns the content of an artifact in the s-ramp repository.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrmsResource

public BrmsResource()
Constructor.

Method Detail

getAllPackages

public Packages getAllPackages()
                        throws SrampAtomException
Returns an XML document with all BRMS packages in the system. jBPM only needs the titles of the packages.

Throws:
SrampAtomException

getAllAssetsInPackage

public Assets getAllAssetsInPackage(String pkgName)
                             throws SrampAtomException
Returns an XML document with all BRMS packages in the system. jBPM only needs the titles of the packages.

Throws:
SrampAtomException

getPackage

public javax.ws.rs.core.Response getPackage(String pkgName)
                                     throws SrampAtomException
Returns the content of an artifact in the s-ramp repository.

Parameters:
model -
type -
uuid -
Throws:
SrampAtomException


Copyright © 2011-2012 JBoss, a division of Red Hat. All Rights Reserved.