├── SampleComponent01
├── readme.txt
├── SampleComponent01.zip
├── templates
│ ├── samplecomponent01_template.hda
│ └── SampleComponent01_content_types.htm
├── resources
│ ├── samplecomponent01_query.htm
│ ├── samplecomponent01_service.htm
│ └── samplecomponent01_resource1.htm
└── SampleComponent01.hda
├── .gitignore
├── README
├── RIDCJythonScripts
├── JythonWCCAllExampleScripts.zip
├── updatemetadata.py
├── deletecontent.py
├── unfilefolderitems.py
├── propagatemetadata.py
├── createanewfolder.py
├── deletefolderitems.py
├── movefolderitems.py
├── createshortcuts.py
├── copyfolderitems.py
├── uploadfile.py
└── listfolderitems.py
├── WebCenterContentInEnterprise
├── WebCenterContentArch.jpg
└── WebCenterContentArch.odg
├── Docker - Oracle WebCenter 11g
├── domain
│ ├── docker_domain_admin.jar
│ ├── docker_domain_managed.jar
│ ├── docker_domain_full_12172015_180612.jar
│ └── README
├── scripts
│ ├── README
│ ├── add_server.py
│ └── start_server.sh
├── jdk
│ └── README
├── rcu
│ └── README
├── wcp
│ ├── README
│ ├── Dockerfile.11.1.1.9.8
│ └── Dockerfile.11.1.1.9.0
├── wls
│ ├── README
│ └── silent.xml
├── wcc
│ ├── README
│ ├── Dockerfile.11.1.1.9.5
│ └── Dockerfile.11.1.1.9.0
├── Dockerfile.latest
├── Dockerfile.11.1.1.9.0
└── README
├── OracleDocumentsCloudDataControlPart1
├── Model
│ ├── classes
│ │ ├── .data
│ │ │ └── Model.cdi
│ │ ├── model
│ │ │ ├── Item.class
│ │ │ ├── Type.class
│ │ │ ├── ItemsDC.class
│ │ │ └── DataControls.dcx
│ │ ├── Model.properties
│ │ └── META-INF
│ │ │ └── adfm.xml
│ ├── public_html
│ │ └── WEB-INF
│ │ │ ├── faces-config.xml
│ │ │ └── web.xml
│ ├── Model.properties
│ ├── adfmsrc
│ │ ├── META-INF
│ │ │ └── adfm.xml
│ │ └── model
│ │ │ └── DataControls.dcx
│ ├── src
│ │ └── model
│ │ │ ├── Type.java
│ │ │ ├── Item.java
│ │ │ └── ItemsDC.java
│ └── Model.jpr
├── ViewController
│ ├── classes
│ │ ├── META-INF
│ │ │ ├── adf-settings.xml
│ │ │ └── adfm.xml
│ │ └── view
│ │ │ ├── DataBindings.cpx
│ │ │ └── pageDefs
│ │ │ └── index1PageDef.xml
│ ├── src
│ │ └── META-INF
│ │ │ └── adf-settings.xml
│ ├── public_html
│ │ ├── WEB-INF
│ │ │ ├── adfc-config.xml
│ │ │ ├── trinidad-config.xml
│ │ │ ├── faces-config.xml
│ │ │ └── web.xml
│ │ └── index1.jspx
│ ├── adfmsrc
│ │ ├── META-INF
│ │ │ └── adfm.xml
│ │ └── view
│ │ │ ├── DataBindings.cpx
│ │ │ └── pageDefs
│ │ │ └── index1PageDef.xml
│ └── ViewController.jpr
├── src
│ └── META-INF
│ │ └── weblogic-application.xml
├── .adf
│ └── META-INF
│ │ └── adf-config.xml
└── OracleDocumentsCloudDataControlPart1.jws
├── Rule-based Classification
├── rule-basedclassificationobjects_cmu.zip
├── generate_categories_example.sql
└── create_db_objects.sql
├── Docker - Oracle Database
├── xe
│ ├── README
│ └── Dockerfile.11.2.0.1.0
└── README
├── RIDCJavaStoredProcedures
├── sql-test-user.sql
├── sql-do-checkin-test.sql
└── CheckinFileIntoContentServer.java
├── Docker - Oracle Fusion Middleware 12c
├── installers
│ ├── README
│ └── silent.rsp
├── README
└── Dockerfile.12.2.1.0.0
├── DragAndDropFileUploadHTML5
└── file_upload.htm
└── LICENSE
/SampleComponent01/readme.txt:
--------------------------------------------------------------------------------
1 | SampleComponent01 Component
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | *.jdb
2 | *.lck
3 | .project
4 | .metadata
5 | .pydevproject
6 | .DS_Store
7 |
--------------------------------------------------------------------------------
/README:
--------------------------------------------------------------------------------
1 | Code snippets from examples in my blog @ https://blogs.oracle.com/OracleWebCenterSuite
2 |
--------------------------------------------------------------------------------
/SampleComponent01/SampleComponent01.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/freneticdisc/oracle-blog-examples/HEAD/SampleComponent01/SampleComponent01.zip
--------------------------------------------------------------------------------
/RIDCJythonScripts/JythonWCCAllExampleScripts.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/freneticdisc/oracle-blog-examples/HEAD/RIDCJythonScripts/JythonWCCAllExampleScripts.zip
--------------------------------------------------------------------------------
/WebCenterContentInEnterprise/WebCenterContentArch.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/freneticdisc/oracle-blog-examples/HEAD/WebCenterContentInEnterprise/WebCenterContentArch.jpg
--------------------------------------------------------------------------------
/WebCenterContentInEnterprise/WebCenterContentArch.odg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/freneticdisc/oracle-blog-examples/HEAD/WebCenterContentInEnterprise/WebCenterContentArch.odg
--------------------------------------------------------------------------------
/Docker - Oracle WebCenter 11g/domain/docker_domain_admin.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/freneticdisc/oracle-blog-examples/HEAD/Docker - Oracle WebCenter 11g/domain/docker_domain_admin.jar
--------------------------------------------------------------------------------
/Docker - Oracle WebCenter 11g/domain/docker_domain_managed.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/freneticdisc/oracle-blog-examples/HEAD/Docker - Oracle WebCenter 11g/domain/docker_domain_managed.jar
--------------------------------------------------------------------------------
/Docker - Oracle WebCenter 11g/scripts/README:
--------------------------------------------------------------------------------
1 | All scripts are located in this directory and are necessary.
2 |
3 | Also make sure that the file has appropriate file permissions.
4 |
5 | chmod -R go+r *
--------------------------------------------------------------------------------
/OracleDocumentsCloudDataControlPart1/Model/classes/.data/Model.cdi:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/freneticdisc/oracle-blog-examples/HEAD/OracleDocumentsCloudDataControlPart1/Model/classes/.data/Model.cdi
--------------------------------------------------------------------------------
/OracleDocumentsCloudDataControlPart1/Model/classes/model/Item.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/freneticdisc/oracle-blog-examples/HEAD/OracleDocumentsCloudDataControlPart1/Model/classes/model/Item.class
--------------------------------------------------------------------------------
/OracleDocumentsCloudDataControlPart1/Model/classes/model/Type.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/freneticdisc/oracle-blog-examples/HEAD/OracleDocumentsCloudDataControlPart1/Model/classes/model/Type.class
--------------------------------------------------------------------------------
/Rule-based Classification/rule-basedclassificationobjects_cmu.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/freneticdisc/oracle-blog-examples/HEAD/Rule-based Classification/rule-basedclassificationobjects_cmu.zip
--------------------------------------------------------------------------------
/OracleDocumentsCloudDataControlPart1/ViewController/classes/META-INF/adf-settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/OracleDocumentsCloudDataControlPart1/ViewController/src/META-INF/adf-settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/OracleDocumentsCloudDataControlPart1/Model/classes/model/ItemsDC.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/freneticdisc/oracle-blog-examples/HEAD/OracleDocumentsCloudDataControlPart1/Model/classes/model/ItemsDC.class
--------------------------------------------------------------------------------
/OracleDocumentsCloudDataControlPart1/Model/public_html/WEB-INF/faces-config.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Docker - Oracle WebCenter 11g/domain/docker_domain_full_12172015_180612.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/freneticdisc/oracle-blog-examples/HEAD/Docker - Oracle WebCenter 11g/domain/docker_domain_full_12172015_180612.jar
--------------------------------------------------------------------------------
/OracleDocumentsCloudDataControlPart1/Model/Model.properties:
--------------------------------------------------------------------------------
1 | ServiceURL=https://oradocs-corp.documents.us2.oraclecloud.com/documents/api/1.1
2 | UserName=abc.def@ghi.com
3 | Password=mypassword#1
4 | BaseFolderID=self
5 |
--------------------------------------------------------------------------------
/OracleDocumentsCloudDataControlPart1/Model/classes/Model.properties:
--------------------------------------------------------------------------------
1 | ServiceURL=https://oradocs-corp.documents.us2.oraclecloud.com/documents/api/1.1
2 | UserName=abc.def@ghi.com
3 | Password=mypassword#1
4 | BaseFolderID=self
5 |
--------------------------------------------------------------------------------
/OracleDocumentsCloudDataControlPart1/ViewController/public_html/WEB-INF/adfc-config.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/OracleDocumentsCloudDataControlPart1/Model/adfmsrc/META-INF/adfm.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/OracleDocumentsCloudDataControlPart1/Model/classes/META-INF/adfm.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/OracleDocumentsCloudDataControlPart1/ViewController/adfmsrc/META-INF/adfm.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/OracleDocumentsCloudDataControlPart1/ViewController/classes/META-INF/adfm.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/OracleDocumentsCloudDataControlPart1/ViewController/public_html/WEB-INF/trinidad-config.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | skyros
4 | v1
5 |
--------------------------------------------------------------------------------
/OracleDocumentsCloudDataControlPart1/ViewController/public_html/WEB-INF/faces-config.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | oracle.adf.rich
5 |
6 |
--------------------------------------------------------------------------------
/Docker - Oracle WebCenter 11g/jdk/README:
--------------------------------------------------------------------------------
1 | Login to My Oracle Support and download the file.
2 |
3 | URL: https://support.oracle.com/epmos/faces/PatchResultsNDetails?patchId=21984104
4 |
5 | Downloaded Files: p21984104_17091_Linux-x86-64.zip
6 |
7 | Also make sure that the file has appropriate file permissions
8 |
9 | chmod -R go+r *
--------------------------------------------------------------------------------
/Docker - Oracle Database/xe/README:
--------------------------------------------------------------------------------
1 | Download the database installer from here
2 | http://www.oracle.com/technetwork/database/database-technologies/express-edition/downloads/index.html
3 |
4 | Downloaded file: oracle-xe-11.2.0-1.0.x86_64.rpm.zip
5 |
6 | Also make sure that the file has appropriate file permissions
7 |
8 | chmod -R go+r *
9 |
--------------------------------------------------------------------------------
/Docker - Oracle WebCenter 11g/domain/README:
--------------------------------------------------------------------------------
1 | Required Files: docker_domain_admin.jar
2 | docker_domain_managed.jar
3 |
4 | These are the domain templates that can be either unpacked or user within
5 | config.sh to create a new domain based on it.
6 |
7 | Also make sure that the file has appropriate file permissions
8 |
9 | chmod -R go+r *
--------------------------------------------------------------------------------
/Docker - Oracle WebCenter 11g/rcu/README:
--------------------------------------------------------------------------------
1 | Login to Oracle Technology Network and download the file.
2 |
3 | URL: http://download.oracle.com/otn/linux/middleware/11g/111190/ofm_rcu_linux_11.1.1.9.0_64_disk1_1of1.zip
4 | Page: http://www.oracle.com/technetwork/middleware/webcenter/content/downloads/wcc-11g-downloads-2734036.html
5 |
6 | Downloaded Files: ofm_rcu_linux_11.1.1.9.0_64_disk1_1of1.zip
7 |
8 | Also make sure that the file has appropriate file permissions
9 |
10 | chmod -R go+r *
--------------------------------------------------------------------------------
/Docker - Oracle WebCenter 11g/wcp/README:
--------------------------------------------------------------------------------
1 | Login to Oracle Technology Network and download the file.
2 |
3 | http://www.oracle.com/technetwork/middleware/webcenter/portal/downloads/index.html
4 | https://support.oracle.com
5 |
6 | Downloaded Files: ofm_wc_generic_11.1.1.9.0_disk1_1of2.zip
7 | ofm_wc_generic_11.1.1.9.0_disk1_2of2.zip
8 | p21950042_111190_Generic.zip
9 |
10 | Also make sure that the file has appropriate file permissions
11 |
12 | chmod -R go+r *
--------------------------------------------------------------------------------
/SampleComponent01/templates/samplecomponent01_template.hda:
--------------------------------------------------------------------------------
1 |
2 | @Properties LocalData
3 | blFieldTypes=
4 | blDateFormat=M/d{/yy}{ h:mm[:ss]{ a}}!mAM,PM!tAmerica/New_York
5 | @end
6 | @ResultSet SampleComponent01_Templates
7 | 5
8 | name
9 | class
10 | formtype
11 | filename
12 | description
13 | SC01_CONTENT_TYPES
14 | Pages
15 | DocumentInfoPage
16 | SampleComponent01_content_types.htm
17 | List of Content Types
18 | @end
19 |
20 |
--------------------------------------------------------------------------------
/Docker - Oracle WebCenter 11g/wls/README:
--------------------------------------------------------------------------------
1 | Login to Oracle Technology Network and MOS and download the file.
2 |
3 | Page: http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-main-097127.html
4 | http://download.oracle.com/otn/nt/middleware/11g/wls/1036/wls1036_generic.jar
5 | https://support.oracle.com
6 |
7 | Downloaded Files: wls1036_generic.jar
8 | p20780171_1036_Generic.zip
9 |
10 | The silent.xml file is part of this project.
11 |
12 | Also make sure that the file has appropriate file permissions
13 |
14 | chmod -R go+r *
--------------------------------------------------------------------------------
/Docker - Oracle WebCenter 11g/wcc/README:
--------------------------------------------------------------------------------
1 | Login to Oracle Technology Network and MOS and download the file.
2 |
3 | http://www.oracle.com/technetwork/middleware/webcenter/content/downloads/wcc-11g-downloads-2734036.html
4 | https://support.oracle.com
5 |
6 | Downloaded Files: ofm_wcc_generic_11.1.1.9.0_disk1_1of2.zip
7 | ofm_wcc_generic_11.1.1.9.0_disk1_2of2.zip
8 | p22060967_111190_Generic.zip
9 | p22249978_111190_Generic.zip
10 |
11 | Also make sure that the file has appropriate file permissions
12 |
13 | chmod -R go+r *
--------------------------------------------------------------------------------
/SampleComponent01/resources/samplecomponent01_query.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SampleComponent01 query
6 |
7 |
8 | <@table SampleComponent01_Queries@>
9 | Query Definition Table
10 |
11 | | name | queryStr | parameters |
12 |
13 |
14 | | SC01DocTypeList |
15 | SELECT * FROM DocTypes ORDER BY dDocType |
16 | |
17 |
18 |
19 | <@end@>
20 |
21 |
22 |
--------------------------------------------------------------------------------
/OracleDocumentsCloudDataControlPart1/Model/src/model/Type.java:
--------------------------------------------------------------------------------
1 | /*##############################################################################
2 | # Created By: Justin Paul
3 | # Source: https://blogs.oracle.com/OracleWebCenterSuite
4 | #
5 | # NOTE: Please note that these code snippets should be used for development and
6 | # testing purposes only, as such it is unsupported and should not be used
7 | # on production environments.
8 | ##############################################################################*/
9 | package model;
10 |
11 | public enum Type {
12 | FOLDER,
13 | FILE
14 | }
15 |
--------------------------------------------------------------------------------
/OracleDocumentsCloudDataControlPart1/ViewController/adfmsrc/view/DataBindings.cpx:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/OracleDocumentsCloudDataControlPart1/ViewController/classes/view/DataBindings.cpx:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/SampleComponent01/resources/samplecomponent01_service.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SampleComponent01 service
6 |
7 |
8 | <@table SampleComponent01_Services@>
9 | Scripts For Custom Services
10 |
11 | | Name | Attributes | Actions |
12 |
13 |
14 | | SC01_GET_DOCTYPES |
15 | DocService
16 | 51
17 | SC01_CONTENT_TYPES
18 | null
19 | null
20 | null |
21 | 5:SC01DocTypeList:SC01DOCTYPES::Unable to fetch the Document Types |
22 |
23 |
24 | <@end@>
25 |
26 |
27 |
--------------------------------------------------------------------------------
/OracleDocumentsCloudDataControlPart1/Model/public_html/WEB-INF/web.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 | Faces Servlet
7 | javax.faces.webapp.FacesServlet
8 | 1
9 |
10 |
11 | Faces Servlet
12 | /faces/*
13 |
14 |
15 |
--------------------------------------------------------------------------------
/RIDCJavaStoredProcedures/sql-test-user.sql:
--------------------------------------------------------------------------------
1 | CREATE
2 | OR
3 | REPLACE
4 | FUNCTION test.checkinFile(fPath IN VARCHAR2)
5 | RETURN VARCHAR2
6 | AS LANGUAGE JAVA
7 | NAME 'com.oracle.justin.wcc.CheckinFileIntoContentServer.checkinFile(java.lang.String) return java.lang.String';
8 |
9 | CREATE
10 | OR
11 | REPLACE
12 | FUNCTION test.checkinBlob(bFile IN BLOB, filename IN VARCHAR2)
13 | RETURN VARCHAR2
14 | AS LANGUAGE JAVA
15 | NAME 'com.oracle.justin.wcc.CheckinFileIntoContentServer.checkinBlob(oracle.sql.BLOB, java.lang.String) return java.lang.String';
16 |
17 | CREATE TABLE TEST.blob_table (
18 | fileid INTEGER NOT NULL,
19 | filename VARCHAR2(255) NOT NULL,
20 | filedata BLOB
21 | );
22 |
23 | /
24 |
--------------------------------------------------------------------------------
/SampleComponent01/templates/SampleComponent01_content_types.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | <$defaultPageTitle="List of Content Types"$>
4 | <$include std_html_head_declarations$>
5 |
6 |
7 | <$include body_def$>
8 |
9 | <$include std_page_begin$>
10 |
11 | <$include std_header$>
12 |
13 |
14 |
15 |
16 | The Content Types Table |
17 |
18 |
19 | | Content Type |
20 | Description |
21 | Image |
22 |
23 | <$loop SC01DOCTYPES$>
24 |
25 | | <$dDocType$> |
26 | <$dDescription$> |
27 | <$dGif$> |
28 |
29 | <$endloop$>
30 |
31 |
32 | <$include std_page_end$>
33 |
34 |
35 |