|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A SyncBoDescriptor represents a metadata of a SyncBO. It provides read-access to:
Example:
Retrieving the Top row of the SyncBo.
SyncBoDescriptorFacade descriptorFacade =
SmartSyncRuntime.getInstance().getSyncBoDescriptorFacade();
SyncBoDescriptor boDes = descriptorFacade.getSyncBoDescriptor("Name");
RowDescriptor Tow = boDes.getTopRowDescriptor();
Method Summary | |
RowDescriptorIterator |
getAllRowDescriptors()
Returns all child rows' RowDescriptor iterator. |
RelationDescriptorIterator |
getDependencyRelations()
Returns all dependency relations on other SyncBOs. |
int |
getPosition(RowDescriptor row)
Returns the position of a RowDescriptor within the SyncBoDescriptor RowDescriptors are stored in a sequence, which can be represented by int values. |
RowDescriptor |
getRowDescriptor(java.lang.String rowName)
Returns the RowDescriptor for the specified child row name. |
int |
getRowDescriptorCount()
Returns the number of RowDescriptor objects which belongs to this SyncBoDescriptor |
java.lang.String |
getSyncBoName()
Returns the name of the SyncBo object defined by this SyncBoDescriptor. |
SyncProcessingType |
getSyncProcessing()
Returns SyncProcessingType instance of this SyncBoDescriptor |
RowDescriptor |
getTopRowDescriptor()
Returns this SyncBoDescriptor's TOP row RowDescriptor instance. |
int |
getVersionUid()
Returns the unique version id of this SyncBoDescriptor |
boolean |
isAllowedCreate()
Returns the permission value if the SyncBo defined by this SyncBoDescriptor is allowed to be inserted into the repository. |
boolean |
isAllowedDelete()
Returns the permission value if the SyncBo defined by this SyncBoDescriptor is allowed to be deleted from the repository. |
boolean |
isAllowedModify()
Returns the permission value if the SyncBo defined by this SyncBoDescriptor is allowed to be modified. |
boolean |
isMultiLangSupport()
Returns the attribute value if the SyncBo defined by this SyncBoDescriptor supports multiple languages |
boolean |
isRequiredDirectSync()
Returns the flag whether a direct synchronization is required for the SyncBo |
Method Detail |
public java.lang.String getSyncBoName()
public SyncProcessingType getSyncProcessing()
public RowDescriptor getTopRowDescriptor()
RowDescriptor
public RowDescriptor getRowDescriptor(java.lang.String rowName)
RowDescriptor
public RowDescriptorIterator getAllRowDescriptors()
public boolean isRequiredDirectSync()
public boolean isAllowedCreate()
public boolean isAllowedModify()
NOTE:
On SP2, the treatment of SyncBo objects differs according to their status. This permission flag is not checked for any modify operations performed on the SyncBo objects of status LOCAL, UNLINKED and INITIAL. Thus the application has the freedom to manipulate the SyncBo prior to any further data-related operations or data synchronization.
On the other hand, the modify permission is checked for SyncBo with the GLOBAL or IN_SYNC status, except for the cases even though the allowModify attribute is false.- field value update of any child rows with a LOCAL status.
- removal/delete of a child row with a LOCAL status.
public boolean isAllowedDelete()
public boolean isMultiLangSupport()
public RelationDescriptorIterator getDependencyRelations()
public int getVersionUid()
public int getPosition(RowDescriptor row)
row
- Description of the Parameter
public int getRowDescriptorCount()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |