com.wewebu.ow.server.ecmimpl
Class OwSimpleLocation

java.lang.Object
  extended by com.wewebu.ow.server.ecmimpl.OwSimpleLocation
All Implemented Interfaces:
OwLocation

public class OwSimpleLocation
extends Object
implements OwLocation

Simple implementation of the OwLocation interface.

Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.

For licensing information read the license.txt file or
go to: http://wiki.alfresco.com

Since:
4.1.1.0

Constructor Summary
OwSimpleLocation()
           
OwSimpleLocation(OwObject parent)
          Create a Location from parent, which will implicitly set the resource from provided parent object.
OwSimpleLocation(OwResource res)
           
 
Method Summary
 OwObject getParent()
          The parent object, can return null if not filed/contained in a structure.
 OwResource getResource()
          The Resource (Repository/ObjectStore) of the location.
 void setParent(OwObject parent)
           
 void setResource(OwResource res)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OwSimpleLocation

public OwSimpleLocation()

OwSimpleLocation

public OwSimpleLocation(OwResource res)

OwSimpleLocation

public OwSimpleLocation(OwObject parent)
                 throws OwException
Create a Location from parent, which will implicitly set the resource from provided parent object.

Parameters:
parent -
Throws:
OwException
Method Detail

getResource

public OwResource getResource()
Description copied from interface: OwLocation
The Resource (Repository/ObjectStore) of the location.

Specified by:
getResource in interface OwLocation
Returns:
OwResource

setResource

public void setResource(OwResource res)

getParent

public OwObject getParent()
Description copied from interface: OwLocation
The parent object, can return null if not filed/contained in a structure.

Specified by:
getParent in interface OwLocation
Returns:
OwObject or null.

setParent

public void setParent(OwObject parent)


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.