| java.lang.Object org.pentaho.core.system.PentahoBase org.pentaho.repository.content.ContentLocation
Method Summary | |
protected File | checkPath() | protected File | checkPath(String thePath) | protected File | checkPath(String thePath, boolean createIfNotExist) | public IContentItem | getContentItemById(String itemId) | public IContentItem | getContentItemByName(String itemName) | public IContentItem | getContentItemByPath(String path) | public Iterator | getContentItemIterator() Iterates over registered content items. | public String | getDescription() | public String | getDirPath() | public String | getId() | public Log | getLogger() | public List | getMessages() | public String | getName() | public String | getPhraseSearchQueryName() | public int | getRevision() | public String[] | getSearchableColumns() | public String | getSearchableTable() | public String | getSolutionId() | public File | getTmpFile(String fileSuffix) Gets a temporary file in the location.
Parameters: fileSuffix - What the file suffix should be. | public File | getTmpFile(String fileSuffix, boolean deleteOnExit) Gets a temporary file in the location.
Parameters: fileSuffix - What the file suffix should be. | public File | makeSubdirectory(String subDirName) Creates a subdirectory in the content location. | public IContentItem | newContentItem(String itemName, String title, String extension, String mType, String url, int writeMode) | public IContentItem | newContentItem(String cntId, String itemName, String title, String extension, String mType, String url, int writeMode) | public void | setDescription(String description) | public void | setDirPath(String dirPath) | public void | setId(String id) | public void | setName(String name) | public void | setRevision(int revision) | public void | setSolutionId(String solutionId) | protected void | throwError(String msg) | public String | toString() |
ClassVersionNumber | final public static int ClassVersionNumber(Code) | | |
ContentLocation | protected ContentLocation()(Code) | | Constructor for Hibernate
|
ContentLocation | protected ContentLocation(String locId, String thePath, String theName, String theDescription, String solId, boolean createIfNotExist) throws ContentException(Code) | | Constructor
Parameters: thePath - The path in the file system Parameters: theName - The "nice name" of the location Parameters: solId - The solutionId it's associated with throws: ContentException - |
checkPath | protected File checkPath(String thePath, boolean createIfNotExist)(Code) | | |
getContentItemIterator | public Iterator getContentItemIterator()(Code) | | Iterates over registered content items.
Iterator of the child content |
getDescription | public String getDescription()(Code) | | Returns the description. |
getDirPath | public String getDirPath()(Code) | | Returns the dirPath. |
getLogger | public Log getLogger()(Code) | | |
getPhraseSearchQueryName | public String getPhraseSearchQueryName()(Code) | | |
getRevision | public int getRevision()(Code) | | Returns the revision. |
getSearchableColumns | public String[] getSearchableColumns()(Code) | | |
getSolutionId | public String getSolutionId()(Code) | | Returns the solutionId. |
getTmpFile | public File getTmpFile(String fileSuffix) throws ContentException(Code) | | Gets a temporary file in the location.
Parameters: fileSuffix - What the file suffix should be. If null, then .tmp will beused. File that is unique within the directory inside this location. throws: ContentException - |
getTmpFile | public File getTmpFile(String fileSuffix, boolean deleteOnExit) throws ContentException(Code) | | Gets a temporary file in the location.
Parameters: fileSuffix - What the file suffix should be. If null, then .tmp will beused. Parameters: deleteOnExit - If true, will call the files' deleteOnExit method which willattempt to delete the file on VM termination. File that is unique within the directory inside this location. throws: ContentException - |
setDescription | public void setDescription(String description)(Code) | | Parameters: description - The description to set. |
setDirPath | public void setDirPath(String dirPath)(Code) | | Parameters: dirPath - The dirPath to set. |
setId | public void setId(String id)(Code) | | Parameters: id - The id to set. |
setName | public void setName(String name)(Code) | | Parameters: name - The name to set. |
setRevision | public void setRevision(int revision)(Code) | | Parameters: revision - The revision to set. |
setSolutionId | public void setSolutionId(String solutionId)(Code) | | Parameters: solutionId - The solutionId to set. |
Methods inherited from org.pentaho.core.system.PentahoBase | public void debug(String message)(Code)(Java Doc) public void debug(String message, Throwable error)(Code)(Java Doc) public void error(String message)(Code)(Java Doc) public void error(String message, Throwable error)(Code)(Java Doc) public void fatal(String message)(Code)(Java Doc) public void fatal(String message, Throwable error)(Code)(Java Doc) public void genLogIdFromInfo(String sessId, String procId, String actName)(Code)(Java Doc) public void genLogIdFromInfo(String sessId, String procId, String actName, String instId)(Code)(Java Doc) public void genLogIdFromSession(IPentahoSession sess)(Code)(Java Doc) public String getLogId()(Code)(Java Doc) abstract public Log getLogger()(Code)(Java Doc) public int getLoggingLevel()(Code)(Java Doc) public String getObjectName()(Code)(Java Doc) public void info(String message)(Code)(Java Doc) public void info(String message, Throwable error)(Code)(Java Doc) public void setLogId(String lId)(Code)(Java Doc) public void setLoggingLevel(int logLevel)(Code)(Java Doc) public void trace(String message)(Code)(Java Doc) public void trace(String message, Throwable error)(Code)(Java Doc) public void warn(String message)(Code)(Java Doc) public void warn(String message, Throwable error)(Code)(Java Doc)
|
|
|