|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.ecmimpl.OwFileBasedAOProvider
public class OwFileBasedAOProvider
Application object provider which is based on a file system location. Will handle the structure similar to the handler in the network interface, but independent from it.
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 Summary | |
---|---|
OwFileBasedAOProvider(String basePath)
|
Method Summary | ||
---|---|---|
|
getApplicationObject(OwAOType<T> type,
String name,
boolean forceSpecificObj,
boolean createNonExisting)
get a Objects for the application to work, like search templates, preferences... |
|
|
getApplicationObject(OwAOType<T> aoType,
String name,
List<Object> params,
boolean forceSpecificObj,
boolean createNonExisting)
get an application object with specific parameters, like search templates, preferences... |
|
|
getApplicationObjects(OwAOType<T> type,
String name,
boolean forceSpecificObj)
get a list of Objects for the application to work, like search templates, preferences... |
|
protected String |
getBasePath()
Return the base path, from where all retrieval for application objects should start. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OwFileBasedAOProvider(String basePath)
Method Detail |
---|
public <T> List<T> getApplicationObjects(OwAOType<T> type, String name, boolean forceSpecificObj) throws OwException
OwAOProvider
getApplicationObjects
in interface OwAOProvider
type
- OwAOType type which define class and integer representation of requested application object.name
- String Name of the object to retrieve e.g. "userprefs"forceSpecificObj
- if true, the object must be specific to the logged in user, otherwise the OwAOProvider determines if it is common to a site or specific to a group or a user.
OwException
public <T> T getApplicationObject(OwAOType<T> type, String name, boolean forceSpecificObj, boolean createNonExisting) throws OwException
OwAOProvider
getApplicationObject
in interface OwAOProvider
type
- OwAOType type which define class and integer representation of requested application object.name
- String name/location of the object to retrieve e.g. "userprefs"forceSpecificObj
- if true, the object must be specific to the logged in user, otherwise the OwAOProvider determines if it is common to a site or specific to a group or a user.createNonExisting
- boolean true = create if not exist
OwException
public <T> T getApplicationObject(OwAOType<T> aoType, String name, List<Object> params, boolean forceSpecificObj, boolean createNonExisting) throws OwException
OwAOProvider
getApplicationObject
in interface OwAOProvider
aoType
- OwAOType type which define class and integer representation of requested application objectname
- String Name/Location of the object to retrieve e.g. "userprefs"params
- List of objects (optional can be null)forceSpecificObj
- boolean if true, the object must be specific to the logged in user, otherwise the OwAOProvider determines if it is common to a site or specific to a group or a user.createNonExisting
- boolean true = create if not exist
OwException
protected String getBasePath()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |