Hi Vincenzo

I documented this here for the Fedora Client interface
http://fedora-commons.org/confluence/display/FCR30/API-A#API-A-findObjects

The OwnerID suffers from the same problem, btw. 

Regards


On Tue, 2009-03-17 at 11:00 +0100, Chris Wilper wrote:
> Hi Vincenzo,
> 
> Currently, the best way to determine the state of an object in the
> repository is to get it via findObjects, e.g.:
> 
> http://localhost:8080/fedora/search?&query=pid%3Ddemo:YourPID&pid=true&state=true&xml=true
> 
> Making such a call will no longer be necessary with Fedora 3.2+
> because the state will be returned along with the other object
> properties in the REST api...see
> https://fedora-commons.org/jira/browse/FCREPO-391
> 
> - Chris
> 
> On Tue, Mar 17, 2009 at 5:32 AM, Vincenzo Galella <[email protected]> wrote:
> > Hi,
> > How I can discover the state (Active, Inactive or Deleted) of a Data Object?
> > I work with Java and I use fedora apis, and for the similar thing, about
> > Datastream's state, I use
> > apiM.getDatastream(pid, ds_id, null).getState();
> >
> > how can I do this with Data Objets?
> > Thank's
> >
> > ------------------------------------------------------------------------------
> > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> > easily build your RIAs with Flex Builder, the Eclipse(TM)based development
> > software that enables intelligent coding and step-through debugging.
> > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> > _______________________________________________
> > Fedora-commons-developers mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers
> >
> 
> ------------------------------------------------------------------------------
> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
> software that enables intelligent coding and step-through debugging.
> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> _______________________________________________
> Fedora-commons-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Fedora-commons-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers

Reply via email to