com.centrasite.control.repository.items
Class RepositoryOrganizationFolderItem
java.lang.Object
com.centrasite.control.AbstractItem
com.centrasite.control.repository.items.RepositoryObjectItem
com.centrasite.control.repository.items.RepositoryFolderItem
com.centrasite.control.repository.items.RepositorySubFolderItem
com.centrasite.control.repository.items.RepositoryOrganizationFolderItem
- All Implemented Interfaces:
- Item
public class RepositoryOrganizationFolderItem
- extends RepositorySubFolderItem
Repository organization folder. In web dav, the folder is created using the
organization's UDDIv3 key as name. This class takes care for getting the
localized organization name using JAXR based on the uddi key.
Method Summary |
java.lang.String |
getDescription()
|
java.lang.String |
getDisplayPath()
Replaces the organization's uddi key with its name. |
java.lang.String |
getImageURL()
|
java.lang.String |
getName()
Expects the folder name to be the uddi key of the organization and gets
the localized name based on that using JAXR. |
Methods inherited from class com.centrasite.control.repository.items.RepositoryFolderItem |
createFile, createFile, createFolder, getAllChildren, getAllChildren, getAllFilesChildren, getAllFilesChildren, getChildren, getChildren, getContentLength, getDisplayRelativePath, getPrivilegeDescriptor, getRelativePath, getReport, getReportForDetailView, hasChildren, isEmpty, isEmptyFolder, isEmptyFolder, resortItem, setReloadRequired, setRepositoryFileForVersioning |
Methods inherited from class com.centrasite.control.repository.items.RepositoryObjectItem |
checkAndDeleteExternaLinkReferencies, clearProperties, create, createItem, equals, getAccessControlElements, getAutoVersion, getComment, getContentType, getCreationDate, getCurrentUserPermissionItem, getDocumentName, getKey, getModificationDate, getModifiedDateObject, 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 com.centrasite.control.AbstractItem |
addBulkCommand, addCommand, addDetailViewTab, cannotHaveChildren, clearCache, getBulkCommands, getCommand, getCommand, getCommands, getConnector, getDefaultCommand, getDetailsCommand, getDetailViewTabs, getItem, getLanguage, getLocale, getNonPermissionAccessControlElements, getPersistanceLocale, getRelatedItems, hasRequiredAttribute, isLocked, isReadOnly, isStandalone, isSubTabModified, removeCommand, replaceCommand, setCommandEnabled, setConnector, setDefaultCommand, setDetailsCommand, setLocked, setRelatedItems, setRequiredAttribute, setTabModified, showDetailView, showReport |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
RepositoryOrganizationFolderItem
public RepositoryOrganizationFolderItem(Connector connector,
RepositoryFolderItem parent,
javax.wvcm.Resource folder)
- Parameters:
connector
- The connector.folder
- WebDAV folder.
getName
public java.lang.String getName()
- Expects the folder name to be the uddi key of the organization and gets
the localized name based on that using JAXR.
- Specified by:
getName
in interface Item
- Overrides:
getName
in class RepositoryObjectItem
- Returns:
- the organization name
getDisplayPath
public java.lang.String getDisplayPath()
- Replaces the organization's uddi key with its name.
- Returns:
- the display path to this organization folder.
getDescription
public java.lang.String getDescription()
throws java.lang.Exception
- Specified by:
getDescription
in interface Item
- Overrides:
getDescription
in class RepositorySubFolderItem
- Throws:
java.lang.Exception
getImageURL
public java.lang.String getImageURL()
- Specified by:
getImageURL
in interface Item
- Overrides:
getImageURL
in class RepositoryFolderItem