Package com.collabnet.ce.webservices
Class CTFFile
- java.lang.Object
-
- com.collabnet.ce.webservices.CTFFile
-
public class CTFFile extends Object
A file in the file storage.In CTF, file objects are tied to a specific SOAP session.
- Author:
- Kohsuke Kawaguchi
- See Also:
CollabNetApp.upload(File)
-
-
Field Summary
Fields Modifier and Type Field Description protected CollabNetApp
app
protected String
id
-
Constructor Summary
Constructors Constructor Description CTFFile(CollabNetApp app, String id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <T extends ObjectWithTitle>
TfindByTitle(List<T> list, String title)
Convenience method for a subtype to find an item in a collection by its title.String
getId()
-
-
-
Field Detail
-
app
protected final CollabNetApp app
-
id
protected final String id
-
-
Constructor Detail
-
CTFFile
public CTFFile(CollabNetApp app, String id)
-
-
Method Detail
-
getId
public String getId()
-
findByTitle
protected <T extends ObjectWithTitle> T findByTitle(List<T> list, String title)
Convenience method for a subtype to find an item in a collection by its title.
-
-