|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The RepositoryFolder object represents a folder, or container, in the repository. Repository plug-ins are not required to support folders but they must support the concept of a root folder which acts as the top level container for the repository.
Repository
,
RepositoryDocument
,
RepositoryObject
Method Summary | |
RepositoryDocument |
addDocument(int type,
java.lang.String name,
java.lang.String data)
Adds a new document to the repository with this folder as its parent. |
RepositoryDocument |
addDocument(int type,
java.lang.String name,
java.lang.String data,
java.lang.String desc,
java.lang.String notes)
Adds a new document to the repository with this folder as its parent. |
RepositoryFolder |
createFolder(java.lang.String name)
Create a new folder as a child of this folder. |
RepositoryFolder |
createFolder(java.lang.String name,
java.lang.String desc,
java.lang.String notes)
Create a new folder as a child of this folder. |
RepositoryDocument[] |
getChildDocuments()
Retrieves all documents contained in this folder. |
RepositoryDocument[] |
getChildDocuments(int type)
Retrieves documents of a specific type in the current folder. |
RepositoryFolder[] |
getChildFolders()
Retrieves all child folders of the current folder. |
RepositoryObject[] |
getChildren(boolean inclFolders)
Retrieves the direct children of this folder. |
RepositoryObject[] |
getChildren(int type,
boolean inclFolders)
Retrieves children of a specific type in the current folder. |
RepositoryDocument |
getDocument(int type,
java.lang.String name)
Retrieves a document, which is an immediate child of this folder, from the repository. |
RepositoryFolder |
getFolder(java.lang.String name)
Retrieves the named folder which is an immediate child of this folder. |
RepositoryDocument |
newDocument(int type,
java.lang.String name)
Create a new document object with this folder as it's parent. |
void |
setData(java.lang.String desc,
java.lang.String notes)
Set the description and notes fields of this folder object. |
java.lang.String |
toString()
The toString method of the implementation should return the name of the folder. |
Methods inherited from interface com.bea.wlxt.repository.RepositoryObject |
getDesc,
getName,
getNotes,
getParent,
getRepository,
isFolder,
remove,
rename,
setDesc,
setNotes,
update |
Method Detail |
public RepositoryDocument getDocument(int type, java.lang.String name) throws RepositoryException
type
- The type of the requested document. This must be
one of the values documented at
Repository.DOC_TYPE_*.name
- The name of the requested document.public RepositoryFolder getFolder(java.lang.String name) throws RepositoryException
name
- The name of the child folder.public RepositoryObject[] getChildren(boolean inclFolders) throws RepositoryException
inclFolders
- If true folders will be
included in the return result (if supported),
otherwise the return value will consist of
RepositoryDocuments only.public RepositoryObject[] getChildren(int type, boolean inclFolders) throws RepositoryException
type
- The type of the requested document. This must be
one of the values documented at
Repository.DOC_TYPE_*.inclFolders
- If true folders will be
included in the return result (if supported),
otherwise the return value will consist of
RepositoryDocuments only.public RepositoryFolder[] getChildFolders() throws RepositoryException
public RepositoryDocument[] getChildDocuments() throws RepositoryException
public RepositoryDocument[] getChildDocuments(int type) throws RepositoryException
type
- The type of the requested document. This must be
one of the values documented at
Repository.DOC_TYPE_*.public RepositoryDocument newDocument(int type, java.lang.String name)
type
- The type of the requested document. This must be
one of the values documented at
Repository.DOC_TYPE_*.name
- The name to be assigned to the document.public RepositoryDocument addDocument(int type, java.lang.String name, java.lang.String data) throws RepositoryException
type
- The type of the requested document. This must be
one of the values documented at
Repository.DOC_TYPE_*.name
- The name to be assigned to the document.data
- The content of the document.public RepositoryDocument addDocument(int type, java.lang.String name, java.lang.String data, java.lang.String desc, java.lang.String notes) throws RepositoryException
type
- The type of the requested document. This must be
one of the values documented at
Repository.DOC_TYPE_*.name
- The name to be assigned to the document.data
- The content of the document.desc
- The description of the new document.notes
- Notes to be associated with the new document.public RepositoryFolder createFolder(java.lang.String name) throws RepositoryException
name
- The name to be assigned to the folder.public RepositoryFolder createFolder(java.lang.String name, java.lang.String desc, java.lang.String notes) throws RepositoryException
name
- The name to be assigned to the folder.desc
- The description of the new folder.notes
- Notes to be associated with the new folder.public void setData(java.lang.String desc, java.lang.String notes)
desc
- The new description of this folder.notes
- The new notes to be associated with this folder.public java.lang.String toString()
|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |