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
Constructor and Description |
---|
OwSimpleLocation() |
OwSimpleLocation(OwObject parent)
Create a Location from parent, which will implicitly set
the resource from provided parent object.
|
OwSimpleLocation(OwResource res) |
Modifier and Type | Method and Description |
---|---|
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) |
public OwSimpleLocation()
public OwSimpleLocation(OwResource res)
public OwSimpleLocation(OwObject parent) throws OwException
parent
- OwException
public OwResource getResource()
OwLocation
getResource
in interface OwLocation
public void setResource(OwResource res)
public OwObject getParent()
OwLocation
getParent
in interface OwLocation
public void setParent(OwObject parent)
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.