Java Doc for DbContentService.java in  » ERP-CRM-Financial » sakai » org » sakaiproject » content » impl » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ERP CRM Financial » sakai » org.sakaiproject.content.impl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.sakaiproject.content.impl.BaseContentService
      org.sakaiproject.content.impl.DbContentService

DbContentService
public class DbContentService extends BaseContentService (Code)

DbContentService is an extension of the BaseContentService with a database implementation.

The sql scripts in src/sql/chef_content.sql must be run on the database.


Inner Class :protected class DbStorage implements Storage
Inner Class :public class Counter

Field Summary
final protected static  String[]COLLECTION_FIELDS
     The extra field(s) to write to the database - collections.
final protected static  String[]RESOURCE_FIELDS
     The extra field(s) to write to the database - resources - when we are doing bodys the db.
final protected static  String[]RESOURCE_FIELDS_FILE
     The extra field(s) to write to the database - resources - when we are doing bodys in files.
final protected static  intSTREAM_BUFFER_SIZE
     The chunk size used when streaming (100k).
final protected static  StringVALID_CHARS
     We allow these characters to go un-escaped into the file name.
protected  booleanm_autoDdl
     Configuration: to run the ddl on init or not.
protected  Stringm_collectionTableName
     Table name for collections.
protected  booleanm_convertToFile
     Set if we are to run the to-file conversion.
protected  Stringm_groupTableName
     Table name for entity-group relationships.
 LockManagerm_lockManager
    
protected  booleanm_locksInDb
     If true, we do our locks in the remote database, otherwise we do them here.
protected  Stringm_resourceBodyDeleteTableName
     Table name for resources delete.
protected  Stringm_resourceBodyTableName
     Table name for resources.
protected  Stringm_resourceDeleteTableName
     Table name for resources delete.
protected  Stringm_resourceTableName
     Table name for resources.
protected  SqlServicem_sqlService
    


Method Summary
public  booleancontainsLockedNode(String id)
    
protected  voidconvertToFile()
     Create a file system body binary for any content_resource record that has a null file_path.
protected  StringescapeResourceName(String id)
     Return file system safe escaped name, that's also unique if the initial id is unique.
protected  StringexternalResourceFileName(ContentResource resource)
     Form the full file path+name used to store the resource body in an external file system.
Parameters:
  resource - The resource.
public  intgetCollectionSize(String id)
    
public  ContentHostingHandlerResolverImplgetContentHostingHandlerResolver()
    
protected  ListgetFlatResources(String parentId)
    
public  CollectiongetLocks(String id)
    
public  StringgetUuid(String id)
    
public  voidinit()
     Final initialization, once all dependencies are set.
public  booleanisLocked(String id)
    
public  voidlockObject(String id, String lockId, String subject, boolean system)
    
protected  StoragenewStorage()
     Construct a Storage object.
public  voidremoveAllLocks(String id)
    
public  voidremoveLock(String id, String lockId)
    
public  StringresolveUuid(String uuid)
    
public  voidsetAutoDdl(String value)
     Configuration: to run the ddl on init or not.
public  voidsetCollectionTableName(String name)
     Configuration: set the table name for collections.
public  voidsetContentHostingHandlerResolver(ContentHostingHandlerResolverImpl contentHostingHandlerResolver)
    
public  voidsetConvertToFile(String value)
     Configuration: run the to-file conversion.
public  voidsetEntityGroupTableName(String name)
    
public  voidsetLockManager(LockManager lockManager)
    
public  voidsetLocksInDb(String value)
    
public  voidsetResourceBodyDeleteTableName(String name)
    
public  voidsetResourceBodyTableName(String name)
     Configuration: set the table name for resource body.
public  voidsetResourceDeleteTableName(String name)
    
public  voidsetResourceTableName(String name)
     Configuration: set the table name for resources.
public  voidsetSqlService(SqlService service)
     Dependency: SqlService.
public  voidsetUuid(String id, String uuid)
    
protected  voidsetUuidInternal(String id, String uuid)
    

Field Detail
COLLECTION_FIELDS
final protected static String[] COLLECTION_FIELDS(Code)
The extra field(s) to write to the database - collections.



