HI Mark:

If you look at the class DefaultEmbargoSetter (in org.dspace.embargo) the method
'parseTerms' creates the lift date out of what EmbargoManager passes it (which 
is the contents
of the metadata field configured for the 'terms'), and the next method in that 
class
'setEmbargo' does the setting - which simply consists of removing the read 
policies
on the bitstreams.

Does that help, or further confuse?

To get embargo working, you just need to make sure that the embargo.terms & 
embargo.lift properties are configured,
and  they point to metadata fields that exist, and are in input forms, etc

I'll be glad to elaborate further as needed,

Richard

On Sep 8, 2010, at 3:47 PM, Mark H. Wood wrote:

> The documentation lists the configuration values that the
> org.dspace.embargo package looks at.  But there doesn't seem to be any
> code anywhere in that package, or anywhere else, which actually sets
> the embargo terms or lift date.  Did I miss something?  How do I get a
> submission embargoed using the default setter and lifter?
> 
> -- 
> Mark H. Wood, Lead System Programmer   [email protected]
> Balance your desire for bells and whistles with the reality that only a 
> little more than 2 percent of world population has broadband.
>       -- Ledford and Tyler, _Google Analytics 2.0_
> <ATT00001><ATT00002..c><ATT00003..c>


------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to