/** * Called when the singleton is destroyed. Perform all cleanup in this method. * * @throws Exception * If something goes wrong */ @OverrideOnDemand protected void onDestroy () throws Exception {}
/** * Base interface for an abstract writable resource. * * @author Philip Helger */ @MustImplementEqualsAndHashcode public interface IWritableResource extends IOutputStreamAndWriterProvider, IResourceBase { // Change return type @Nonnull IWritableResource getWritableCloneForPath (@Nonnull String sPath); }
@IsSPIInterface public interface IFacebookObjectProvider { @Nullable Map <EOpenGraphObjectProperty, String> getObject (); /** * @return A positive integer (default=0) where a higher number represent a * more specific object */ int getSpecifity (); }
/** * @return The attribute name that contains the meta element content. May * neither be <code>null</code> nor empty */ @Nonnull @Nonempty @OverrideOnDemand protected String getNodeContentAttribute () { return CHTMLAttributes.CONTENT; }
/** * Create an object of the desired type. * * @param aParameter * The parameter required to create the object. May be * <code>null</code> depending on the implementation. * @return The created object. May be <code>null</code> depending on the * implementation. */ @DevelopersNote ("No @Nullable annotation as we can make no assumptions on the state") DATATYPE create (PARAMTYPE aParameter); }
@Override @Nonnull @Nonempty @OverrideOnDemand protected String getNodeNameAttribute () { return "property"; } }
/** * Called after the label cell was altered */ @OverrideOnDemand protected void onLabelModified () {}
@MustImplementEqualsAndHashcode public interface ICSSPathProviderWithDependencies extends ICSSPathProvider, IHasDependencies <ICSSPathProvider> { /* empty */ }
@DevelopersNote ("Works only for tbody rows!") public HCRow () { this (false); }
/** * Called after the control cell was altered */ @OverrideOnDemand protected void onCtrlsModified () {}
/** * Base marker interface for all ID factories. It's only sense is to group all * ID factories with the different types * * @author Philip Helger */ @MustImplementEqualsAndHashcode public interface IBaseIDFactory { /* empty */ }
@DevelopersNote ("Do not use for pDAF3 - missing CSS information. Use HCP3Button instead!") public class HCLinkButton extends AbstractHCButton <HCLinkButton> { public HCLinkButton (final String sLabel, @Nonnull final ISimpleURL aURL) { super (sLabel, JSHtml.windowLocationHref (aURL)); } public HCLinkButton (final String sLabel, final IJSStatement aJS) { super (sLabel, aJS); } }
@OverrideOnDemand protected boolean isEmailMandatory () { return true; }
/** * Base interface for an abstract resource that is both readable and writable. * * @author Philip Helger */ @MustImplementEqualsAndHashcode public interface IReadWriteResource extends IReadableResource, IWritableResource { /* empty */ }
/** * Create the root object. May be called only once. * * @return The root object. May be <code>null</code> depending on the * implementation. */ @DevelopersNote ("No @Nullable annotation as we can make no assumptions on the state") DATATYPE createRoot (); }
@OverrideOnDemand public boolean hasChildren () { return false; }
/** * Interface for an object creating unique String IDs. * * @author Philip Helger */ @MustImplementEqualsAndHashcode public interface IStringIDFactory extends IIDFactory <String> { /* empty */ }
/** * Create an object of the desired type. * * @param aParent * The parent item to use. May never be <code>null</code>. * @return The created object. */ @DevelopersNote ("No @Nullable annotation as we can make no assumptions on the state") DATATYPE create (DATATYPE aParent); }
@OverrideOnDemand protected boolean isLastNameMandatory () { return true; }
/** * Check if the given value matches the filter or not. * * @param aValue * The object to filter. May be <code>null</code> depending on the * implementation. * @return <code>true</code> if the object match the filter, * <code>false</code> otherwise. */ @DevelopersNote ("No @Nullable annotation as we can make no assumptions on the state") boolean matchesFilter (DATATYPE aValue); }