permaculture playing cards*
The moose likes Portals and Portlets and the fly likes Weblogic Portal 10.3 CMS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Weblogic Portal 10.3 CMS" Watch "Weblogic Portal 10.3 CMS" New topic

Weblogic Portal 10.3 CMS

Amit Mondal

Joined: Apr 04, 2007
Posts: 4
Hi Everybody,
I'm novice in weblogic portal 10.3.And I'm getting problem to update CMS node property using API.I need your help regarding this matter.
And this my code:

IVersionManager mgr = ContentManagerFactory.getVersionManager();
ContentContext cc = new ContentContext();
Authentication.login("weblogic" , "weblogic" ,request , response);
ISortableFilterablePagedList<Node> result =, search);
Iterator<Node> resultIterator = result.iterator();
while (resultIterator.hasNext()) {
Node node = (Node);

ID nodeId = node.getId();
Value value = new Value("Test");
Property[] properties = node.getProperties();
if(!mgr.isCheckedOut(cc, nodeId)){
mgr.checkOut(cc, nodeId, null);
int wfSatatus = Workflow.PUBLISHED;
VersionableContent versionableContent = new VersionableContent(wfSatatus, "", properties);,node.getObjectClassId(),versionableContent);
mgr.checkIn(cc, nodeId, versionableContent);

Marisol Redondo

Joined: Apr 12, 2012
Posts: 1
Did you find the solution for this problem?.
It is sorta covered in the JavaRanch Style Guide.
subject: Weblogic Portal 10.3 CMS
Similar Threads
Qury problem?
Need maximum information about Content Management in Weblogic Portal 10.3
Hibernate Query problem.
Caused by: java.sql.SQLException: Closed Connection
JNDI look up problem for JDBC data source in weblogic 10.3.5