mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
. Create Web Content from Form hooked into Available Content Forms panel in the User Sandboxes component
- Create Web Content form initialised with the correctly selected form template in the drop-down . Revert node, Revert Selected and Revert All actions working git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4370 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -13,7 +13,7 @@ import org.alfresco.util.Pair;
|
||||
* by VersionPathUnStuffer.
|
||||
* @author britt
|
||||
*/
|
||||
public class VersionPathStuffer
|
||||
public final class VersionPathStuffer
|
||||
{
|
||||
/**
|
||||
* The internal buffer.
|
||||
@@ -37,7 +37,7 @@ public class VersionPathStuffer
|
||||
/**
|
||||
* Add a version path expressed by the version and path.
|
||||
*/
|
||||
public void add(int version, String path)
|
||||
public VersionPathStuffer add(int version, String path)
|
||||
{
|
||||
if (fAnyAdded)
|
||||
{
|
||||
@@ -47,16 +47,18 @@ public class VersionPathStuffer
|
||||
fBuilder.append('@');
|
||||
fBuilder.append(version);
|
||||
fAnyAdded = true;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a version path expressed as a NodeRef.
|
||||
*/
|
||||
public void add(NodeRef nodeRef)
|
||||
public VersionPathStuffer add(NodeRef nodeRef)
|
||||
{
|
||||
Pair<Integer, String> versionPath =
|
||||
AVMNodeConverter.ToAVMVersionPath(nodeRef);
|
||||
add(versionPath.getFirst(), versionPath.getSecond());
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user