Java Doc for BriefcaseEngine.java in  » J2EE » fleXive » com » flexive » shared » interfaces » 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 » J2EE » fleXive » com.flexive.shared.interfaces 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.flexive.shared.interfaces.BriefcaseEngine

All known Subclasses:   com.flexive.ejb.beans.BriefcaseEngineBean,
BriefcaseEngine
public interface BriefcaseEngine (Code)
Bean handling Briefcases.

A briefcase is a object store which may be accessed with flexive SQL or the API provided by this beans.
author:
   Gregor Schober (gregor.schober@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)





Method Summary
 voidaddItems(long id, long[] objectIds)
     Add the given items to the briefcase.
 voidclear(long id)
     Removes all items of the given briefcase.
 longcreate(String name, String description, Long aclId)
     Creates a new empty briefcase.
Parameters:
  name - the name of the briefcase.
Parameters:
  description - the description (may be empty)
Parameters:
  aclId - the ACL to use if the briefcase should be shared, or null if the briefcase isonly visible for the owner.
 long[]getItems(long id)
     Load all item IDs stored in the given briefcase.
 List<Briefcase>getList(boolean includeShared)
     Gets a list of all briefcase for the calling user.
 Briefcaseload(long id)
     Loads the briefcase with the given id.
 voidmodify(long id, String name, String description, Long aclId)
     Modifies a briefcase.
 voidremove(long id)
     Removes the briefcase with the specified id.
 voidremoveItems(long id, long[] objectIds)
     Removes the given items from the briefcase.
 voidsetItems(long id, long[] objectIds)
     Replace the current briefcase content with the given objects (i.e.
 voidupdateItems(long id, long[] addObjectIds, long[] removeObjectIds)
     Adds/removes the given items for the briefcase.



Method Detail
addItems
void addItems(long id, long[] objectIds) throws FxApplicationException(Code)
Add the given items to the briefcase.
Parameters:
  id - the briefcase ID
Parameters:
  objectIds - the object IDs to be added
throws:
  FxApplicationException - if the items could not be added



clear
void clear(long id) throws FxApplicationException(Code)
Removes all items of the given briefcase.
Parameters:
  id - the briefcase ID
throws:
  FxApplicationException - if the briefcase could not be cleared



create
long create(String name, String description, Long aclId) throws FxApplicationException(Code)
Creates a new empty briefcase.
Parameters:
  name - the name of the briefcase.
Parameters:
  description - the description (may be empty)
Parameters:
  aclId - the ACL to use if the briefcase should be shared, or null if the briefcase isonly visible for the owner. the unique briefcase id
throws:
  FxApplicationException - if the create failed



getItems
long[] getItems(long id) throws FxApplicationException(Code)
Load all item IDs stored in the given briefcase.
Parameters:
  id - the briefcase ID the item IDs
throws:
  FxApplicationException - if the items could not be loaded



getList
List<Briefcase> getList(boolean includeShared) throws FxApplicationException(Code)
Gets a list of all briefcase for the calling user.
Parameters:
  includeShared - if enabled shared briefcases will be included, if disabled onlythe briefcases created by the calling user will be returned the briefcases
throws:
  FxApplicationException - if the function fails



load
Briefcase load(long id) throws FxApplicationException(Code)
Loads the briefcase with the given id.
Parameters:
  id - the id the briefcase
throws:
  FxApplicationException - if a error occured
throws:
  com.flexive.shared.exceptions.FxNotFoundException - if it could not be found or was not readable by the calling user.



modify
void modify(long id, String name, String description, Long aclId) throws FxApplicationException(Code)
Modifies a briefcase.
Parameters:
  name - the new name of the briefcase, or null to keep the old value
Parameters:
  description - the new description, or null to keep the old value
Parameters:
  aclId - the new ACL, or -1 to remove a old acl, or null to keep the old value
Parameters:
  id - the id of the briefcase to modify
throws:
  FxApplicationException - if the modify operation failed



remove
void remove(long id) throws FxApplicationException(Code)
Removes the briefcase with the specified id.

The calling user may remove a briefcase if he is the owner, or if he has ben granted the remove permission via the briefcases ACL.
A global supervisor may remove and briefcase.
A mandator supervisor may remove all briefcases that belong to his domain.

Parameters:
  id - the id
throws:
  FxApplicationException - if the calling user lacks the remove permission and is not the owner,or if a other error occured.




removeItems
void removeItems(long id, long[] objectIds) throws FxApplicationException(Code)
Removes the given items from the briefcase.
Parameters:
  id - the briefcase ID
Parameters:
  objectIds - the objects to be removed
throws:
  FxApplicationException - if the items could not be removed



setItems
void setItems(long id, long[] objectIds) throws FxApplicationException(Code)
Replace the current briefcase content with the given objects (i.e. clear the briefcase, then add the given objects).
Parameters:
  id - the briefcase ID
Parameters:
  objectIds - the new briefcase content
throws:
  FxApplicationException - if the content could not be replaced



updateItems
void updateItems(long id, long[] addObjectIds, long[] removeObjectIds) throws FxApplicationException(Code)
Adds/removes the given items for the briefcase.
Parameters:
  id - the briefcase ID
Parameters:
  addObjectIds - items to be added
Parameters:
  removeObjectIds - items to be removed
throws:
  FxApplicationException - if the briefcase could not be updated



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