RESOURCE_FIELDS
final protected static String[] RESOURCE_FIELDS(Code)
The extra field(s) to write to the database - resources - when we are doing bodys the db.



RESOURCE_FIELDS_FILE
final protected static String[] RESOURCE_FIELDS_FILE(Code)
The extra field(s) to write to the database - resources - when we are doing bodys in files.



STREAM_BUFFER_SIZE
final protected static int STREAM_BUFFER_SIZE(Code)
The chunk size used when streaming (100k).



VALID_CHARS
final protected static String VALID_CHARS(Code)
We allow these characters to go un-escaped into the file name.



m_autoDdl
protected boolean m_autoDdl(Code)
Configuration: to run the ddl on init or not.



m_collectionTableName
protected String m_collectionTableName(Code)
Table name for collections.



m_convertToFile
protected boolean m_convertToFile(Code)
Set if we are to run the to-file conversion.



m_groupTableName
protected String m_groupTableName(Code)
Table name for entity-group relationships.



m_lockManager
LockManager m_lockManager(Code)
Dependency: LockManager



m_locksInDb
protected boolean m_locksInDb(Code)
If true, we do our locks in the remote database, otherwise we do them here.



m_resourceBodyDeleteTableName
protected String m_resourceBodyDeleteTableName(Code)
Table name for resources delete.



m_resourceBodyTableName
protected String m_resourceBodyTableName(Code)
Table name for resources.



m_resourceDeleteTableName
protected String m_resourceDeleteTableName(Code)
Table name for resources delete.



m_resourceTableName
protected String m_resourceTableName(Code)
Table name for resources.



m_sqlService
protected SqlService m_sqlService(Code)
Dependency: SqlService





Method Detail
containsLockedNode
public boolean containsLockedNode(String id)(Code)



convertToFile
protected void convertToFile()(Code)
Create a file system body binary for any content_resource record that has a null file_path.



escapeResourceName
protected String escapeResourceName(String id)(Code)
Return file system safe escaped name, that's also unique if the initial id is unique. * Use only the name, not the path part of the id
Parameters:
  value - The id to escape. value escaped.



externalResourceFileName
protected String externalResourceFileName(ContentResource resource)(Code)
Form the full file path+name used to store the resource body in an external file system.
Parameters:
  resource - The resource. The resource external file name.



getCollectionSize
public int getCollectionSize(String id) throws IdUnusedException, TypeException, PermissionException(Code)



getContentHostingHandlerResolver
public ContentHostingHandlerResolverImpl getContentHostingHandlerResolver()(Code)



getFlatResources
protected List getFlatResources(String parentId)(Code)



getLocks
public Collection getLocks(String id)(Code)



getUuid
public String getUuid(String id)(Code)
For a given id, return its UUID (creating it if it does not already exist)



init
public void init()(Code)
Final initialization, once all dependencies are set.



isLocked
public boolean isLocked(String id)(Code)



lockObject
public void lockObject(String id, String lockId, String subject, boolean system)(Code)



newStorage
protected Storage newStorage()(Code)
Construct a Storage object. The new storage object.



removeAllLocks
public void removeAllLocks(String id)(Code)



removeLock
public void removeLock(String id, String lockId)(Code)



resolveUuid
public String resolveUuid(String uuid)(Code)
For a given UUID, attempt to lookup and return the corresponding id (URI)



setAutoDdl
public void setAutoDdl(String value)(Code)
Configuration: to run the ddl on init or not.
Parameters:
  value - the auto ddl value.



setCollectionTableName
public void setCollectionTableName(String name)(Code)
Configuration: set the table name for collections.
Parameters:
  path - The table name for collections.



setContentHostingHandlerResolver
public void setContentHostingHandlerResolver(ContentHostingHandlerResolverImpl contentHostingHandlerResolver)(Code)



setConvertToFile
public void setConvertToFile(String value)(Code)
Configuration: run the to-file conversion.
Parameters:
  value - The conversion desired value.



setEntityGroupTableName
public void setEntityGroupTableName(String name)(Code)



