|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.centrasite.control.AbstractItem
com.centrasite.control.repository.items.RepositoryObjectItem
com.centrasite.control.repository.items.RepositoryFileItem
public class RepositoryFileItem
Repository file.
Field Summary |
---|
Fields inherited from class com.centrasite.control.repository.items.RepositoryObjectItem |
---|
DEDICATED_PROPERTIES |
Fields inherited from class com.centrasite.control.AbstractItem |
---|
rcs_id |
Constructor Summary | |
---|---|
RepositoryFileItem(Connector connector,
RepositoryFolderItem parent,
javax.wvcm.Resource resource)
Constructs an RepositoryFileItem object. |
Method Summary | |
---|---|
void |
delete()
Delete file. |
void |
getContent(java.io.OutputStream stream)
Get content. |
java.lang.String |
getDescription()
|
static java.lang.String |
getFileSystemName(RepositoryObjectItem roi)
|
java.util.Collection<RepositoryHistoryItem> |
getHistory()
Get history. |
java.lang.String |
getImageURL()
|
PrivilegeDescriptor |
getPrivilegeDescriptor()
|
ReportInterface |
getReport()
Get report to be used when selecting given object in tree. |
ReportInterface |
getReportForDetailView()
Get report to be used for data access in detail view of THIS Item - not for child nodes! |
boolean |
hasChildren()
Indicates whether childs objects exist. |
static RepositoryFileItem |
rereadFile(Connector connector,
RepositoryFileItem item)
Read last persisted state of the file. |
Methods inherited from class com.centrasite.control.repository.items.RepositoryObjectItem |
---|
checkAndDeleteExternaLinkReferencies, clearProperties, create, createItem, equals, getAccessControlElements, getAutoVersion, getChildren, getChildren, getComment, getContentLength, getContentType, getCreationDate, getCurrentUserPermissionItem, getDocumentName, getKey, getModificationDate, getModifiedDateObject, getName, getNameEx, getOwner, getParent, getPath, getProperties, getProvider, getRepositoryConnector, getResource, getTrimmedPath, getTrimmedPath, hashCode, hasNoChildren, isLocationChanged, isModified, isReferenced, isReferencedByMyCentraSite, rename, save, save, setAccessControlElements, setComment, setDisplayName, setLocationChanged, setNewLocation, setParent, setProperties, setResource, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RepositoryFileItem(Connector connector, RepositoryFolderItem parent, javax.wvcm.Resource resource)
connector
- Connector.parent
- Parent folder.resource
- WebDAV resource.Method Detail |
---|
public boolean hasChildren()
RepositoryObjectItem
hasChildren
in class RepositoryObjectItem
public void getContent(java.io.OutputStream stream) throws java.lang.Exception
stream
- Output stream
java.lang.Exception
public void delete() throws java.lang.Exception
java.lang.Exception
public java.lang.String getDescription() throws java.lang.Exception
getDescription
in interface Item
getDescription
in class RepositoryObjectItem
java.lang.Exception
public java.lang.String getImageURL()
getImageURL
in interface Item
getImageURL
in class RepositoryObjectItem
public ReportInterface getReport()
AbstractItem
getReport
in interface Item
getReport
in class AbstractItem
public ReportInterface getReportForDetailView()
AbstractItem
getReportForDetailView
in interface Item
getReportForDetailView
in class AbstractItem
public java.util.Collection<RepositoryHistoryItem> getHistory()
public PrivilegeDescriptor getPrivilegeDescriptor()
getPrivilegeDescriptor
in interface Item
getPrivilegeDescriptor
in class AbstractItem
public static RepositoryFileItem rereadFile(Connector connector, RepositoryFileItem item) throws javax.wvcm.WvcmException
connector
- item
- the file to be re-read
javax.wvcm.WvcmException
public static java.lang.String getFileSystemName(RepositoryObjectItem roi) throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |