mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Source Association methods added to jscript/freemarker APIs
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7654 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -71,11 +71,6 @@ public class AVMScriptStore implements Serializable
|
||||
return this.descriptor.getName();
|
||||
}
|
||||
|
||||
public String jsGet_name()
|
||||
{
|
||||
return getName();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Store name
|
||||
*/
|
||||
@@ -84,11 +79,6 @@ public class AVMScriptStore implements Serializable
|
||||
return this.descriptor.getName();
|
||||
}
|
||||
|
||||
public String jsGet_id()
|
||||
{
|
||||
return getId();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return User who created the store
|
||||
*/
|
||||
@@ -97,23 +87,13 @@ public class AVMScriptStore implements Serializable
|
||||
return this.descriptor.getCreator();
|
||||
}
|
||||
|
||||
public String jsGet_creator()
|
||||
{
|
||||
return getCreator();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Creation date of the store
|
||||
*/
|
||||
public Date getCreatedDate()
|
||||
{
|
||||
return new Date(this.descriptor.getCreateDate());
|
||||
}
|
||||
|
||||
public Serializable jsGet_createdDate()
|
||||
public Serializable getCreatedDate()
|
||||
{
|
||||
return new ValueConverter().convertValueForScript(
|
||||
this.services, this.scope, null, getCreatedDate());
|
||||
this.services, this.scope, null, new Date(this.descriptor.getCreateDate()));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user