setLockManager
public void setLockManager(LockManager lockManager)(Code)
Dependency: LockManager
Parameters:
  service - The LockManager



setLocksInDb
public void setLocksInDb(String value)(Code)
Configuration: set the locks-in-db
Parameters:
  value - The locks-in-db value.



setResourceBodyDeleteTableName
public void setResourceBodyDeleteTableName(String name)(Code)



setResourceBodyTableName
public void setResourceBodyTableName(String name)(Code)
Configuration: set the table name for resource body.
Parameters:
  path - The table name for resource body.



setResourceDeleteTableName
public void setResourceDeleteTableName(String name)(Code)



setResourceTableName
public void setResourceTableName(String name)(Code)
Configuration: set the table name for resources.
Parameters:
  path - The table name for resources.



setSqlService
public void setSqlService(SqlService service)(Code)
Dependency: SqlService.
Parameters:
  service - The SqlService.



setUuid
public void setUuid(String id, String uuid) throws IdInvalidException(Code)

Parameters:
  id - id of the resource to set the UUID for
Parameters:
  uuid - the new UUID of the resource
throws:
  IdInvalidException - if the given resource already has a UUID set



setUuidInternal
protected void setUuidInternal(String id, String uuid)(Code)



Fields inherited from org.sakaiproject.content.impl.BaseContentService
final public static String ACCESS_MODE(Code)(Java Doc)
final public static String CUSTOM_ORDER(Code)(Java Doc)
final public static String CUSTOM_RANK(Code)(Java Doc)
final protected static String DROPBOX_ID(Code)(Java Doc)
final protected static long END_OF_TIME(Code)(Java Doc)
final protected static String GROUP_LIST(Code)(Java Doc)
final protected static String GROUP_NAME(Code)(Java Doc)
final public static String HIDDEN(Code)(Java Doc)
final public static String MEMBER_ID(Code)(Java Doc)
final protected static String PROP_MEMBER_DROPBOX_DESCRIPTION(Code)(Java Doc)
final protected static String PROP_SITE_DROPBOX_DESCRIPTION(Code)(Java Doc)
final public static String RANK(Code)(Java Doc)
final public static String RELEASE_DATE(Code)(Java Doc)
final public static String RETRACT_DATE(Code)(Java Doc)
final public static String SITE_UPDATE_ACCESS(Code)(Java Doc)
final protected static long START_OF_TIME(Code)(Java Doc)
final protected static int STREAM_BUFFER_SIZE(Code)(Java Doc)
final protected static boolean STREAM_CONTENT(Code)(Java Doc)
protected AliasService m_aliasService(Code)(Java Doc)
protected boolean m_allowGroupResources(Code)(Java Doc)
protected AuthzGroupService m_authzGroupService(Code)(Java Doc)
protected boolean m_availabilityChecksEnabled(Code)(Java Doc)
protected String m_bodyPath(Code)(Java Doc)
protected String[] m_bodyVolumes(Code)(Java Doc)
protected Cache m_cache(Code)(Java Doc)
protected boolean m_caching(Code)(Java Doc)
protected EntityManager m_entityManager(Code)(Java Doc)
protected MemoryService m_memoryService(Code)(Java Doc)
protected NotificationService m_notificationService(Code)(Java Doc)
protected boolean m_prioritySortEnabled(Code)(Java Doc)
protected String m_relativeAccessPoint(Code)(Java Doc)
protected ResourceTypeRegistry m_resourceTypeRegistry(Code)(Java Doc)
protected SecurityService m_securityService(Code)(Java Doc)
protected ServerConfigurationService m_serverConfigurationService(Code)(Java Doc)
protected boolean m_shortRefs(Code)(Java Doc)
protected boolean m_siteAlias(Code)(Java Doc)
protected long m_siteQuota(Code)(Java Doc)
protected SiteService m_siteService(Code)(Java Doc)
protected Storage m_storage(Code)(Java Doc)
protected boolean useResourceTypeRegistry(Code)(Java Doc)

