Refine search
/** * Declare the explicit parameters to be used in the query. * This implementation always throws a NucleusUserException since this concept doesn't apply to SQL queries. * @param parameters the parameters separated by semicolons. * @exception NucleusUserException Always thrown. */ public void declareExplicitParameters(String parameters) { throw new NucleusUserException(Localiser.msg("059016")); }
/** * Set the import statements to be used to identify the fully qualified name of variables or parameters. * This implementation always throws a NucleusUserException since this concept doesn't apply to SQL queries. * @param imports import statements separated by semicolons. * @exception NucleusUserException Always thrown. */ public void declareImports(String imports) { throw new NucleusUserException(Localiser.msg("059026")); }
/** * Method to throw an exception if the query is currently not modifiable. * @throws NucleusUserException Thrown when it is unmodifiable */ protected void assertIsModifiable() { if (unmodifiable) { throw new NucleusUserException(Localiser.msg("021014")); } }
/** * Set the candidate Extent to query. * This implementation always throws a NucleusUserException since this concept doesn't apply to SQL queries. * @param pcs the Candidate Extent. * @throws NucleusUserException Always thrown since method not applicable */ public void setCandidates(Extent pcs) { throw new NucleusUserException(Localiser.msg("059004")); }
/** * Set the candidate Collection to query. * This implementation always throws a NucleusUserException since this concept doesn't apply to SQL queries. * @param pcs the Candidate collection. * @throws NucleusUserException Always thrown since method not applicable */ public void setCandidates(Collection pcs) { throw new NucleusUserException(Localiser.msg("059005")); }
/** * Set the filter for the query. Not applicable for SQL. * This implementation always throws a NucleusUserException since this concept doesn't apply to SQL queries. * @param filter the query filter. * @throws NucleusUserException Always thrown since method not applicable */ public void setFilter(String filter) { throw new NucleusUserException(Localiser.msg("059008")); }
/** * Set the grouping specification for the result Collection. * This implementation always throws a NucleusUserException since this concept doesn't apply to SQL queries. * @param grouping the grouping specification. * @throws NucleusUserException Always thrown. */ public void setGrouping(String grouping) { throw new NucleusUserException(Localiser.msg("059010")); }
/** * Declare the unbound variables to be used in the query. * This implementation always throws a NucleusUserException since this concept doesn't apply to SQL queries. * @param variables the variables separated by semicolons. * @throws NucleusUserException Always thrown since method not applicable */ public void declareExplicitVariables(String variables) { throw new NucleusUserException(Localiser.msg("059009")); }
/** * Set the ordering specification for the result Collection. * This implementation always throws a NucleusUserException since this concept doesn't apply to SQL queries. * @param ordering the ordering specification. * @throws NucleusUserException Always thrown. */ public void setOrdering(String ordering) { throw new NucleusUserException(Localiser.msg("059011")); }
/** * Execute the query to delete persistent objects. * @param parameters the Map containing all of the parameters. * @return the filtered QueryResult of the deleted objects. */ protected long performDeletePersistentAll(Map parameters) { throw new NucleusUserException(Localiser.msg("059000")); }
/** * Method to set whether to use subclasses. Not applicable for SQL. * This implementation always throws a NucleusUserException since this concept doesn't apply to SQL queries. * @param subclasses Whether to use subclasses * @throws NucleusUserException Always thrown. */ public void setSubclasses(boolean subclasses) { throw new NucleusUserException(Localiser.msg("059004")); }
/** * Set the range of the results. Not applicable for SQL. * This implementation always throws a NucleusUserException since this concept doesn't apply to SQL queries. * @param fromIncl From element no (inclusive) to return * @param toExcl To element no (exclusive) to return * @throws NucleusUserException Always thrown. */ public void setRange(int fromIncl, int toExcl) { throw new NucleusUserException(Localiser.msg("059007")); }
/** * Method to transition to write-field state. * @param sm StateManager. * @return new LifeCycle state. **/ public LifeCycleState transitionWriteField(StateManager sm) { throw new NucleusUserException(LOCALISER.msg("027006"), sm.getInternalObjectId()); }
/** * Method to transition to write-field state. * @param sm StateManager. * @return new LifeCycle state. **/ public LifeCycleState transitionWriteField(StateManager sm) { throw new NucleusUserException(LOCALISER.msg("027010"),sm.getInternalObjectId()); }
/** * Method to transition to non-transactional. * @param sm StateManager. * @return new LifeCycle state. */ public LifeCycleState transitionMakeNontransactional(StateManager sm) { throw new NucleusUserException(LOCALISER.msg("027007"),sm.getInternalObjectId()); }
/** * Method to transition to transient. * @param sm StateManager. * @param useFetchPlan to make transient the fields in the fetch plan * @return new LifeCycle state. */ public LifeCycleState transitionMakeTransient(StateManager sm, boolean useFetchPlan, boolean detachAllOnCommit) { throw new NucleusUserException(LOCALISER.msg("027008"),sm.getInternalObjectId()); }
/** * Method to transition to nontransactional. * @param op ObjectProvider. * @return new LifeCycle state. **/ public LifeCycleState transitionMakeNontransactional(ObjectProvider op) { throw new NucleusUserException(Localiser.msg("027003"),op.getInternalObjectId()); }
/** * Method to transition to transient. * @param op ObjectProvider. * @param useFetchPlan to make transient the fields in the fetch plan * @return new LifeCycle state. **/ public LifeCycleState transitionMakeTransient(ObjectProvider op, boolean useFetchPlan, boolean detachAllOnCommit) { throw new NucleusUserException(Localiser.msg("027004"),op.getInternalObjectId()); }
public void onParameterMacro(MacroString.ParameterMacro pm) { throw new NucleusUserException(Localiser.msg("057033", cmd.getFullClassName(), pm)); } }, clr
/** * Method to transition to nontransactional. * @param sm StateManager. * @return new LifeCycle state. */ public LifeCycleState transitionMakeNontransactional(StateManager sm) { throw new NucleusUserException(LOCALISER.msg("027013"), sm.getInternalObjectId()); }