Jose,

Withdraw is at the Item level, so I'd assume theres no reason to show
more detail about the item other than maybe its title and handle,
possibly its authors. Yes, you could possibly create a table and
populate it some detail about the bitstreams, but without any links to
download etc.  Because its withdrawn, I'd assume your organization
isn't interested in showing off too much detail about the item,
rather, just that it was removed from the archive with a tombstone
containing some citation details and possibly a contact email and/or
form to request further detail on the item from the repository
managers.

I was treating this more like the behavior found when attempting to
view a restricted item rather than the behavior found in ItemViewer.
Here, the content generated is more to inform the user concerning the
status without exposing details about the Item, which already has been
removed from Search, Browse and likewise, has been restricted from
being shown in ItemViewer altogether.

Mark

On Tue, Jul 26, 2011 at 9:29 AM, Blanco, Jose <[email protected]> wrote:
> Mark,
>
>
>
> So what I have to do is
>
> 1.       Find all the meta data I want to display, say: title, authors,
> abstract, handle, date issued, and then add them to say a DRI table,
>
> 2.       Create a table for the bitstreams and add them in there to a
> different table along with the reason for with draw.
>
> 3.       Find out the collections listed and add them to the DRI ( not sure
> to what tag? ).
>
>
>
> Is there a good aspect that does something like this that I can look at?
> One that just uses the DRI.
>
>
>
> Thanks! Jose
>
>
>
> From: Mark Diggory [mailto:[email protected]]
> Sent: Monday, July 25, 2011 5:05 PM
> To: Blanco, Jose
> Cc: Mark Diggory; DSpace Developers
> Subject: Re: [Dspace-devel] [Dspace-tech] from aspect to theme
>
>
>
> Jose,
>
> Don't use the ReferenceSet approach, instead of using reference set use DRI
> div and add the text you want from the item directly to the view. This means
> it will use the default DRI xslt rendering rather than using the METS xslt's
> to render your output. Which will be much simpler.  You will not even have
> to write any xsl templates for the DRI content your adding to the view.
>
> I say to use the logic to retrieve and validate the item from ItemViewer so
> that it's cached properly if for instance the withdrawn state is dropped and
> the item is returned to the archive.
>
> Best,
> Mark
>
> On Monday, July 25, 2011, Blanco, Jose <[email protected]> wrote:
>> Mark, I’ve added more of less the stuff that;s in  ItemViewer and now you
>> can see the short display.  But I still don’t see how I can include the
>> reason for withdraw and disable the links to the bitstreams without making a
>> change to the themes.
>>
>>
>>
>> http://blancoj.dev.deepblue.lib.umich.edu/handle/TEMP-BOGUS/190931
>>
>>
>>
>> -Jose
>>
>>
>>
>> From: [email protected] [mailto:[email protected]] On Behalf Of Mark
>> Diggory
>> Sent: Monday, July 25, 2011 4:09 PM
>> To: Blanco, Jose
>> Cc: DSpace Developers
>> Subject: Re: [Dspace-tech] from aspect to theme
>>
>>
>>
>> This makes sense. I would test it with actual text in the body of the div.
>> Then I would review the codebase around item view or others and borrow
>> getting the Item from that code. Yoummay need to add wildcards and
>> parameterization in the site map to pass the values into your transformer.
>>
>> Mark
>>
>> On Monday, July 25, 2011, Blanco, Jose <[email protected]> wrote:
>>> Hey Mark, Have you had a chance to look at this.  I know it's Monday, and
>>> you probably have higher priority, but if you have a chance let me know.
>>>
>>> Thank you!
>>> JOse
>>>
>>> -----Original Message-----
>>> From: Blanco, Jose [mailto:[email protected]]
>>> Sent: Friday, July 22, 2011 4:50 PM
>>> To: Mark Diggory
>>> Cc: [email protected]; Mark H. Wood
>>> Subject: Re: [Dspace-tech] from aspect to theme
>>>
>>> Mark,
>>>
>>> I have deployed these changes and when I get to a restricted item I just
>>> get a page with no data:
>>>
>>> ( not sure if you can see this.  If it ask you for username and password,
>>> I can send it to you separately )
>>> http://blancoj.dev.deepblue.lib.umich.edu/handle/TEMP-BOGUS/190931
>>>
>>>
>>> This of course makes sense, since I have nothing really in my
>>> TombstoneView.pm file.  Here it is:
>>>
>>>
>>> public class TombstoneView extends AbstractDSpaceTransformer {
>>>
>>>    public void addBody(Body body) throws SAXException, WingException,
>>>                UIException, SQLException, IOException, AuthorizeException
>>>    {
>>>        DSpaceObject dso = HandleUtil.obtainHandle(objectModel);
>>>        if (!(dso instanceof Item))
>>>        {
>>>            return;
>>>        }
>>>
>>>        // Set up the major variables
>>>        Item item = (Item) dso;
>>>
>>>        Division home = body.addDivision("test-tombstone", "message");
>>>
>>>
>>>
>>>    }
>>>
>>>
>>> }
>>> -----Original Message-----
>>> From: Mark Diggory [mailto:[email protected]]
>>> Sent: Friday, July 22, 2011 3:25 PM
>>> To: Blanco, Jose
>>> Cc: [email protected]; Mark H. Wood
>>> Subject: Re: [Dspace-tech] from aspect to theme
>>>
>>> On Fri, Jul 22, 2011 at 12:15 PM, Blanco, Jose <[email protected]> wrote:
>>>> Mark, I think I understand your directions.  Sorry if I'm being hard
>>>> headed about this, but I'm hoping that making this change will help me get
>>>> smarter about Manakin and Cocoon.
>>>
>>> Of course…
>>>
>>>> So, I created the selector.  I think it does what is suppose to do.
>>>>
>>>> I've changed the sitemap in the ArtifactBrowse as you suggested.  BTW, I
>>>> don't quite understand what the difference is between ArtifactBrowse,
>>>> BrowseArtifacts, and ViewArtifacts.  Can you explain it without too much
>>>> trouble?
>>>
>>> We will consider replicating your site map work in ViewArtifacts,
>>> these three new aspects separate out Browse and Search from viewing
>>> Items and are meant to eventually replace the ArtifactViewer aspect.
>>>
>>>>
>>>> Here is a the change to the sitemap file.  I think it's what you
>>>> suggested:
>>>
>>> yep, thats it.
>>>
>>>> <map:match type="HandleAuthorizedMatcher" pattern="!READ">
>>>>   <map:select type="WithdrawnSelector">
>>>>      <map:when test="true">
>>>>         <map:transform type="TombstoneView"/>
>>>>         <map:serialize type="xml"/>
>>>>      </map:when>
>>>>      <map:otherwise>
>>>>         <map:select type="AuthenticatedSelector">
>>>>            <map:when test="eperson">
>>>>              <map:transform type="RestrictedItem"/>
>>>>              <map:serialize/>
>>>>            </map:when>
>>>>            <map:otherwise>
>>>>                <map:act type="StartAuthentication">
>>>>
>
> --
> Mark R. Diggory
> @mire - www.atmire.com
> 2888 Loker Avenue East - Suite 305 - Carlsbad - CA - 92010
> Esperantolaan 4 - Heverlee 3001 - Belgium



-- 
Mark R. Diggory
@mire - www.atmire.com
2888 Loker Avenue East - Suite 305 - Carlsbad - CA - 92010
Esperantolaan 4 - Heverlee 3001 - Belgium

------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to