wt.epm.upload
Class CacheFamilyTable
java.lang.Object
wt.epm.upload.CacheObject
wt.epm.upload.CacheFamilyTable
- All Implemented Interfaces:
- Cache.Iterated, CacheObjectOwner
- Direct Known Subclasses:
- Cache.CacheFamilyTable
- public class CacheFamilyTable
- extends CacheObject
- implements Cache.Iterated
Method Summary |
private void |
addCacheFamilyTableColumn(CacheFamilyTable.CacheFamilyTableColumn column)
|
private void |
addCacheFeatureDefinition(CacheFamilyTable.CacheFeatureDefinition definition)
|
private void |
addCacheParameterDefinition(CacheFamilyTable.CacheParameterDefinition definition)
|
protected boolean |
addMember(CacheDocument member)
|
CacheFamilyTable.CacheFamilyTableColumn |
createCacheFamilyTableColumn(EPMFamilyTableColumn column)
|
CacheFamilyTable.CacheFeatureDefinition |
createCacheFeatureDefinition(EPMFeatureDefinition definition)
|
CacheFamilyTable.CacheParameterDefinition |
createCacheParameterDefinition(EPMParameterDefinition definition)
|
CacheFamilyTable.CacheFamilyTableColumn |
createNewAttributeColumn(String name,
String title,
int type,
int attribute,
Object attributeDefinition)
|
CacheFamilyTable.CacheFamilyTableColumn |
createNewFeatureColumn(String name,
String title,
int type,
int attribute,
CacheFamilyTable.CacheFeatureDefinition definition)
|
CacheFamilyTable.CacheFeatureDefinition |
createNewFeatureDefinition(String name,
int internalId,
int valueType,
int featureType)
|
CacheFamilyTable.CacheFamilyTableColumn |
createNewMemberColumn(String name,
String title,
int type,
int attribute)
|
CacheFamilyTable.CacheFamilyTableColumn |
createNewParameterColumn(String name,
String title,
int type,
int attribute,
CacheFamilyTable.CacheParameterDefinition definition)
|
CacheFamilyTable.CacheParameterDefinition |
createNewParameterDefinition(String name,
int internalId,
int valueType,
int parameterType)
|
CacheFamilyTable.CacheFamilyTableColumn |
createNewReferenceColumn(String name,
String title,
int type,
int attribute)
|
void |
dump(PrintStream out,
String shift)
|
CacheFamilyTable.CacheFamilyTableColumn |
getCacheFamilyTableColumn(String name)
|
Map |
getCacheFamilyTableColumns()
|
CacheFamilyTable.CacheFeatureDefinition |
getCacheFeatureDefinition(String name)
|
Map |
getCacheFeatureDefinitions()
|
CacheFamilyTable.CacheParameterDefinition |
getCacheParameterDefinition(String name)
|
Map |
getCacheParameterDefinitions()
|
protected String |
getDisplayName()
|
EPMFamilyTable |
getFamilyTable()
|
EPMFamilyTableColumn |
getFamilyTableColumn(String name)
|
EPMFeatureDefinition |
getFeatureDefinition(String name)
|
CacheId |
getMasterCacheId()
|
Set |
getMembers()
|
EPMParameterDefinition |
getParameterDefinition(String name)
|
CacheDocument |
getTopGeneric()
|
boolean |
isCheckedOut()
|
void |
release()
|
void |
releaseChildObject(CacheObject cacheObject)
Removes child cache object from this owner cache object. |
CacheFamilyTable.CacheFamilyTableColumn |
removeFamilyTableColumn(String name)
|
protected boolean |
removeMember(CacheDocument member)
|
Methods inherited from class wt.epm.upload.CacheObject |
cacheCollection, cacheObject, checkModifiability, checkModifiability, clearStatus, delete, equals, getAttributeNames, getCache, getCacheId, getObjectIdentifier, getPersistableObject, getStatusAsString, hashCode, isCreated, isDeleted, isHasAttributeDefinition, isMarkedAsCreated, isMarkedAsModified, isMarkedForDeletion, isModified, isPersisted, isStatusSet, markAsCreated, markAsModified, markAsModified, markForDeletion, markForDeletion, markForDeletion, prepareCreating, prepareDeleting, prepareUpdating, refresh, releaseCollection, releaseMap, releaseObject, removeValueFromMap, save, setMarkedAsCreated, setMarkedAsModified, setMarkedForDeletion, setPersistableObject, setStatus, toString |
topGeneric
private CacheDocument topGeneric
members
private Set members
columnsByName
private Map columnsByName
parameterDefsByName
private Map parameterDefsByName
featureDefsByName
private Map featureDefsByName
CacheFamilyTable
public CacheFamilyTable(Cache cache,
EPMFamilyTable familyTable)
throws WTException
getFamilyTable
public EPMFamilyTable getFamilyTable()
getMasterCacheId
public CacheId getMasterCacheId()
throws WTException
- Specified by:
getMasterCacheId
in interface Cache.Iterated
- Throws:
WTException
isCheckedOut
public boolean isCheckedOut()
- Specified by:
isCheckedOut
in interface Cache.Iterated
releaseChildObject
public void releaseChildObject(CacheObject cacheObject)
throws WTException
- Description copied from class:
CacheObject
- Removes child cache object from this owner cache object. This method
is called by CacheObject.release().
DO NOT USE THIS METHOD DIRECTLY.
- Specified by:
releaseChildObject
in interface CacheObjectOwner
- Overrides:
releaseChildObject
in class CacheObject
- Parameters:
cacheObject
- CacheObject
- Throws:
WTException
release
public void release()
throws WTException
- Overrides:
release
in class CacheObject
- Throws:
WTException
getMembers
public Set getMembers()
addMember
protected boolean addMember(CacheDocument member)
removeMember
protected boolean removeMember(CacheDocument member)
throws WTException
- Throws:
WTException
getTopGeneric
public CacheDocument getTopGeneric()
getCacheFamilyTableColumns
public Map getCacheFamilyTableColumns()
getCacheFamilyTableColumn
public CacheFamilyTable.CacheFamilyTableColumn getCacheFamilyTableColumn(String name)
getFamilyTableColumn
public EPMFamilyTableColumn getFamilyTableColumn(String name)
createCacheFamilyTableColumn
public CacheFamilyTable.CacheFamilyTableColumn createCacheFamilyTableColumn(EPMFamilyTableColumn column)
throws WTException
- Throws:
WTException
addCacheFamilyTableColumn
private void addCacheFamilyTableColumn(CacheFamilyTable.CacheFamilyTableColumn column)
throws WTException
- Throws:
WTException
createNewAttributeColumn
public CacheFamilyTable.CacheFamilyTableColumn createNewAttributeColumn(String name,
String title,
int type,
int attribute,
Object attributeDefinition)
throws WTException
- Throws:
WTException
createNewParameterColumn
public CacheFamilyTable.CacheFamilyTableColumn createNewParameterColumn(String name,
String title,
int type,
int attribute,
CacheFamilyTable.CacheParameterDefinition definition)
throws WTException
- Throws:
WTException
createNewFeatureColumn
public CacheFamilyTable.CacheFamilyTableColumn createNewFeatureColumn(String name,
String title,
int type,
int attribute,
CacheFamilyTable.CacheFeatureDefinition definition)
throws WTException
- Throws:
WTException
createNewMemberColumn
public CacheFamilyTable.CacheFamilyTableColumn createNewMemberColumn(String name,
String title,
int type,
int attribute)
throws WTException
- Throws:
WTException
createNewReferenceColumn
public CacheFamilyTable.CacheFamilyTableColumn createNewReferenceColumn(String name,
String title,
int type,
int attribute)
throws WTException
- Throws:
WTException
removeFamilyTableColumn
public CacheFamilyTable.CacheFamilyTableColumn removeFamilyTableColumn(String name)
throws WTException
- Throws:
WTException
getCacheParameterDefinitions
public Map getCacheParameterDefinitions()
getCacheParameterDefinition
public CacheFamilyTable.CacheParameterDefinition getCacheParameterDefinition(String name)
getParameterDefinition
public EPMParameterDefinition getParameterDefinition(String name)
createCacheParameterDefinition
public CacheFamilyTable.CacheParameterDefinition createCacheParameterDefinition(EPMParameterDefinition definition)
throws WTException
- Throws:
WTException
addCacheParameterDefinition
private void addCacheParameterDefinition(CacheFamilyTable.CacheParameterDefinition definition)
throws WTException
- Throws:
WTException
createNewParameterDefinition
public CacheFamilyTable.CacheParameterDefinition createNewParameterDefinition(String name,
int internalId,
int valueType,
int parameterType)
throws WTException
- Throws:
WTException
getCacheFeatureDefinitions
public Map getCacheFeatureDefinitions()
getCacheFeatureDefinition
public CacheFamilyTable.CacheFeatureDefinition getCacheFeatureDefinition(String name)
getFeatureDefinition
public EPMFeatureDefinition getFeatureDefinition(String name)
createCacheFeatureDefinition
public CacheFamilyTable.CacheFeatureDefinition createCacheFeatureDefinition(EPMFeatureDefinition definition)
throws WTException
- Throws:
WTException
addCacheFeatureDefinition
private void addCacheFeatureDefinition(CacheFamilyTable.CacheFeatureDefinition definition)
throws WTException
- Throws:
WTException
createNewFeatureDefinition
public CacheFamilyTable.CacheFeatureDefinition createNewFeatureDefinition(String name,
int internalId,
int valueType,
int featureType)
throws WTException
- Throws:
WTException
getDisplayName
protected String getDisplayName()
- Overrides:
getDisplayName
in class CacheObject
dump
public void dump(PrintStream out,
String shift)
throws WTException
- Overrides:
dump
in class CacheObject
- Throws:
WTException