|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Loader
Loads folders (Hierarchy Nodes) and files (Content Nodes) into a content repository, specified in the properties passed in, using the content manager.
Field Summary | |
---|---|
static String |
LIFECYCLE_STATUS_KEY
Deprecated use WORKFLOW_STATUS_KEY |
static String |
SCHEMA_KEY
The schema key for the md.properties. |
static String |
WORKFLOW_STATUS_KEY
The Workflow status key for the md.properties. |
Method Summary | |
---|---|
void |
delete(String path)
Deletes the hiearchy at the given path. |
void |
loadDirectory(String path)
Loads the given path as a Hierarchy Node. |
void |
loadFile(String path,
BinaryValue binaryValue,
byte[] bytes,
Properties properties)
Loads the the given metadata and binary as a Content Node. |
Field Detail |
---|
static final String SCHEMA_KEY
@Deprecated static final String LIFECYCLE_STATUS_KEY
WORKFLOW_STATUS_KEY
static final String WORKFLOW_STATUS_KEY
Method Detail |
---|
void loadFile(String path, BinaryValue binaryValue, byte[] bytes, Properties properties) throws RemoteException
path
- - the full path for the the Content Node to load,
including the repository name as the first element in the path.binaryValue
- - the actual "content" to load. This get loaded
in the Primary Property if one exists, if not it will be loaded in the first
Binary Property found for the Node.
This value does not include the InputStream, the bytes are passed
as an additional parameter.bytes
- - the bytes to add to the binaryValue as an InputStream.properties
- - the meta-data for the binary to load.
RemoteException
- - if an error occurs.void loadDirectory(String path) throws RemoteException
path
- - the path where to create the Node, including the
repository name as the first element in the path.
RemoteException
- - if an error occurs.void delete(String path) throws RemoteException
path
- - the hierarchy to delete.
RemoteException
- - if an error occurs.
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |