|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.datapower.wamt.dataAPI.local.filesystem.StoredTagImpl
public class StoredTagImpl
Field Summary |
---|
Fields inherited from interface com.ibm.datapower.wamt.dataAPI.StoredTag |
---|
COPYRIGHT_2012 |
Fields inherited from interface com.ibm.datapower.wamt.dataAPI.Persistable |
---|
COPYRIGHT_2009_2010, SCM_REVISION |
Method Summary | |
---|---|
void |
add(StoredDevice device)
Adds the specified device to this tag. |
void |
add(StoredDomain domain)
Adds the specified domain to this tag. |
void |
delete()
|
StoredDevice[] |
getDeviceMembers()
Gets the array of devices which are members of this tag. |
StoredDomain[] |
getDomainMembers()
Gets the array of domains which are members of this tag. |
java.lang.String |
getName()
Gets the name of this StoredTag. |
java.lang.String |
getPrimaryKey()
Note: The Local File System implementation uses the name of the ManagesSet as the unique identifier for this object. |
java.lang.String |
getValue()
Gets the value of this StoredTag. |
void |
remove(StoredDevice device)
Removes the specified device from this tagged set. |
void |
remove(StoredDomain domain)
Removes the specified domain from this tagged set. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public StoredDevice[] getDeviceMembers()
StoredTag
getDeviceMembers
in interface StoredTag
This is invoked by
{@link com.ibm.datapower.wamt.clientAPI.Device#getTagNames()}
public StoredDomain[] getDomainMembers()
StoredTag
getDomainMembers
in interface StoredTag
This is invoked by
{@link com.ibm.datapower.wamt.clientAPI.Domain#getTagNames()}
public java.lang.String getName()
StoredTag
setName(String)
method.
getName
in interface StoredTag
public java.lang.String getValue()
StoredTag
setName(String)
method.
getValue
in interface StoredTag
public void remove(StoredDevice device)
StoredTag
Device.removeTag(String)
The removed device is still persisted in the repository though it is no longer tagged by this tag.
You can reverse this by adding the device back to the tag.
remove
in interface StoredTag
device
- the device to removeStoredTag.add(StoredDevice)
,
StoredTag.getDeviceMembers()
public void remove(StoredDomain domain)
StoredTag
StoredDomain.remove(StoredTag)
and
)
The removed domain is still persisted in the repository though it is no longer tagged by this tag.
You can reverse this by adding the domain back to the tag.
remove
in interface StoredTag
domain
- the domain to removeStoredTag.add(StoredDomain)
,
StoredTag.getDomainMembers()
public void delete() throws DatastoreException, NotEmptyInRepositoryException
public java.lang.String getPrimaryKey()
Note: The Local File System implementation uses the name of the
ManagesSet as the unique identifier for this object. The name is
immutable, so there is no setName(String)
method.
getPrimaryKey
in interface Persistable
public void add(StoredDevice device)
StoredTag
Device.addTag(String, String)
add
in interface StoredTag
device
- the device to addStoredTag.add(StoredDomain)
public void add(StoredDomain domain)
StoredTag
Domain.addTag(String, String)
add
in interface StoredTag
domain
- the domain to addStoredTag.add(StoredDevice)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |