| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| useSharedCache | back to summary |
|---|---|
| private boolean useSharedCache | |
| useSharedEMF | back to summary |
|---|---|
| private boolean useSharedEMF | |
| SchemaPerMultitenantPolicy | back to summary |
|---|---|
| public SchemaPerMultitenantPolicy() | |
| SchemaPerMultitenantPolicy | back to summary |
|---|---|
| public SchemaPerMultitenantPolicy(ClassDescriptor desc) | |
| clone | back to summary |
|---|---|
| public MultitenantPolicy clone(ClassDescriptor descriptor) Overrides org. Implements org. Doc from org. INTERNAL: Multitenant policies are cloned per inheritance subclass.
| |
| getTable | back to summary |
|---|---|
| public DatabaseTable getTable(DatabaseTable table) Overrides org. Doc from org. INTERNAL: Return the new database table associated with this tenant.
| |
| getTable | back to summary |
|---|---|
| public DatabaseTable getTable(String tableName) Overrides org. Doc from org. INTERNAL: Return the new database table associated with this tenant.
| |
| getTableName | back to summary |
|---|---|
| protected String getTableName(DatabaseTable table, String tenant) Overrides org. Doc from org. INTERNAL: Return the tenant table name.
| |
| initialize | back to summary |
|---|---|
| public void initialize(AbstractSession session) throws DescriptorException Overrides org. Implements org. INTERNAL:
| |
| isSchemaPerMultitenantPolicy | back to summary |
|---|---|
| public boolean isSchemaPerMultitenantPolicy() Overrides org. Implements org. Doc from org. INTERNAL:
| |
| isTablePerMultitenantPolicy | back to summary |
|---|---|
| public boolean isTablePerMultitenantPolicy() Overrides org. Implements org. Doc from org. INTERNAL:
| |
| setShouldUseSharedCache | back to summary |
|---|---|
| public void setShouldUseSharedCache(boolean shouldUseSharedCache) | |
| setShouldUseSharedEMF | back to summary |
|---|---|
| public void setShouldUseSharedEMF(boolean shouldUseSharedEMF) | |
| setTableSchemaPerTenant | back to summary |
|---|---|
| protected void setTableSchemaPerTenant() Overrides org. Doc from org. INTERNAL: This method is used to update the table per tenant descriptor with a table per tenant schema. This includes any relation tables from mappings. This will be done through the setting of a table qualifier on the tables. This method should only be called at the start of a client session lifecycle and should only be called once.
| |
| shouldUseSharedCache | back to summary |
|---|---|
| public boolean shouldUseSharedCache() | |
| shouldUseSharedEMF | back to summary |
|---|---|
| public boolean shouldUseSharedEMF() | |
| updateTable | back to summary |
|---|---|
| protected DatabaseTable updateTable(DatabaseTable table) Overrides org. Doc from org. INTERNAL: This method will update the table by cloning it and setting a new name on it. The table association will be stored here as well for ease of future look up.
| |