|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.attributes.AttributeServiceTransportService
public class AttributeServiceTransportService
Server side implementation of transport for AttributeService.
Constructor Summary | |
---|---|
AttributeServiceTransportService()
|
Method Summary | |
---|---|
void |
addAttribute(java.lang.String ticket,
java.util.List keys,
Attribute value)
Add an attribute to a List Attribute. |
void |
addAttribute(java.lang.String ticket,
java.lang.String path,
Attribute value)
Add an attribute to a List Attribute |
void |
addAttributes(java.lang.String ticket,
java.util.List keys,
java.util.List values)
Add a list of attributes. |
void |
addAttributes(java.lang.String ticket,
java.lang.String path,
java.util.List values)
Add a list of attributes. |
boolean |
exists(java.lang.String ticket,
java.util.List keys)
Does an attribute exist. |
boolean |
exists(java.lang.String ticket,
java.lang.String path)
Does an attribute exist. |
Attribute |
getAttribute(java.lang.String ticket,
java.util.List keys)
Get an attribute. |
Attribute |
getAttribute(java.lang.String ticket,
java.lang.String path)
Get an Attribute. |
int |
getCount(java.lang.String ticket,
java.util.List keys)
Get the size of a map or list. |
int |
getCount(java.lang.String ticket,
java.lang.String path)
Get the size of a map or list. |
java.util.List |
getKeys(java.lang.String ticket,
java.util.List keys)
Get all the keys for a give attribute path. |
java.util.List |
getKeys(java.lang.String ticket,
java.lang.String path)
Get all the keys for a given attribute path. |
java.util.List |
query(java.lang.String ticket,
java.util.List keys,
AttrQuery query)
Query for a list of attributes which are contained in a map defined by the given path and meet the query criteria. |
java.util.List |
query(java.lang.String ticket,
java.lang.String path,
AttrQuery query)
Query for a list of attributes which are contained in the map defined by the given path and meet the query criteria. |
void |
removeAttribute(java.lang.String ticket,
java.util.List keys,
int index)
Remove an attribute from a list. |
void |
removeAttribute(java.lang.String ticket,
java.util.List keys,
java.lang.String name)
Remove an Attribute. |
void |
removeAttribute(java.lang.String ticket,
java.lang.String path,
int index)
Remove an attribute from a list. |
void |
removeAttribute(java.lang.String ticket,
java.lang.String path,
java.lang.String name)
Remove an Attribute. |
void |
removeEntries(java.lang.String ticket,
java.util.List keys,
AttrQuery query)
Remove entries from a map that match a query. |
void |
removeEntries(java.lang.String ticket,
java.lang.String path,
AttrQuery query)
Remove entries from a map that match a query. |
void |
setAttribute(java.lang.String ticket,
java.util.List keys,
int index,
Attribute value)
Set an attribute in a list. |
void |
setAttribute(java.lang.String ticket,
java.util.List keys,
java.lang.String name,
Attribute value)
Set an attribute |
void |
setAttribute(java.lang.String ticket,
java.lang.String path,
int index,
Attribute value)
Set an attribute in a list. |
void |
setAttribute(java.lang.String ticket,
java.lang.String path,
java.lang.String name,
Attribute value)
Set an attribute. |
void |
setAttributes(java.lang.String ticket,
java.util.List keys,
java.util.Map entries)
Add a set of attributes. |
void |
setAttributes(java.lang.String ticket,
java.lang.String path,
java.util.Map entries)
Add a set of attributes. |
void |
setAttributeService(AttributeService service)
|
void |
setAuthenticationService(AuthenticationService service)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AttributeServiceTransportService()
Method Detail |
---|
public void setAttributeService(AttributeService service)
public void setAuthenticationService(AuthenticationService service)
public void addAttribute(java.lang.String ticket, java.lang.String path, Attribute value)
AttributeServiceTransport
addAttribute
in interface AttributeServiceTransport
ticket
- The authentication ticket.path
- The path to the list.value
- The Attribute to add.public void addAttribute(java.lang.String ticket, java.util.List keys, Attribute value)
AttributeServiceTransport
addAttribute
in interface AttributeServiceTransport
ticket
- The authentication ticket.keys
- The path components to the list.value
- The Attribute to add.public Attribute getAttribute(java.lang.String ticket, java.lang.String path)
AttributeServiceTransport
getAttribute
in interface AttributeServiceTransport
ticket
- The authentication ticket.path
- The path of the Attribute.
public Attribute getAttribute(java.lang.String ticket, java.util.List keys)
AttributeServiceTransport
getAttribute
in interface AttributeServiceTransport
ticket
- The authentication ticket.keys
- The keys in the attribute path.
public java.util.List getKeys(java.lang.String ticket, java.lang.String path)
AttributeServiceTransport
getKeys
in interface AttributeServiceTransport
ticket
- The authentication ticket.path
- The attribute path.
public java.util.List getKeys(java.lang.String ticket, java.util.List keys)
AttributeServiceTransport
getKeys
in interface AttributeServiceTransport
ticket
- The authentication ticket.keys
- The keys of the attribute path.
public java.util.List query(java.lang.String ticket, java.lang.String path, AttrQuery query)
AttributeServiceTransport
query
in interface AttributeServiceTransport
ticket
- The authentication ticket.
public java.util.List query(java.lang.String ticket, java.util.List keys, AttrQuery query)
AttributeServiceTransport
query
in interface AttributeServiceTransport
ticket
- The authentication ticket.keys
- The list of attribute path keys.
public void removeAttribute(java.lang.String ticket, java.lang.String path, java.lang.String name)
AttributeServiceTransport
removeAttribute
in interface AttributeServiceTransport
ticket
- The authentication ticket.name
- The name of the Attribute.public void removeAttribute(java.lang.String ticket, java.util.List keys, java.lang.String name)
AttributeServiceTransport
removeAttribute
in interface AttributeServiceTransport
ticket
- The authentication ticket.keys
- List of attribute path keys.name
- The name of the attribute to remove.public void removeAttribute(java.lang.String ticket, java.lang.String path, int index)
AttributeServiceTransport
removeAttribute
in interface AttributeServiceTransport
ticket
- The authentication ticket.path
- The path to the list.index
- The index to remove.public void removeAttribute(java.lang.String ticket, java.util.List keys, int index)
AttributeServiceTransport
removeAttribute
in interface AttributeServiceTransport
ticket
- The authentication ticket.keys
- The components of the path to the list.index
- The index to remove.public void setAttribute(java.lang.String ticket, java.lang.String path, java.lang.String name, Attribute value)
AttributeServiceTransport
setAttribute
in interface AttributeServiceTransport
ticket
- The authentication ticket.name
- The name of the Attribute.value
- The value to set.public void setAttribute(java.lang.String ticket, java.util.List keys, java.lang.String name, Attribute value)
AttributeServiceTransport
setAttribute
in interface AttributeServiceTransport
ticket
- The authentication ticket.keys
- List of attribute path keys.name
- The name of the attribute to set.value
- The Attribute to set.public void setAttribute(java.lang.String ticket, java.lang.String path, int index, Attribute value)
AttributeServiceTransport
setAttribute
in interface AttributeServiceTransport
ticket
- The authentication ticket.path
- The path to the list.index
- The list index.value
- The Attribute to set.public void setAttribute(java.lang.String ticket, java.util.List keys, int index, Attribute value)
AttributeServiceTransport
setAttribute
in interface AttributeServiceTransport
ticket
- The authentication ticket.keys
- The path components to the list.index
- The list index.value
- The Attribute to set.public boolean exists(java.lang.String ticket, java.util.List keys)
AttributeServiceTransport
exists
in interface AttributeServiceTransport
keys
- List of attribute path keys.
public boolean exists(java.lang.String ticket, java.lang.String path)
AttributeServiceTransport
exists
in interface AttributeServiceTransport
path
- The path to the attribute.
public int getCount(java.lang.String ticket, java.util.List keys)
AttributeServiceTransport
getCount
in interface AttributeServiceTransport
keys
- List of attribute path keys.
public int getCount(java.lang.String ticket, java.lang.String path)
AttributeServiceTransport
getCount
in interface AttributeServiceTransport
path
- The path to the map or list.
public void addAttributes(java.lang.String ticket, java.util.List keys, java.util.List values)
AttributeServiceTransport
addAttributes
in interface AttributeServiceTransport
public void addAttributes(java.lang.String ticket, java.lang.String path, java.util.List values)
AttributeServiceTransport
addAttributes
in interface AttributeServiceTransport
public void setAttributes(java.lang.String ticket, java.util.List keys, java.util.Map entries)
AttributeServiceTransport
setAttributes
in interface AttributeServiceTransport
public void setAttributes(java.lang.String ticket, java.lang.String path, java.util.Map entries)
AttributeServiceTransport
setAttributes
in interface AttributeServiceTransport
public void removeEntries(java.lang.String ticket, java.util.List keys, AttrQuery query)
AttributeServiceTransport
removeEntries
in interface AttributeServiceTransport
public void removeEntries(java.lang.String ticket, java.lang.String path, AttrQuery query)
AttributeServiceTransport
removeEntries
in interface AttributeServiceTransport
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |