| java.lang.Object org.sakaiproject.content.cover.ContentHostingService
Method Summary | |
public static org.sakaiproject.content.api.ContentResource | addAttachmentResource(java.lang.String param0, java.lang.String param1, byte[] param2, org.sakaiproject.entity.api.ResourceProperties param3) | public static org.sakaiproject.content.api.ContentResource | addAttachmentResource(java.lang.String param0, java.lang.String param1, java.lang.String param2, java.lang.String param3, byte[] param4, org.sakaiproject.entity.api.ResourceProperties param5) | public static org.sakaiproject.content.api.ContentResourceEdit | addAttachmentResource(java.lang.String param0) | public static org.sakaiproject.content.api.ContentCollection | addCollection(java.lang.String param0, org.sakaiproject.entity.api.ResourceProperties param1) | public static org.sakaiproject.content.api.ContentCollection | addCollection(java.lang.String param0, org.sakaiproject.entity.api.ResourceProperties param1, java.util.Collection param2, boolean param3, org.sakaiproject.time.api.Time param4, org.sakaiproject.time.api.Time param5) | public static org.sakaiproject.content.api.ContentCollectionEdit | addCollection(java.lang.String param0) | public static org.sakaiproject.content.api.ContentCollectionEdit | addCollection(java.lang.String collectionId, java.lang.String name) | public static org.sakaiproject.entity.api.ResourceProperties | addProperty(java.lang.String param0, java.lang.String param1, java.lang.String param2) | public static org.sakaiproject.content.api.ContentResource | addResource(java.lang.String param0, java.lang.String param1, byte[] param2, org.sakaiproject.entity.api.ResourceProperties param3, int param4) | public static org.sakaiproject.content.api.ContentResource | addResource(java.lang.String param0, java.lang.String param1, int param2, java.lang.String param3, byte[] param4, org.sakaiproject.entity.api.ResourceProperties param5, int param6) | public static org.sakaiproject.content.api.ContentResource | addResource(java.lang.String param0, java.lang.String param1, byte[] param2, org.sakaiproject.entity.api.ResourceProperties param3, java.util.Collection param4, int param5) | public static org.sakaiproject.content.api.ContentResource | addResource(java.lang.String param0, java.lang.String param1, int param2, java.lang.String param3, byte[] param4, org.sakaiproject.entity.api.ResourceProperties param5, java.util.Collection param6, boolean param7, org.sakaiproject.time.api.Time param8, org.sakaiproject.time.api.Time param9, int param10) | public static org.sakaiproject.content.api.ContentResourceEdit | addResource(java.lang.String param0) | public static org.sakaiproject.content.api.ContentResourceEdit | addResource(java.lang.String collectionId, java.lang.String basename, java.lang.String extension, int maximum_tries) | public static boolean | allowAddAttachmentResource() | public static boolean | allowAddCollection(java.lang.String param0) | public static boolean | allowAddProperty(java.lang.String param0) | public static boolean | allowAddResource(java.lang.String param0) | public static boolean | allowCopy(java.lang.String param0, java.lang.String param1) | public static boolean | allowGetCollection(java.lang.String param0) | public static boolean | allowGetProperties(java.lang.String param0) | public static boolean | allowGetResource(java.lang.String param0) | public static boolean | allowRemoveCollection(java.lang.String param0) | public static boolean | allowRemoveProperty(java.lang.String param0) | public static boolean | allowRemoveResource(java.lang.String param0) | public static boolean | allowRename(java.lang.String param0, java.lang.String param1) | public static boolean | allowUpdateCollection(java.lang.String param0) | public static boolean | allowUpdateResource(java.lang.String param0) | public static java.lang.String | archive(java.lang.String param0, org.w3c.dom.Document param1, java.util.Stack param2, java.lang.String param3, java.util.List param4) | public static java.lang.String | archiveResources(java.util.List param0, org.w3c.dom.Document param1, java.util.Stack param2, java.lang.String param3) | public static void | cancelCollection(org.sakaiproject.content.api.ContentCollectionEdit param0) | public static void | cancelResource(org.sakaiproject.content.api.ContentResourceEdit param0) | public static void | checkCollection(java.lang.String param0) | public static void | checkResource(java.lang.String param0) | public static void | commitCollection(org.sakaiproject.content.api.ContentCollectionEdit param0) | public static void | commitResource(org.sakaiproject.content.api.ContentResourceEdit param0) | public static void | commitResource(org.sakaiproject.content.api.ContentResourceEdit param0, int param1) | public static boolean | containsLockedNode(String id) | public static String | copy(java.lang.String param0, java.lang.String param1) | public static String | copyIntoFolder(java.lang.String param0, java.lang.String param1) | public static void | createDropboxCollection() | public static void | createDropboxCollection(java.lang.String param0) | public static void | createIndividualDropbox(java.lang.String param0) | public static org.sakaiproject.content.api.ContentCollectionEdit | editCollection(java.lang.String param0) | public static org.sakaiproject.content.api.ContentResourceEdit | editResource(java.lang.String param0) | public static void | eliminateDuplicates(java.util.Collection param) | public static java.util.List | findResources(String type, String primaryMimeType, String subMimeType) | public static java.util.List | getAllEntities(java.lang.String param0) | public static java.util.List | getAllResources(java.lang.String param0) | public static org.sakaiproject.content.api.ContentCollection | getCollection(java.lang.String param0) | public static java.util.Map | getCollectionMap() | public static java.lang.String | getContainingCollectionId(java.lang.String param0) | public static int | getDepth(java.lang.String param0, java.lang.String param1) | public static java.lang.String | getDropboxCollection() | public static java.lang.String | getDropboxCollection(java.lang.String param0) | public static java.lang.String | getDropboxDisplayName() | public static java.lang.String | getDropboxDisplayName(java.lang.String param0) | public static java.util.Collection | getGroupsWithAddPermission(java.lang.String param0) | public static java.util.Collection | getGroupsWithReadAccess(java.lang.String param0) | public static java.util.Collection | getGroupsWithRemovePermission(java.lang.String param0) | public static org.sakaiproject.content.api.ContentHostingService | getInstance() Access the component instance: special cover only method. | public static java.lang.String | getLabel() | public static java.util.Collection | getLocks(String id) | public static org.sakaiproject.entity.api.ResourceProperties | getProperties(java.lang.String param0) | public static long | getQuota(org.sakaiproject.content.api.ContentCollection collection) gets the quota for a site collection or for a user's my workspace collection
Parameters: collection - the collection on which to test for a quota. | public static java.lang.String | getReference(java.lang.String param0) | public static org.sakaiproject.content.api.ContentResource | getResource(java.lang.String param0) | public static java.lang.String | getSiteCollection(java.lang.String param0) | public static java.lang.String | getUrl(java.lang.String param0) | public static java.lang.String | getUrl(java.lang.String param0, java.lang.String param1) | public static String | getUuid(String id) | public static boolean | isAttachmentResource(java.lang.String param0) | public static boolean | isAvailabilityEnabled() | public static boolean | isCollection(java.lang.String entityId) | public static boolean | isDropboxMaintainer() | public static boolean | isDropboxMaintainer(java.lang.String param0) | public static boolean | isInDropbox(java.lang.String param0) | public static boolean | isInheritingPubView(java.lang.String param0) | public static boolean | isLocked(String id) | public static boolean | isPubView(java.lang.String param0) | public static boolean | isRootCollection(java.lang.String param0) | public static boolean | isShortRefs() | public static boolean | isSortByPriorityEnabled() | public static void | lockObject(String id, String lockId, String subject, boolean system) | public static java.lang.String | merge(java.lang.String param0, org.w3c.dom.Element param1, java.lang.String param2, java.lang.String param3, java.util.Map param4, java.util.HashMap param5, java.util.Set param6) | public static void | moveIntoFolder(java.lang.String param0, java.lang.String param1) | public static java.util.Comparator | newContentHostingComparator(java.lang.String param0, boolean param1) | public static org.sakaiproject.entity.api.ResourcePropertiesEdit | newResourceProperties() | public static void | removeAllLocks(String id) | public static void | removeCollection(org.sakaiproject.content.api.ContentCollectionEdit param0) | public static void | removeCollection(java.lang.String param0) | public static void | removeLock(String id, String lockId) | public static org.sakaiproject.entity.api.ResourceProperties | removeProperty(java.lang.String param0, java.lang.String param1) | public static void | removeResource(org.sakaiproject.content.api.ContentResourceEdit param0) | public static void | removeResource(java.lang.String param0) | public static void | rename(java.lang.String param0, java.lang.String param1) | public static String | resolveUuid(String uuid) | public static void | setPubView(java.lang.String param0, boolean param1) | public static void | setUuid(java.lang.String id, java.lang.String uuid) | public static org.sakaiproject.content.api.ContentResource | updateResource(java.lang.String param0, java.lang.String param1, byte[] param2) | public static boolean | usingResourceTypeRegistry() |
MAXIMUM_RESOURCE_ID_LENGTH | public static int MAXIMUM_RESOURCE_ID_LENGTH(Code) | | |
addAttachmentResource | public static org.sakaiproject.content.api.ContentResource addAttachmentResource(java.lang.String param0, java.lang.String param1, java.lang.String param2, java.lang.String param3, byte[] param4, org.sakaiproject.entity.api.ResourceProperties param5) throws org.sakaiproject.exception.IdInvalidException, org.sakaiproject.exception.InconsistentException, org.sakaiproject.exception.IdUsedException, org.sakaiproject.exception.PermissionException, org.sakaiproject.exception.OverQuotaException, org.sakaiproject.exception.ServerOverloadException(Code) | | |
addCollection | public static org.sakaiproject.content.api.ContentCollection addCollection(java.lang.String param0, org.sakaiproject.entity.api.ResourceProperties param1, java.util.Collection param2, boolean param3, org.sakaiproject.time.api.Time param4, org.sakaiproject.time.api.Time param5) throws org.sakaiproject.exception.IdUsedException, org.sakaiproject.exception.IdInvalidException, org.sakaiproject.exception.PermissionException, org.sakaiproject.exception.InconsistentException(Code) | | Parameters: param0 - Parameters: param1 - Parameters: param2 - Parameters: param3 - Parameters: param4 - Parameters: param5 - throws: org.sakaiproject.exception.IdUsedException - throws: org.sakaiproject.exception.IdInvalidException - throws: org.sakaiproject.exception.PermissionException - throws: org.sakaiproject.exception.InconsistentException - ContentHostingService.addCollection(String)ContentHostingService.getPropertiesEdit()ContentHostingService.setGroupAccess(Collection)ContentHostingService.setAvailability(boolean,Time,Time)ContentHostingService.commitCollection(ContentCollectionEdit) |
addResource | public static org.sakaiproject.content.api.ContentResource addResource(java.lang.String param0, java.lang.String param1, int param2, java.lang.String param3, byte[] param4, org.sakaiproject.entity.api.ResourceProperties param5, int param6) throws org.sakaiproject.exception.PermissionException, org.sakaiproject.exception.IdInvalidException, org.sakaiproject.exception.InconsistentException, org.sakaiproject.exception.OverQuotaException, org.sakaiproject.exception.ServerOverloadException, org.sakaiproject.exception.IdUniquenessException, org.sakaiproject.exception.IdLengthException(Code) | | |
addResource | public static org.sakaiproject.content.api.ContentResource addResource(java.lang.String param0, java.lang.String param1, byte[] param2, org.sakaiproject.entity.api.ResourceProperties param3, java.util.Collection param4, int param5) throws org.sakaiproject.exception.PermissionException, org.sakaiproject.exception.IdUsedException, org.sakaiproject.exception.IdInvalidException, org.sakaiproject.exception.InconsistentException, org.sakaiproject.exception.OverQuotaException, org.sakaiproject.exception.ServerOverloadException(Code) | | |
addResource | public static org.sakaiproject.content.api.ContentResource addResource(java.lang.String param0, java.lang.String param1, int param2, java.lang.String param3, byte[] param4, org.sakaiproject.entity.api.ResourceProperties param5, java.util.Collection param6, boolean param7, org.sakaiproject.time.api.Time param8, org.sakaiproject.time.api.Time param9, int param10) throws org.sakaiproject.exception.PermissionException, org.sakaiproject.exception.IdInvalidException, org.sakaiproject.exception.InconsistentException, org.sakaiproject.exception.OverQuotaException, org.sakaiproject.exception.ServerOverloadException, org.sakaiproject.exception.IdUniquenessException, org.sakaiproject.exception.IdLengthException(Code) | | |
allowAddAttachmentResource | public static boolean allowAddAttachmentResource()(Code) | | |
containsLockedNode | public static boolean containsLockedNode(String id)(Code) | | |
copyIntoFolder | public static String copyIntoFolder(java.lang.String param0, java.lang.String param1) throws org.sakaiproject.exception.PermissionException, org.sakaiproject.exception.IdUnusedException, org.sakaiproject.exception.IdLengthException, org.sakaiproject.exception.IdUniquenessException, org.sakaiproject.exception.TypeException, org.sakaiproject.exception.InUseException, org.sakaiproject.exception.OverQuotaException, org.sakaiproject.exception.IdUsedException, org.sakaiproject.exception.ServerOverloadException, org.sakaiproject.exception.InconsistentException(Code) | | |
createDropboxCollection | public static void createDropboxCollection()(Code) | | |
getQuota | public static long getQuota(org.sakaiproject.content.api.ContentCollection collection)(Code) | | gets the quota for a site collection or for a user's my workspace collection
Parameters: collection - the collection on which to test for a quota. this can be the collection for a siteor a user's workspace collection the quota in kb |
isAvailabilityEnabled | public static boolean isAvailabilityEnabled()(Code) | | |
isDropboxMaintainer | public static boolean isDropboxMaintainer()(Code) | | |
isShortRefs | public static boolean isShortRefs()(Code) | | |
isSortByPriorityEnabled | public static boolean isSortByPriorityEnabled()(Code) | | |
removeAllLocks | public static void removeAllLocks(String id)(Code) | | |
usingResourceTypeRegistry | public static boolean usingResourceTypeRegistry()(Code) | | |
|
|