Methods inherited from org.sakaiproject.content.impl.BaseContentService
protected void WTUserIdTrans(Element el, Map userIdTrans)(Code)(Java Doc)
public ContentResource addAttachmentResource(String name, String type, byte[] content, ResourceProperties properties) throws IdInvalidException, InconsistentException, IdUsedException, PermissionException, OverQuotaException, ServerOverloadException(Code)(Java Doc)
public ContentResource addAttachmentResource(String name, String site, String tool, String type, byte[] content, ResourceProperties properties) throws IdInvalidException, InconsistentException, IdUsedException, PermissionException, OverQuotaException, ServerOverloadException(Code)(Java Doc)
public ContentResourceEdit addAttachmentResource(String name) throws IdInvalidException, InconsistentException, IdUsedException, PermissionException(Code)(Java Doc)
public ContentCollection addCollection(String id, ResourceProperties properties) throws IdUsedException, IdInvalidException, PermissionException, InconsistentException(Code)(Java Doc)
public ContentCollection addCollection(String id, ResourceProperties properties, Collection groups) throws IdUsedException, IdInvalidException, PermissionException, InconsistentException(Code)(Java Doc)
public ContentCollection addCollection(String id, ResourceProperties properties, Collection groups, boolean hidden, Time releaseDate, Time retractDate) throws IdUsedException, IdInvalidException, PermissionException, InconsistentException(Code)(Java Doc)
public ContentCollectionEdit addCollection(String id) throws IdUsedException, IdInvalidException, PermissionException, InconsistentException(Code)(Java Doc)
public ContentCollectionEdit addCollection(String collectionId, String name) throws PermissionException, IdUnusedException, IdUsedException, IdLengthException, IdInvalidException, TypeException(Code)(Java Doc)
public ContentResource addDeleteResource(String id, String type, byte[] content, ResourceProperties properties, String uuid, String userId, int priority) throws PermissionException(Code)(Java Doc)
protected void addLiveCollectionProperties(ContentCollectionEdit c)(Code)(Java Doc)
protected void addLiveResourceProperties(ContentResourceEdit r)(Code)(Java Doc)
protected void addLiveUpdateCollectionProperties(ContentCollectionEdit c)(Code)(Java Doc)
protected void addLiveUpdateResourceProperties(ContentResourceEdit r)(Code)(Java Doc)
protected void addProperties(ResourcePropertiesEdit p, ResourceProperties props)(Code)(Java Doc)
public ResourceProperties addProperty(String id, String name, String value) throws PermissionException, IdUnusedException, TypeException, InUseException, ServerOverloadException(Code)(Java Doc)
public ContentResource addResource(String id, String type, byte[] content, ResourceProperties properties, Collection groups, int priority) throws PermissionException, IdUsedException, IdInvalidException, InconsistentException, OverQuotaException, ServerOverloadException(Code)(Java Doc)
public ContentResource addResource(String id, String type, byte[] content, ResourceProperties properties, int priority) throws PermissionException, IdUsedException, IdInvalidException, InconsistentException, OverQuotaException, ServerOverloadException(Code)(Java Doc)
public ContentResource addResource(String name, String collectionId, int limit, String type, byte[] content, ResourceProperties properties, Collection groups, boolean hidden, Time releaseDate, Time retractDate, int priority) throws PermissionException, IdUniquenessException, IdLengthException, IdInvalidException, InconsistentException, OverQuotaException, ServerOverloadException(Code)(Java Doc)
public ContentResourceEdit addResource(String collectionId, String basename, String extension, int maximum_tries) throws PermissionException, IdUniquenessException, IdLengthException, IdInvalidException, IdUnusedException, OverQuotaException, ServerOverloadException(Code)(Java Doc)
public ContentResource addResource(String name, String collectionId, int limit, String type, byte[] content, ResourceProperties properties, int priority) throws PermissionException, IdUniquenessException, IdLengthException, IdInvalidException, InconsistentException, OverQuotaException, ServerOverloadException(Code)(Java Doc)
public ContentResourceEdit addResource(String id) throws PermissionException, IdUsedException, IdInvalidException, InconsistentException(Code)(Java Doc)
public ContentResource addResource(String name, String collectionId, int limit, String type, byte[] content, ResourceProperties properties, Collection groups, int priority) throws PermissionException, IdUniquenessException, IdLengthException, IdInvalidException, InconsistentException, OverQuotaException, ServerOverloadException(Code)(Java Doc)
public void addResourceToDeleteTable(ContentResourceEdit edit, String uuid, String userId) throws PermissionException(Code)(Java Doc)
protected void addSizeCache(ContentResourceEdit edit)(Code)(Java Doc)
protected ContentCollectionEdit addValidPermittedCollection(String id) throws IdUsedException, InconsistentException(Code)(Java Doc)
protected void adjustGroups(ContentEntity member, Collection groups)(Code)(Java Doc)
public boolean allowAddAttachmentResource()(Code)(Java Doc)
public boolean allowAddCollection(String id)(Code)(Java Doc)
public boolean allowAddProperty(String id)(Code)(Java Doc)
public boolean allowAddResource(String id)(Code)(Java Doc)
public boolean allowCopy(String id, String new_id)(Code)(Java Doc)
public boolean allowGetCollection(String id)(Code)(Java Doc)
public boolean allowGetProperties(String id)(Code)(Java Doc)
public boolean allowGetResource(String id)(Code)(Java Doc)
protected boolean allowRemove(String id)(Code)(Java Doc)
public boolean allowRemoveCollection(String id)(Code)(Java Doc)
public boolean allowRemoveProperty(String id)(Code)(Java Doc)
public boolean allowRemoveResource(String id)(Code)(Java Doc)
public boolean allowRename(String id, String new_id)(Code)(Java Doc)
public boolean allowUpdate(String id)(Code)(Java Doc)
public boolean allowUpdateCollection(String id)(Code)(Java Doc)
public boolean allowUpdateResource(String id)(Code)(Java Doc)
public String archive(String siteId, Document doc, Stack stack, String archivePath, List attachments)(Code)(Java Doc)
protected void archiveCollection(ContentCollection collection, Document doc, Stack stack, String storagePath, String siteCollectionId, StringBuffer results)(Code)(Java Doc)
protected String archiveResource(ContentResource resource, Document doc, Stack stack, String storagePath, String siteCollectionId)(Code)(Java Doc)
public String archiveResources(List attachments, Document doc, Stack stack, String archivePath)(Code)(Java Doc)
protected void assureResourceProperties(ContentResourceEdit r)(Code)(Java Doc)
protected boolean availabilityCheck(String id) throws IdUnusedException(Code)(Java Doc)
protected long bytes2k(long bytes)(Code)(Java Doc)
public void cancelCollection(ContentCollectionEdit edit)(Code)(Java Doc)
public void cancelResource(ContentResourceEdit edit)(Code)(Java Doc)
public void checkCollection(String id) throws IdUnusedException, TypeException, PermissionException(Code)(Java Doc)
protected void checkExplicitLock(String id) throws PermissionException(Code)(Java Doc)
public void checkResource(String id) throws PermissionException, IdUnusedException, TypeException(Code)(Java Doc)
public void commitCollection(ContentCollectionEdit edit)(Code)(Java Doc)
public void commitResource(ContentResourceEdit edit) throws OverQuotaException, ServerOverloadException(Code)(Java Doc)
public void commitResource(ContentResourceEdit edit, int priority) throws OverQuotaException, ServerOverloadException(Code)(Java Doc)
protected void commitResourceEdit(ContentResourceEdit edit, int priority) throws ServerOverloadException(Code)(Java Doc)
public void contextCreated(String context, boolean toolPlacement)(Code)(Java Doc)
public void contextDeleted(String context, boolean toolPlacement)(Code)(Java Doc)
public void contextUpdated(String context, boolean toolPlacement)(Code)(Java Doc)
protected String convertIdToUserEid(String id)(Code)(Java Doc)
protected String convertLockIfDropbox(String lock, String id)(Code)(Java Doc)
public String copy(String id, String new_id) throws PermissionException, IdUnusedException, TypeException, InUseException, OverQuotaException, IdUsedException, ServerOverloadException(Code)(Java Doc)
public String copyCollection(ContentCollection thisCollection, String new_id) throws PermissionException, IdUnusedException, TypeException, InUseException, OverQuotaException, IdUsedException(Code)(Java Doc)
public String copyIntoFolder(String id, String folder_id) throws PermissionException, IdUnusedException, TypeException, InUseException, IdLengthException, IdUniquenessException, OverQuotaException, InconsistentException, IdUsedException, ServerOverloadException(Code)(Java Doc)
public String copyResource(ContentResource resource, String new_id) throws PermissionException, IdUnusedException, TypeException, InUseException, OverQuotaException, IdUsedException, ServerOverloadException(Code)(Java Doc)
public void createDropboxCollection()(Code)(Java Doc)
public void createDropboxCollection(String siteId)(Code)(Java Doc)
public void createIndividualDropbox(String siteId)(Code)(Java Doc)
protected String deepcopyCollection(ContentCollection thisCollection, String new_folder_id) throws PermissionException, IdUnusedException, TypeException, InUseException, IdLengthException, IdUniquenessException, OverQuotaException, IdUsedException, ServerOverloadException(Code)(Java Doc)
public void destroy()(Code)(Java Doc)
protected void disableDropbox(String context)(Code)(Java Doc)
protected void disableResources(String context)(Code)(Java Doc)
public ContentCollectionEdit editCollection(String id) throws IdUnusedException, TypeException, PermissionException, InUseException(Code)(Java Doc)
public ContentResourceEdit editResource(String id) throws PermissionException, IdUnusedException, TypeException, InUseException(Code)(Java Doc)
protected ContentResourceEdit editResourceForDelete(String id) throws PermissionException, IdUnusedException, TypeException, InUseException(Code)(Java Doc)
public void eliminateDuplicates(Collection resourceIds)(Code)(Java Doc)
protected void enableDropbox(String context)(Code)(Java Doc)
protected void enableResources(String context)(Code)(Java Doc)
protected List filterArtifacts(List artifacts, String type, String primaryMimeType, String subMimeType)(Code)(Java Doc)
protected List filterArtifacts(List artifacts, String type, String primaryMimeType, String subMimeType, boolean checkPerms)(Code)(Java Doc)
protected ContentCollection findCollection(String id) throws TypeException(Code)(Java Doc)
protected ContentResource findResource(String id) throws TypeException(Code)(Java Doc)
public List findResources(String type, String primaryMimeType, String subMimeType)(Code)(Java Doc)
protected Hashtable fixTypeAndId(String id, String type)(Code)(Java Doc)
protected void generateCollections(String target)(Code)(Java Doc)
protected String getAccessPoint(boolean relative)(Code)(Java Doc)
public List getAllEntities(String id)(Code)(Java Doc)
protected void getAllEntities(ContentCollection collection, List rv, boolean includeCollections)(Code)(Java Doc)
public List getAllResources(String id)(Code)(Java Doc)
protected void getAllResources(ContentCollection collection, List rv, boolean includeCollections)(Code)(Java Doc)
public boolean getAllowGroupResources()(Code)(Java Doc)
protected String getAlternateReferenceRoot(String id, String rootProperty)(Code)(Java Doc)
public ContentCollection getCollection(String id) throws IdUnusedException, TypeException, PermissionException(Code)(Java Doc)
public Map getCollectionMap()(Code)(Java Doc)
public String getContainingCollectionId(String id)(Code)(Java Doc)
public int getDepth(String resourceId, String baseCollectionId)(Code)(Java Doc)
public String getDropboxCollection()(Code)(Java Doc)
public String getDropboxCollection(String siteId)(Code)(Java Doc)
public String getDropboxDisplayName()(Code)(Java Doc)
public String getDropboxDisplayName(String siteId)(Code)(Java Doc)
public Entity getEntity(Reference ref)(Code)(Java Doc)
public Collection getEntityAuthzGroups(Reference ref, String userId)(Code)(Java Doc)
public String getEntityDescription(Reference ref)(Code)(Java Doc)
protected Collection getEntityHierarchyAuthzGroups(Reference ref)(Code)(Java Doc)
public ResourceProperties getEntityResourceProperties(Reference ref)(Code)(Java Doc)
public String getEntityUrl(Reference ref)(Code)(Java Doc)
protected List getFlatResources(String parentId)(Code)(Java Doc)
protected Collection getGroupsAllowFunction(String function, String refString)(Code)(Java Doc)
public Collection getGroupsWithAddPermission(String collectionId)(Code)(Java Doc)
public Collection getGroupsWithReadAccess(String collectionId)(Code)(Java Doc)
public Collection getGroupsWithRemovePermission(String collectionId)(Code)(Java Doc)
public HttpAccess getHttpAccess()(Code)(Java Doc)
public String getLabel()(Code)(Java Doc)
public boolean getPrioritySortEnabled()(Code)(Java Doc)
public ResourceProperties getProperties(String id) throws PermissionException, IdUnusedException(Code)(Java Doc)
public long getQuota(ContentCollection collection)(Code)(Java Doc)
public String getReference(String id)(Code)(Java Doc)
public ContentResource getResource(String id) throws PermissionException, IdUnusedException, TypeException(Code)(Java Doc)
public ResourceTypeRegistry getResourceTypeRegistry()(Code)(Java Doc)
public String getSiteCollection(String siteId)(Code)(Java Doc)
public String getUrl(String id)(Code)(Java Doc)
public String getUrl(String id, String rootProperty)(Code)(Java Doc)
protected boolean groupCollectionContainsRefString(Collection groups, String groupRef)(Code)(Java Doc)
protected void handleAccessCollection(HttpServletRequest req, HttpServletResponse res, Reference ref, Collection copyrightAcceptedRefs) throws EntityPermissionException, EntityNotDefinedException, EntityAccessOverloadException, EntityCopyrightException(Code)(Java Doc)
protected void handleAccessResource(HttpServletRequest req, HttpServletResponse res, Reference ref, Collection copyrightAcceptedRefs) throws EntityPermissionException, EntityNotDefinedException, EntityAccessOverloadException, EntityCopyrightException(Code)(Java Doc)
public void init()(Code)(Java Doc)
public boolean isAttachmentResource(String id)(Code)(Java Doc)
public boolean isAvailabilityEnabled()(Code)(Java Doc)
public boolean isAvailable(String entityId)(Code)(Java Doc)
public boolean isCollection(String entityId)(Code)(Java Doc)
public boolean isDropboxMaintainer()(Code)(Java Doc)
public boolean isDropboxMaintainer(String siteId)(Code)(Java Doc)
public boolean isInDropbox(String entityId)(Code)(Java Doc)
public boolean isInheritingPubView(String id)(Code)(Java Doc)
public boolean isPubView(String id)(Code)(Java Doc)
public boolean isRootCollection(String id)(Code)(Java Doc)
public boolean isShortRefs()(Code)(Java Doc)
public boolean isSortByPriorityEnabled()(Code)(Java Doc)
protected String isolateContainingId(String id)(Code)(Java Doc)
protected String isolateName(String id)(Code)(Java Doc)
public String merge(String siteId, Element root, String archivePath, String mergeId, Map attachmentNames, Map userIdTrans, Set userListAllowImport)(Code)(Java Doc)
protected ContentCollection mergeCollection(Element element) throws PermissionException, InconsistentException, IdInvalidException(Code)(Java Doc)
protected ContentResource mergeResource(Element element) throws PermissionException, InconsistentException, IdInvalidException, OverQuotaException, ServerOverloadException(Code)(Java Doc)
protected ContentResource mergeResource(Element element, byte[] body) throws PermissionException, InconsistentException, IdInvalidException, OverQuotaException, ServerOverloadException(Code)(Java Doc)
protected String moveCollection(ContentCollectionEdit thisCollection, String new_folder_id) throws PermissionException, IdUnusedException, TypeException, InUseException, OverQuotaException, IdUsedException, ServerOverloadException(Code)(Java Doc)
public String moveIntoFolder(String id, String folder_id) throws PermissionException, IdUnusedException, TypeException, InUseException, OverQuotaException, IdUsedException, InconsistentException, ServerOverloadException(Code)(Java Doc)
protected String moveResource(ContentResourceEdit thisResource, String new_id) throws PermissionException, IdUnusedException, TypeException, InUseException, OverQuotaException, IdUsedException, ServerOverloadException(Code)(Java Doc)
public String[] myToolIds()(Code)(Java Doc)
public Comparator newContentHostingComparator(String property, boolean ascending)(Code)(Java Doc)
protected String newName(String id, String folder_id) throws PermissionException, IdUnusedException(Code)(Java Doc)
public ResourcePropertiesEdit newResourceProperties()(Code)(Java Doc)
abstract protected Storage newStorage()(Code)(Java Doc)
protected boolean overQuota(ContentResourceEdit edit)(Code)(Java Doc)
public boolean parseEntityReference(String reference, Reference ref)(Code)(Java Doc)
public Object refresh(Object key, Object oldValue, Event event)(Code)(Java Doc)
public void removeCollection(ContentCollectionEdit edit) throws TypeException, PermissionException, InconsistentException, ServerOverloadException(Code)(Java Doc)
public void removeCollection(String id) throws IdUnusedException, TypeException, PermissionException, InUseException, ServerOverloadException(Code)(Java Doc)
public ResourceProperties removeProperty(String id, String name) throws PermissionException, IdUnusedException, TypeException, InUseException, ServerOverloadException(Code)(Java Doc)
protected void removeRecursive(ContentCollection parent)(Code)(Java Doc)
public void removeResource(String id) throws PermissionException, IdUnusedException, TypeException, InUseException(Code)(Java Doc)
public void removeResource(ContentResourceEdit edit) throws PermissionException(Code)(Java Doc)
protected void removeSizeCache(ContentResourceEdit edit)(Code)(Java Doc)
public String rename(String id, String new_id) throws IdUnusedException, TypeException, PermissionException, InUseException, OverQuotaException, InconsistentException, IdUsedException, ServerOverloadException(Code)(Java Doc)
public void setAliasService(AliasService service)(Code)(Java Doc)
public void setAllowGroupResources(boolean allowGroupResources)(Code)(Java Doc)
public void setAuthzGroupService(AuthzGroupService service)(Code)(Java Doc)
public void setAvailabilityChecksEnabled(boolean value)(Code)(Java Doc)
public void setBodyPath(String value)(Code)(Java Doc)
public void setBodyVolumes(String value)(Code)(Java Doc)
public void setCaching(String value)(Code)(Java Doc)
public void setEntityManager(EntityManager service)(Code)(Java Doc)
public void setMemoryService(MemoryService service)(Code)(Java Doc)
public void setNotificationService(NotificationService service)(Code)(Java Doc)
public void setPrioritySortEnabled(boolean value)(Code)(Java Doc)
public void setPubView(String id, boolean pubview)(Code)(Java Doc)
public void setResourceTypeRegistry(ResourceTypeRegistry registry)(Code)(Java Doc)
public void setSecurityService(SecurityService service)(Code)(Java Doc)
public void setServerConfigurationService(ServerConfigurationService service)(Code)(Java Doc)
public void setShortRefs(String value)(Code)(Java Doc)
public void setSiteAlias(String value)(Code)(Java Doc)
public void setSiteQuota(String quota)(Code)(Java Doc)
public void setSiteService(SiteService service)(Code)(Java Doc)
public void setUseResourceTypeRegistry(boolean useRegistry)(Code)(Java Doc)
abstract protected void setUuidInternal(String id, String uuid)(Code)(Java Doc)
public void transferCopyEntities(String fromContext, String toContext, List resourceIds)(Code)(Java Doc)
protected void unlock(String lock, String id) throws PermissionException(Code)(Java Doc)
protected boolean unlockCheck(String lock, String id)(Code)(Java Doc)
public ContentResource updateResource(String id, String type, byte[] content) throws PermissionException, IdUnusedException, TypeException, InUseException, OverQuotaException, ServerOverloadException(Code)(Java Doc)
public boolean usingResourceTypeRegistry()(Code)(Java Doc)
protected void verifyGroups(ContentCollection collection, Collection groups)(Code)(Java Doc)
public boolean willArchiveMerge()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.