Package org.dspace.content

Examples of org.dspace.content.Community.update()


            if (policy.getGroupID() == groupID)
                policy.delete();
        }
       
        // Finally, delete the role's actual group.
        community.update();
        role.delete();
        context.commit();
   
        result.setContinue(true);
        result.setOutcome(true);
View Full Code Here


            // communities
            // and so forth where they don't exist, but it's proving
            // difficult
            // to isolate the community that already exists without hitting
            // the database directly.
            community.update();
           
            // build the element with the handle that identifies the new
            // community
            // along with all the information that we imported here
            // This looks like a lot of repetition of getting information
View Full Code Here

            String jsp;
            DSpaceObject dso;
            if (collection == null)
            {
                community.update();

                // Show community edit page
                request.setAttribute("community", community);
                storeAuthorizeAttributeCommunityEdit(context, request, community);
                dso = community;
View Full Code Here

     
      newCommunity.setLogo(is);
    }
       
    // Save everything
    newCommunity.update();
        context.commit();
        // success
        result.setContinue(true);
        result.setOutcome(true);
        result.setMessage(new Message("default","The community was successfully created."));
View Full Code Here

          community.setLogo(is);
        }
        }
       
        // Save everything
        community.update();
        context.commit();
       
        // No notice...
        result.setContinue(true);
    return result;
View Full Code Here

                role = community.createAdministrators();
            }
        }
 
        // In case we needed to create a group, save our changes
        community.update();
        context.commit();
       
        // If the role name was valid then role should be non null,
        if (role != null)
        {
View Full Code Here

                policy.delete();
            }
        }
       
        // Finally, delete the role's actual group.
        community.update();
        role.delete();
        context.commit();
   
        result.setContinue(true);
        result.setOutcome(true);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.