Package org.dspace.app.xmlui.wing

Examples of org.dspace.app.xmlui.wing.ObjectManager


     */
    protected RepositoryMeta(WingContext context) throws WingException
    {
        super(context);
       
        ObjectManager objectManager = context.getObjectManager();

        if (!(objectManager == null))
        {
          this.repositories = objectManager.getAllManagedRepositories();
        }
    }
View Full Code Here


    protected Reference(WingContext context, Object object)
            throws WingException
    {
        super(context);

        ObjectManager objectManager = context.getObjectManager();

        if (objectManager == null)
            throw new WingException(
                    "Unable to reference object because no object manager has been defined.");
       
        if (!objectManager.manageObject(object))
            throw new WingException(
                    "The available object manager is unable to manage the give object.");

        this.url = objectManager.getObjectURL(object);
        this.repository = objectManager.getRepositoryIdentifier(object);
        this.type = objectManager.getObjectType(object);
       
    }
View Full Code Here

     */
    protected RepositoryMeta(WingContext context) throws WingException
    {
        super(context);
       
        ObjectManager objectManager = context.getObjectManager();

        if (!(objectManager == null))
        {
          this.repositories = objectManager.getAllManagedRepositories();
        }
    }
View Full Code Here

    protected Reference(WingContext context, Object object)
            throws WingException
    {
        super(context);

        ObjectManager objectManager = context.getObjectManager();

        if (objectManager == null)
        {
            throw new WingException(
                    "Unable to reference object because no object manager has been defined.");
        }
       
        if (!objectManager.manageObject(object))
        {
            throw new WingException(
                    "The available object manager is unable to manage the give object.");
        }

        this.url = objectManager.getObjectURL(object);
        this.repository = objectManager.getRepositoryIdentifier(object);
        this.type = objectManager.getObjectType(object);
       
    }
View Full Code Here

TOP

Related Classes of org.dspace.app.xmlui.wing.ObjectManager

Copyright © 2018 www.massapicom. 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.