mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user