Added exists and getCount to AttributeService.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5709 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2007-05-17 13:55:33 +00:00
parent 7d2159686f
commit ee7e8cb4d0
7 changed files with 198 additions and 0 deletions

View File

@@ -207,4 +207,40 @@ public class AttributeServiceTransportService implements
fAuthService.validate(ticket);
fService.setAttribute(keys, index, value);
}
/* (non-Javadoc)
* @see org.alfresco.service.cmr.remote.AttributeServiceTransport#exists(java.lang.String, java.util.List)
*/
public boolean exists(String ticket, List<String> keys)
{
fAuthService.validate(ticket);
return fService.exists(keys);
}
/* (non-Javadoc)
* @see org.alfresco.service.cmr.remote.AttributeServiceTransport#exists(java.lang.String, java.lang.String)
*/
public boolean exists(String ticket, String path)
{
fAuthService.validate(ticket);
return fService.exists(path);
}
/* (non-Javadoc)
* @see org.alfresco.service.cmr.remote.AttributeServiceTransport#getCount(java.lang.String, java.util.List)
*/
public int getCount(String ticket, List<String> keys)
{
fAuthService.validate(ticket);
return fService.getCount(keys);
}
/* (non-Javadoc)
* @see org.alfresco.service.cmr.remote.AttributeServiceTransport#getCount(java.lang.String, java.lang.String)
*/
public int getCount(String ticket, String path)
{
fAuthService.validate(ticket);
return fService.getCount(path);
}
}