Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8515819
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T05:15:04+00:00 2026-06-11T05:15:04+00:00

I have a document, represented as a node tree in Jackrabbit. When saving a

  • 0

I have a document, represented as a node tree in Jackrabbit.

When saving a document, I want to first check if certain properties have changed. Whats the best/quickest way of doing this? I want the quickest, but not at the expense of being ugly!

Background…

In brief, I have a copy of this node and I want to know when the master has been updated so I can update the copy. Originally, I just tracked the version number which worked fine. Now there’s a requirement to only update the copy when certain properties have changed. My idea is, when setting each property, first check the existing value against the new one to see if its changed. I will have to do this for all affected properties. if any of the nodes properties, or childrens properties, have been changed I will increment a number to show it has been updated.

Any better ideas out there?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T05:15:06+00:00Added an answer on June 11, 2026 at 5:15 am

    Well, I ended up doing it as per my idea. And the performance seems fine.

    Didn’t take long to modify my existing code as I already had a utility class for getting/setting. I just modified the setter’s to return true if a property had changed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a document file containing HTML markup. I want to assign the contents
I have a document, something like this: <root> <A node=1/> <B node=2/> <A node=3/>
I have a filesyste that is represented in an xml document in the following
Say I have an XML document (represented as text, a W3C DOM, whatever), and
I have a hierarchical keyword tree, represented as a list of tuples where the
I have an excel document represented as a byte[] and I'm wanting to send
I have a jQuery menu that is represented with these paramaters: <script type=text/javascript> jQuery(document).ready(function(){
I have a document type of info I also have some custom properites. infoTitle
i have a document like this: English English English English 中文中文中文中文中文 English English English
I have pdf document, for example 25 pages. How to add one blank page

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.